Newer
Older
- project: shore/ci-stuff
file: templates/docker.yml
- project: shore/ci-stuff
file: templates/terraform.yml
default:
before_script:
- apt-get update
- apt-get install -y terraform
AWS Terraform plan:
extends: .tf_plan
stage: test
variables: &aws_tf_vars
TF_ROOT: Terraform/AWS
rules: &tf_rules
- changes:
- $TF_ROOT/*
- $TF_ROOT/**/*
AWS Terraform apply:
extends: .tf_apply
stage: deploy
needs:
- job: AWS Terraform plan
artifacts: true
variables: *aws_tf_vars
web-proxy kodi build:
extends: .compose-build
tags: ["kodi.shore.co.il"]
variables:
WORKDIR: Compose/web-proxy/kodi
rules: &compose-rules
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_PIPELINE_SOURCE == "push"
changes:
- $WORKDIR/*
- $WORKDIR/**/*
web-proxy kodi pull:
extends: .compose-pull
tags: ["kodi.shore.co.il"]
variables:
WORKDIR: Compose/web-proxy/kodi
web-proxy kodi run:
extends: .compose-run
tags: ["kodi.shore.co.il"]
variables:
WORKDIR: Compose/web-proxy/kodi
when: manual
rules: *compose-rules
web-proxy ns4 build:
extends: .compose-build
tags: ["ns4.shore.co.il"]
variables:
WORKDIR: Compose/web-proxy/ns4
web-proxy ns4 pull:
extends: .compose-pull
tags: ["ns4.shore.co.il"]
variables:
WORKDIR: Compose/web-proxy/ns4
web-proxy ns4 run:
extends: .compose-run
tags: ["ns4.shore.co.il"]
variables:
WORKDIR: Compose/web-proxy/ns4
when: manual
rules: *compose-rules
web-proxy host01 build:
extends: .compose-build
tags: ["host01.shore.co.il"]
variables:
WORKDIR: Compose/web-proxy/host01
web-proxy host01 pull:
extends: .compose-pull
tags: ["host01.shore.co.il"]
variables:
WORKDIR: Compose/web-proxy/host01
web-proxy host01 run:
extends: .compose-run
tags: ["host01.shore.co.il"]
variables:
WORKDIR: Compose/web-proxy/host01
when: manual