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

Common, selective jobs based on the branch.

To have a common .gitlab-ci.yml.
parent 426ddf7f
No related branches found
No related tags found
No related merge requests found
Pipeline #583 passed
......@@ -10,15 +10,41 @@ stages:
- build
- deploy
build:
# 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
run-ns4:
extends: .compose-run
tags: [ns4.shore.co.il]
only:
- ns4
build-host01:
extends: .compose-build
tags: ["${CI_COMMIT_BRANCH}.shore.co.il"]
except:
- master
tags: [host01.shore.co.il]
only:
- host01
run-host01:
extends: .compose-run
tags: [host01.shore.co.il]
only:
- host01
build-kodi:
extends: .compose-build
tags: [kodi.shore.co.il]
only:
- kodi
run:
run-kodi:
extends: .compose-run
tags: ["${CI_COMMIT_BRANCH}.shore.co.il"]
except:
- master
tags: [kodi.shore.co.il]
only:
- kodi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment