Skip to content
Snippets Groups Projects
Commit 49a82ef3 authored by nimrod's avatar nimrod
Browse files

Use the new dynamic variables in tags.

parent 456f9fcd
No related branches found
No related tags found
No related merge requests found
......@@ -10,59 +10,22 @@ stages:
- build
- deploy
# FIXME: Remove duplicate jobs once
# https://gitlab.com/gitlab-org/gitlab/-/issues/35742 is resolved.
build-ns4:
extends: .compose-build
tags: [ns4.shore.co.il]
only:
- ns4
pull-ns4:
extends: .compose-pull
tags: [ns4.shore.co.il]
only:
- ns4
run-ns4:
extends: .compose-run
tags: [ns4.shore.co.il]
only:
- ns4
build-host01:
extends: .compose-build
tags: [host01.shore.co.il]
only:
- host01
pull-host01:
extends: .compose-pull
tags: [host01.shore.co.il]
only:
- host01
run-host01:
extends: .compose-run
tags: [host01.shore.co.il]
only:
- host01
build-kodi:
build:
extends: .compose-build
tags: [kodi.shore.co.il]
only:
- kodi
tags: ["$CI_COMMIT_BRANCH.shore.co.il"]
rules:
# yamllint disable-line rule:line-length
- if: &if $CI_COMMIT_BRANCH == "host01" || $CI_COMMIT_BRANCH == "ns4" || $CI_COMMIT_BRANCH == "kodi"
pull-kodi:
pull:
extends: .compose-pull
tags: [kodi.shore.co.il]
only:
- kodi
tags: ["$CI_COMMIT_BRANCH.shore.co.il"]
rules:
- if: *if
run-kodi:
run:
extends: .compose-run
tags: [kodi.shore.co.il]
only:
- kodi
tags: ["$CI_COMMIT_BRANCH.shore.co.il"]
rules:
- if: *if
when: manual
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment