Skip to content
.gitlab-ci.yml 628 B
Newer Older
nimrod's avatar
nimrod committed
---
nimrod's avatar
nimrod committed
include:
nimrod's avatar
nimrod committed
  - project: shore/ci-stuff
nimrod's avatar
nimrod committed
    file: templates/pre-commit.yml
nimrod's avatar
nimrod committed
  - project: shore/ci-stuff
nimrod's avatar
nimrod committed
    file: templates/docker.yml

stages:
  - test
  - build
  - deploy

  extends: .compose-build
  tags: ["$CI_COMMIT_BRANCH.shore.co.il"]
  rules:
    # yamllint disable-line rule:line-length
nimrod's avatar
nimrod committed
    - if: &if $CI_COMMIT_BRANCH == "host01" || $CI_COMMIT_BRANCH == "ns4" || $CI_COMMIT_BRANCH
        == "kodi"
nimrod's avatar
nimrod committed

nimrod's avatar
nimrod committed
  extends: .compose-pull
  tags: ["$CI_COMMIT_BRANCH.shore.co.il"]
  rules:
    - if: *if
nimrod's avatar
nimrod committed
  extends: .compose-run
  tags: ["$CI_COMMIT_BRANCH.shore.co.il"]
  rules:
    - if: *if
      when: manual