From d2c68182bd0a118a71f392ab8afaac132741836b Mon Sep 17 00:00:00 2001 From: Jorge Poveda <jorge.poveda@tecnalia.com> Date: Mon, 14 Oct 2024 10:18:40 +0200 Subject: [PATCH] Add jazzy templates --- ci-templates/auto-rules/jazzy-default.yml | 4 ++++ ci-templates/auto-rules/no-default.yml | 15 +++++++++++++++ .../auto-rules/with-rosinstall/jazzy-default.yml | 4 ++++ 3 files changed, 23 insertions(+) create mode 100644 ci-templates/auto-rules/jazzy-default.yml create mode 100644 ci-templates/auto-rules/with-rosinstall/jazzy-default.yml diff --git a/ci-templates/auto-rules/jazzy-default.yml b/ci-templates/auto-rules/jazzy-default.yml new file mode 100644 index 0000000..1b87c83 --- /dev/null +++ b/ci-templates/auto-rules/jazzy-default.yml @@ -0,0 +1,4 @@ +include: ci-templates/auto-rules/no-default.yml + +variables: + DEFAULT_DISTRO: jazzy diff --git a/ci-templates/auto-rules/no-default.yml b/ci-templates/auto-rules/no-default.yml index 4d90ee1..2bef990 100644 --- a/ci-templates/auto-rules/no-default.yml +++ b/ci-templates/auto-rules/no-default.yml @@ -14,6 +14,9 @@ workflow: - if: $CI_COMMIT_REF_NAME =~ /^humble-.*/ variables: DEFAULT_DISTRO: "humble" + - if: $CI_COMMIT_REF_NAME =~ /^jazzy-.*/ + variables: + DEFAULT_DISTRO: "jazzy" - if: $CI_COMMIT_TAG - if: $CI_COMMIT_BRANCH @@ -49,6 +52,14 @@ industrial_ci_humble: - if: $DEFAULT_DISTRO == "humble" - if: $BUILD_HUMBLE +industrial_ci_jazzy: + extends: .industrial_ci + variables: + ROS_DISTRO: jazzy + rules: + - if: $DEFAULT_DISTRO == "jazzy" + - if: $BUILD_JAZZY + .py3_rules: rules: - if: $DEFAULT_DISTRO == "noetic" @@ -59,6 +70,10 @@ industrial_ci_humble: when: always - if: $BUILD_HUMBLE when: always + - if: $DEFAULT_DISTRO == "jazzy" + when: always + - if: $BUILD_JAZZY + when: always py3-flake8: extends: diff --git a/ci-templates/auto-rules/with-rosinstall/jazzy-default.yml b/ci-templates/auto-rules/with-rosinstall/jazzy-default.yml new file mode 100644 index 0000000..d60df2e --- /dev/null +++ b/ci-templates/auto-rules/with-rosinstall/jazzy-default.yml @@ -0,0 +1,4 @@ +include: ci-templates/auto-rules/with-rosinstall/no-default.yml + +variables: + DEFAULT_DISTRO: jazzy -- GitLab