Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1000 B
Newer Older
stages:
  - build image
  - test image
  - build chart
  - deploy
variables:
  DOCKER_TLS_CERTDIR: "/certs"
  DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client"
  DOCKER_TLS_VERIFY: 1
  DOCKER_HOST: "tcp://docker:2376"
  DOCKER_DRIVER: overlay2

include:
  - project: 'cspp_geo/geosphere/geosphere-deploy'
    file: '/helpers/docker_base.yaml'
  - project: 'cspp_geo/geosphere/geosphere-deploy'
    file: '/helpers/build_image.yaml'
  - project: 'cspp_geo/geosphere/geosphere-deploy'
    file: '/helpers/helm_base.yaml'
  - project: 'cspp_geo/geosphere/geosphere-deploy'
    file: '/helpers/build_chart.yaml'

build_image_mapserver:
  extends: .build_image
  variables:
    IMAGE_NAME: "geosphere-mapserver"
    IMAGE_DIR: "mapserver"
    TEST_SCRIPTS: "ci/test_mapserver_image.sh"
  extends: .build_chart
  variables:
    CHART_NAME: "geosphere-mapserver"
deploy_application:
  stage: deploy
  trigger:
    project: cspp_geo/geosphere/geosphere-deploy
    strategy: depend