mirror of
https://gitgud.io/Stardust3D/rjw-plasticsurgeries.git
synced 2024-08-14 23:57:25 +00:00
testing CI
This commit is contained in:
parent
7ddb102dee
commit
3bdd259bec
1 changed files with 2 additions and 5 deletions
|
@ -1,19 +1,16 @@
|
||||||
image: "alpine"
|
image: "alpine"
|
||||||
|
|
||||||
stages:
|
|
||||||
- build
|
|
||||||
variables:
|
variables:
|
||||||
EXPORT_NAME: rjw-plasticsurgeries
|
EXPORT_NAME: rjw-plasticsurgeries
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
|
||||||
script:
|
script:
|
||||||
- apk --no-cache add zip curl
|
- apk --no-cache add zip curl
|
||||||
- mkdir -p ../rjw-plasticsurgeries.tmp
|
- mkdir -p ../rjw-plasticsurgeries.tmp
|
||||||
- cp -R ./* ../rjw-plasticsurgeries.tmp
|
- cp -R ./* ../rjw-plasticsurgeries.tmp
|
||||||
- mv ../rjw-plasticsurgeries.tmp ./rjw-plasticsurgeries; rm ./rjw-plasticsurgeries/CI_SERVER_TLS_CA_FILE; rm -r ./rjw-plasticsurgeries/git-template
|
- mv ../rjw-plasticsurgeries.tmp ./rjw-plasticsurgeries; rm ./rjw-plasticsurgeries/CI_SERVER_TLS_CA_FILE; rm -r ./rjw-plasticsurgeries/git-template
|
||||||
- zip -q "rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA.zip" ./rjw-plasticsurgeries
|
- zip -9 -r -q "rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA.zip" rjw-plasticsurgeries
|
||||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ./rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA.zip "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/zip/rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA.zip"'
|
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ./rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA.zip "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/develop/develop/rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA.zip"'
|
||||||
artifacts:
|
artifacts:
|
||||||
name: rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA
|
name: rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue