Skip to content
Snippets Groups Projects
Commit 16198fe5 authored by Jon Azpiazu's avatar Jon Azpiazu
Browse files

Try to rewrite only/except using rules

parent 8f968aa8
No related branches found
No related tags found
No related merge requests found
Pipeline #48124 failed
...@@ -40,19 +40,23 @@ industrial_ci_kinetic: ...@@ -40,19 +40,23 @@ industrial_ci_kinetic:
variables: variables:
ROS_DISTRO: kinetic ROS_DISTRO: kinetic
DOCKER_IMAGE: "${ARTIFACT_DOCKER_URL}/flexbotics-base-devel:${ROS_DISTRO}" DOCKER_IMAGE: "${ARTIFACT_DOCKER_URL}/flexbotics-base-devel:${ROS_DISTRO}"
except: rules:
- tags - if: '$CI_COMMIT_REF_NAME =~ /^melodic-.*/'
- /^melodic-.*/ when: never
- if: $CI_COMMIT_TAG
when: never
when: always
industrial_ci_melodic: industrial_ci_melodic:
extends: .industrial_ci extends: .industrial_ci
variables: variables:
ROS_DISTRO: melodic ROS_DISTRO: melodic
DOCKER_IMAGE: "${ARTIFACT_DOCKER_URL}/flexbotics-base-devel:${ROS_DISTRO}" DOCKER_IMAGE: "${ARTIFACT_DOCKER_URL}/flexbotics-base-devel:${ROS_DISTRO}"
only: rules:
- /^melodic-.*/ - if: '$CI_COMMIT_REF_NAME =~ /^melodic-.*/'
except: when: always
- tags - if: $CI_COMMIT_TAG
when: never
industrial_ci_kinetic_deploy: industrial_ci_kinetic_deploy:
extends: .industrial_ci extends: .industrial_ci
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment