Something went wrong on our end
-
David Hoese authoredDavid Hoese authored
.gitlab-ci.yml 5.34 KiB
stages:
- get chart
- build prereqs
- create storage
- test
- deploy rabbit
- deploy GRB
- deploy G2G
- deploy tile gen
- deploy WMS
- deploy WMTS
- deploy Client
variables:
DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: "tcp://localhost:2375"
DOCKER_DRIVER: overlay2
HELM_EXPERIMENTAL_OCI: "1"
CICHART_IMAGE: "$CI_REGISTRY_IMAGE/cichart:latest"
include:
- local: "/helpers/build_image.yaml"
- local: "/helpers/docker_base.yaml"
- local: "/helpers/helm_base.yaml"
- local: "/helpers/get_chart.yaml"
- local: "/ci_geosphere/gitlab-ci.yaml"
- local: "/ci_geosphere-test/gitlab-ci.yaml"
- local: "/ci_gcp/gitlab-ci.yaml"
build ci:
stage: .pre
extends: .docker_based_job
script:
- cd cichart
- docker build --tag $CICHART_IMAGE .
- docker push $CICHART_IMAGE
rules:
# no need to build if another project triggered us
- if: $CI_PIPELINE_SOURCE == "pipeline"
when: never
# no need to build with tags or non-master...probably
- if: '$CI_COMMIT_BRANCH != "master"'
when: never
- changes:
- cichart/Dockerfile
when: always
- if: $BUILD_CI_IMAGE
when: always
build sidecar rabbit init:
stage: build prereqs
extends: .build_image
variables:
IMAGE_NAME: cspp-geo-rabbit-init
IMAGE_DIR: sidecars/cspp-geo-rabbit-init
rules:
# no need to build if another project triggered us
- if: $CI_PIPELINE_SOURCE == "pipeline"
when: never
# no need to build with tags or non-master...probably
- if: '$CI_COMMIT_BRANCH != "master"'
when: never
- changes:
- sidecars/cspp-geo-rabbit-init/Dockerfile
- sidecars/cspp-geo-rabbit-init/declare_exchange.py
when: always
- if: $BUILD_PREREQS
when: always