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"
|
||||
|
||||
stages:
|
||||
- build
|
||||
variables:
|
||||
EXPORT_NAME: rjw-plasticsurgeries
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- apk --no-cache add zip curl
|
||||
- mkdir -p ../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
|
||||
- zip -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"'
|
||||
- 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/develop/develop/rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA.zip"'
|
||||
artifacts:
|
||||
name: rjw-plasticsurgeries-$CI_COMMIT_SHORT_SHA
|
||||
paths:
|
||||
|
|
Loading…
Reference in a new issue