Skip to content
Snippets Groups Projects

Resolve "Update deprecated deploy job"

Merged Iñigo Moreno i Caireta requested to merge 38-update-deprecated-deploy-job into master
Compare and Show latest version
4 files
+ 41
65
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -2,33 +2,18 @@ include: ci-templates/core.yml
workflow:
rules:
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_REF_NAME =~ /^kinetic-.*/
- if: $CI_COMMIT_REF_NAME =~ /^kinetic-.*/
variables:
DEFAULT_DISTRO: "kinetic"
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_REF_NAME =~ /^melodic-.*/
- if: $CI_COMMIT_REF_NAME =~ /^melodic-.*/
variables:
DEFAULT_DISTRO: "melodic"
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_REF_NAME =~ /^noetic-.*/
- if: $CI_COMMIT_REF_NAME =~ /^noetic-.*/
variables:
DEFAULT_DISTRO: "noetic"
- if: $CI_COMMIT_TAG && $CI_COMMIT_REF_NAME =~ /^kinetic-.*/
variables:
DEFAULT_DISTRO: "kinetic"
DEPLOY: "true"
- if: $CI_COMMIT_TAG && $CI_COMMIT_REF_NAME =~ /^melodic-.*/
variables:
DEFAULT_DISTRO: "melodic"
DEPLOY: "true"
- if: $CI_COMMIT_TAG && $CI_COMMIT_REF_NAME =~ /^noetic-.*/
variables:
DEFAULT_DISTRO: "noetic"
DEPLOY: "true"
- if: $CI_COMMIT_TAG
variables:
DEPLOY: "true"
- if: $CI_COMMIT_BRANCH
industrial_ci_kinetic:
extends: .industrial_ci
variables:
@@ -53,33 +38,14 @@ industrial_ci_noetic:
- if: $DEFAULT_DISTRO == "noetic"
- if: $BUILD_NOETIC
ddeploy_kinetic:
ddeploy:
extends: .ddeploy
rules:
- if: $DEPLOY && $DEFAULT_DISTRO == "kinetic"
exists:
- ddeploy.yaml
- if: $DEPLOY && $BUILD_KINETIC
exists:
- ddeploy.yaml
ddeploy_melodic:
extends: .ddeploy
rules:
- if: $DEPLOY && $DEFAULT_DISTRO == "melodic"
exists:
- ddeploy.yaml
- if: $DEPLOY && $BUILD_MELODIC
exists:
- ddeploy.yaml
ddeploy_noetic:
extends: .ddeploy
rules:
- if: $DEPLOY && $DEFAULT_DISTRO == "noetic"
- if: $CI_COMMIT_TAG
exists:
- ddeploy.yaml
- if: $DEPLOY && $BUILD_NOETIC
exists:
when: always
- exists:
- ddeploy.yaml
when: manual
allow_failure: true
Loading