Skip to content
Snippets Groups Projects
Commit 0e947ebe authored by Iñigo Moreno i Caireta's avatar Iñigo Moreno i Caireta
Browse files

Make deploy jobs only when ddeploy.yaml exists

parent 1d9e4909
No related branches found
No related tags found
1 merge request!70Resolve "Update deprecated deploy job"
Pipeline #58087 passed
......@@ -56,24 +56,24 @@ industrial_ci_noetic:
industrial_kinetic_deploy:
extends: .ddeploy
variables:
ROS_DISTRO: kinetic
rules:
- if: $DEPLOY && $DEFAULT_DISTRO == "kinetic"
exists: ddeploy.yaml
- if: $DEPLOY && $BUILD_KINETIC
exists: ddeploy.yaml
industrial_melodic_deploy:
extends: .ddeploy
variables:
ROS_DISTRO: melodic
rules:
- if: $DEPLOY && $DEFAULT_DISTRO == "melodic"
exists: ddeploy.yaml
- if: $DEPLOY && $BUILD_MELODIC
exists: ddeploy.yaml
industrial_noetic_deploy:
extends: .ddeploy
variables:
ROS_DISTRO: noetic
rules:
- if: $DEPLOY && $DEFAULT_DISTRO == "noetic"
exists: ddeploy.yaml
- if: $DEPLOY && $BUILD_NOETIC
exists: ddeploy.yaml
......@@ -20,6 +20,7 @@
DOCKER_PUSH_REGISTRY: ${ARTIFACT_DOCKER_URL}
DOCKER_PUSH_NAME: ${CI_PROJECT_NAME}
DOCKER_PUSH_TAG: ${CI_COMMIT_REF_SLUG}
DDEPLOY_YAML: ddeploy.yaml
before_script:
- docker info
- apk add --update python3 git py3-pip git-lfs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment