From dff85477160800cb34565155e0ee619e72766dde Mon Sep 17 00:00:00 2001 From: "Benguria Elguezabal, Gorka" <gorka.benguria@tecnalia.com> Date: Fri, 10 May 2024 13:03:28 +0200 Subject: [PATCH] adds runner tag support --- templates/gitlab-ci-bash.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/gitlab-ci-bash.yml b/templates/gitlab-ci-bash.yml index 89a0650..b83d7be 100644 --- a/templates/gitlab-ci-bash.yml +++ b/templates/gitlab-ci-bash.yml @@ -49,6 +49,11 @@ spec: Example: `bats-support@https://github.com/bats-core/bats-support/archive/v0.3.0.zip bats-assert@https://github.com/bats-core/bats-assert/archive/v2.0.0.zip` default: '' + bash-shellcheck-job-tags: + description: tags to filter applicable runners for bash-shellcheck job + type: array + default: [] + --- # default workflow rules: Merge Request pipelines workflow: @@ -308,6 +313,7 @@ bash-shellcheck: - if: '$BASH_SHELLCHECK_DISABLED == "true"' when: never - !reference [.test-policy, rules] + tags: [[ inputs.bash-shellcheck-job-tags ]] bash-bats: extends: .bash-base -- GitLab