Skip to content
Snippets Groups Projects
Verified Commit 2e3bb86d authored by David Hoese's avatar David Hoese
Browse files

Add mapserver deployment

parent 655e7351
No related branches found
No related tags found
No related merge requests found
...@@ -121,6 +121,11 @@ get_chart_geo2grid: ...@@ -121,6 +121,11 @@ get_chart_geo2grid:
SUBCOMP_REPOS: "geosphere-geo2grid" SUBCOMP_REPOS: "geosphere-geo2grid"
SUBCOMP_CHART_DIR: "cspp-geo-geo2grid" SUBCOMP_CHART_DIR: "cspp-geo-geo2grid"
get_chart_mapserver:
extends: .get_chart_tmpl
variables:
SUBCOMP_REPOS: "geosphere-mapserver"
SUBCOMP_CHART_DIR: "geosphere-mapserver"
deploy_prod_rabbit: deploy_prod_rabbit:
environment: environment:
...@@ -211,3 +216,28 @@ deploy_geo2grid_g16_radf: ...@@ -211,3 +216,28 @@ deploy_geo2grid_g16_radf:
- if: '$kubekorner_k3s_config == ""' - if: '$kubekorner_k3s_config == ""'
when: never when: never
- when: on_success - when: on_success
deploy_mapserver:
environment:
name: production
url: http://geosphere.ssec.wisc.edu
extends: .helm_based_job
stage: deploy MapServer
script:
- ns=$(./helpers/get_namespace.sh)
- cd geosphere-mapserver/chart
- source geosphere-mapserver/cibuild.env
# copy secret kubeconfig to the mounted (pwd) directory
- cp $kubekorner_k3s_config .
- kubeconfig=$(basename $kubekorner_k3s_config)
- echo "Deploying version $docker_tag to cluster namespace $ns"
# copy extra values files to the local directory (where helm has access via docker mount)
- cp ../../production/values-mapserver.yaml .
# namespace names are the same as domain names
- helm upgrade -v 2 --install --kubeconfig $kubeconfig --namespace $ns -f values-mapserver.yaml geosphere-mapserver geosphere-mapserver/
dependencies:
- get_chart_mapserver
rules:
- if: '$kubekorner_k3s_config == ""'
when: never
- when: on_success
rabbitIn:
host: "geosphere-rabbit-rabbitmq"
username: "user"
passwordSecret: "geosphere-rabbit-rabbitmq"
topic: "data.goes.g16.abi.radf.l1b.geotiff.all.complete"
rabbitOut:
host: "geosphere-rabbit-rabbitmq"
username: "user"
passwordSecret: "geosphere-rabbit-rabbitmq"
source:
# s3Endpoint: "http://geosphere-minio:9000"
existingClaim: "cspp-geo-geo2grid"
ingress:
enabled: true
annotations:
ingress.kubernetes.io/rewrite-target: "/"
hosts:
- host: geosphere-test.ssec.wisc.edu
paths: ["/wms"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment