Fix Gitlab-ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
51b5108639
commit
a9199dc20d
|
@ -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: |
|
||||||
|
|
Loading…
Reference in a new issue