From ccce64d6cb92c72af40aaaec6d729873f19a67ad Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 10 Nov 2021 16:38:42 +0100 Subject: [PATCH] Update arm/arm64 packages as well Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c8f9abea..ca01f5b38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -313,21 +313,27 @@ multi-arch-release: when: never - if: '$CI_PIPELINE_SOURCE == "schedule"' - if: $CI_COMMIT_TAG + timeout: 3h # Release release-upload: stage: upload image: framasoft/yakforms-assets-deploy:latest + variables: + APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}.tar.gz" rules: *tag-rules script: - eval `ssh-agent -s` - 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: expire_in: 1 day when: on_success paths: - mobilizon_*.tar.gz + parallel: + matrix: + - ARCH: ["amd64", "arm", "arm64"] release-create: stage: deploy