Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geosphere-deploy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
geosphere
geosphere-deploy
Commits
2e3bb86d
Verified
Commit
2e3bb86d
authored
4 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Add mapserver deployment
parent
655e7351
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+30
-0
30 additions, 0 deletions
.gitlab-ci.yml
production/values-mapserver.yaml
+19
-0
19 additions, 0 deletions
production/values-mapserver.yaml
with
49 additions
and
0 deletions
.gitlab-ci.yml
+
30
−
0
View file @
2e3bb86d
...
@@ -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
This diff is collapsed.
Click to expand it.
production/values-mapserver.yaml
0 → 100644
+
19
−
0
View file @
2e3bb86d
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment