mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
ci: render
Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/1080641979
This commit is contained in:
parent
d8b2d168be
commit
f5159ad1df
1 changed files with 16 additions and 2 deletions
|
|
@ -2,7 +2,14 @@
|
||||||
image: registry.durp.info/octopusdeploy/octo:latest
|
image: registry.durp.info/octopusdeploy/octo:latest
|
||||||
script:
|
script:
|
||||||
# Begin of pack.sh
|
# Begin of pack.sh
|
||||||
- "#Package with octopus\nmkdir $CI_PROJECT_DIR/packages\nIFS=\";\"\ncount=0\nfor i in $projectname; \n do dotnet /octo/octo.dll pack --id=$i --version=$VERSION --outFolder=$CI_PROJECT_DIR/packages --basePath=$WORKDIR/$i;\n count=$(($count+1));\n done\n"
|
- |
|
||||||
|
#Package with octopus
|
||||||
|
mkdir $CI_PROJECT_DIR/packages
|
||||||
|
for dir in ./output/*/;
|
||||||
|
do dir=${dir%#/};
|
||||||
|
dir=${dir##*/};
|
||||||
|
dotnet /octo/octo.dll pack --id=$dir --version=$VERSION --outFolder=$CI_PROJECT_DIR/packages --basePath=$CI_PROJECT_DIR/output/$dir;
|
||||||
|
done
|
||||||
# End of pack.sh
|
# End of pack.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|
@ -11,5 +18,12 @@
|
||||||
image: registry.durp.info/octopusdeploy/octo:latest
|
image: registry.durp.info/octopusdeploy/octo:latest
|
||||||
script:
|
script:
|
||||||
# Begin of pack.sh
|
# Begin of pack.sh
|
||||||
- "#Package with octopus\nmkdir $CI_PROJECT_DIR/packages\nIFS=\";\"\ncount=0\nfor i in $projectname; \n do dotnet /octo/octo.dll pack --id=$i --version=$VERSION --outFolder=$CI_PROJECT_DIR/packages --basePath=$WORKDIR/$i;\n count=$(($count+1));\n done\n"
|
- |
|
||||||
|
#Package with octopus
|
||||||
|
mkdir $CI_PROJECT_DIR/packages
|
||||||
|
for dir in ./output/*/;
|
||||||
|
do dir=${dir%#/};
|
||||||
|
dir=${dir##*/};
|
||||||
|
dotnet /octo/octo.dll pack --id=$dir --version=$VERSION --outFolder=$CI_PROJECT_DIR/packages --basePath=$CI_PROJECT_DIR/output/$dir;
|
||||||
|
done
|
||||||
# End of pack.sh
|
# End of pack.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue