Something went wrong on our end
-
David Hoese authoredDavid Hoese authored
.gitlab-ci.yml 5.42 KiB
stages:
- get chart
- build prereqs
- test
- create storage
- 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"
GEOSPHERE_TAG_REGEX: "^r[0-9]+_[0-9]+"
GEOSPHERE_TEST_TAG_REGEX: "^test-r[0-9]+_[0-9]+"
GCP_TAG_REGEX: "^gcp-r[0-9]+_[0-9]+"
# TESTS_BRANCH_REGEX: "^master"
# only run tests for branches in the main repository
TESTS_PROJECT_NAMESPACE: "cspp_geo/geosphere"
GEOSPHERE_NAMESPACE: "geosphere"
GEOSPHERE_TEST_NAMESPACE: "geosphere-test"
GCP_NAMESPACE: "default"
TESTS_NAMESPACE: "geosphere-ci-tests"
include:
- local: "/helpers/build_image.yaml"
- local: "/helpers/docker_base.yaml"
- local: "/helpers/helm_base.yaml"
- local: "/helpers/get_chart.yaml"
- local: "/ci_tests/gitlab-ci.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