1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-23 00:14:48 +00:00

Fix Gitlab-ci

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-21 11:41:45 +02:00
parent 51b5108639
commit a9199dc20d
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -214,7 +214,7 @@ build-docker-master:
build-docker-tag: build-docker-tag:
<<: *docker <<: *docker
rules: rules: &tag-rules
- if: '$CI_PROJECT_NAMESPACE != "framasoft"' - if: '$CI_PROJECT_NAMESPACE != "framasoft"'
when: never when: never
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
@ -253,16 +253,7 @@ package-app-dev:
release-upload: release-upload:
stage: upload stage: upload
image: framasoft/yakforms-assets-deploy:latest image: framasoft/yakforms-assets-deploy:latest
rules: rules: *tag-rules
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
when: never
- if: $CI_COMMIT_TAG
only:
variables:
- $CI_COMMIT_TAG
- $DEPLOYEMENT_KEY
- $DEPLOYEMENT_USER
- $DEPLOYEMENT_HOST
script: script:
- APP_VERSION="${CI_COMMIT_TAG}" - APP_VERSION="${CI_COMMIT_TAG}"
- APP_ASSET="${CI_PROJECT_NAME}_${APP_VERSION}_${ARCH}.tar.gz" - APP_ASSET="${CI_PROJECT_NAME}_${APP_VERSION}_${ARCH}.tar.gz"
@ -283,10 +274,7 @@ release-upload:
release-create: release-create:
stage: deploy stage: deploy
image: registry.gitlab.com/gitlab-org/release-cli:latest image: registry.gitlab.com/gitlab-org/release-cli:latest
rules: rules: *tag-rules
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
when: never
- if: $CI_COMMIT_TAG
before_script: before_script:
- apk --no-cache add awk sed grep - apk --no-cache add awk sed grep
script: | script: |