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
2 files
+ 14
48
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -2,32 +2,15 @@ include: ci-templates/core.yml
@@ -2,32 +2,15 @@ include: ci-templates/core.yml
workflow:
workflow:
rules:
rules:
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_REF_NAME =~ /^kinetic-.*/
- if: $CI_COMMIT_REF_NAME =~ /^kinetic-.*/
variables:
variables:
DEFAULT_DISTRO: "kinetic"
DEFAULT_DISTRO: "kinetic"
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_REF_NAME =~ /^melodic-.*/
- if: $CI_COMMIT_REF_NAME =~ /^melodic-.*/
variables:
variables:
DEFAULT_DISTRO: "melodic"
DEFAULT_DISTRO: "melodic"
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_REF_NAME =~ /^noetic-.*/
- if: $CI_COMMIT_REF_NAME =~ /^noetic-.*/
variables:
variables:
DEFAULT_DISTRO: "noetic"
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:
industrial_ci_kinetic:
extends: .industrial_ci
extends: .industrial_ci
@@ -53,36 +36,14 @@ industrial_ci_noetic:
@@ -53,36 +36,14 @@ industrial_ci_noetic:
- if: $DEFAULT_DISTRO == "noetic"
- if: $DEFAULT_DISTRO == "noetic"
- if: $BUILD_NOETIC
- if: $BUILD_NOETIC
ddeploy:
ddeploy_kinetic:
extends: .ddeploy
rules:
- if: $DEPLOY && ($DEFAULT_DISTRO == "kinetic" || $BUILD_KINETIC)
exists:
- ddeploy.yaml
- if: $DEFAULT_DISTRO == "kinetic" || $BUILD_KINETIC
exists:
- ddeploy.yaml
when: manual
ddeploy_melodic:
extends: .ddeploy
rules:
- if: $DEPLOY && ($DEFAULT_DISTRO == "melodic" || $BUILD_MELODIC)
exists:
- ddeploy.yaml
- if: $DEFAULT_DISTRO == "melodic" || $BUILD_MELODIC
exists:
- ddeploy.yaml
when: manual
ddeploy_noetic:
extends: .ddeploy
extends: .ddeploy
rules:
rules:
- if: $DEPLOY && ($DEFAULT_DISTRO == "noetic" || $BUILD_NOETIC)
- if: $CI_COMMIT_TAG
exists:
exists:
- ddeploy.yaml
- ddeploy.yaml
- if: $DEFAULT_DISTRO == "noetic" || $BUILD_NOETIC
when: always
exists:
- exists:
- ddeploy.yaml
- ddeploy.yaml
when: manual
when: manual
 
allow_failure: true
Loading