Update arm/arm64 packages as well
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
89bbafb44c
commit
ccce64d6cb
|
@ -313,21 +313,27 @@ multi-arch-release:
|
||||||
when: never
|
when: never
|
||||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
|
timeout: 3h
|
||||||
|
|
||||||
# Release
|
# Release
|
||||||
release-upload:
|
release-upload:
|
||||||
stage: upload
|
stage: upload
|
||||||
image: framasoft/yakforms-assets-deploy:latest
|
image: framasoft/yakforms-assets-deploy:latest
|
||||||
|
variables:
|
||||||
|
APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}.tar.gz"
|
||||||
rules: *tag-rules
|
rules: *tag-rules
|
||||||
script:
|
script:
|
||||||
- eval `ssh-agent -s`
|
- eval `ssh-agent -s`
|
||||||
- ssh-add <(echo "${DEPLOYEMENT_KEY}" | base64 --decode -i)
|
- ssh-add <(echo "${DEPLOYEMENT_KEY}" | base64 --decode -i)
|
||||||
- echo "put -r mobilizon_*.tar.gz" | sftp -o "VerifyHostKeyDNS yes" ${DEPLOYEMENT_USER}@${DEPLOYEMENT_HOST}:public/
|
- echo "put -r ${APP_ASSET}" | sftp -o "VerifyHostKeyDNS yes" ${DEPLOYEMENT_USER}@${DEPLOYEMENT_HOST}:public/
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
when: on_success
|
when: on_success
|
||||||
paths:
|
paths:
|
||||||
- mobilizon_*.tar.gz
|
- mobilizon_*.tar.gz
|
||||||
|
parallel:
|
||||||
|
matrix:
|
||||||
|
- ARCH: ["amd64", "arm", "arm64"]
|
||||||
|
|
||||||
release-create:
|
release-create:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
Loading…
Reference in a new issue