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
7961f609
Verified
Commit
7961f609
authored
4 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Add mapcache deployment
parent
36d0409d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+31
-0
31 additions, 0 deletions
.gitlab-ci.yml
production/values-mapcache.yaml
+18
-0
18 additions, 0 deletions
production/values-mapcache.yaml
production/values-mapserver.yaml
+2
-4
2 additions, 4 deletions
production/values-mapserver.yaml
with
51 additions
and
4 deletions
.gitlab-ci.yml
+
31
−
0
View file @
7961f609
...
...
@@ -127,6 +127,12 @@ get_chart_mapserver:
SUBCOMP_REPOS
:
"
geosphere-mapserver"
SUBCOMP_CHART_DIR
:
"
geosphere-mapserver"
get_chart_mapcache
:
extends
:
.get_chart_tmpl
variables
:
SUBCOMP_REPOS
:
"
geosphere-mapcache"
SUBCOMP_CHART_DIR
:
"
geosphere-mapcache"
deploy_prod_rabbit
:
environment
:
name
:
production
...
...
@@ -241,3 +247,28 @@ deploy_mapserver:
-
if
:
'
$kubekorner_k3s_config
==
""'
when
:
never
-
when
:
on_success
deploy_mapcache
:
environment
:
name
:
production
url
:
http://geosphere.ssec.wisc.edu
extends
:
.helm_based_job
stage
:
deploy WMTS
script
:
-
ns=$(./helpers/get_namespace.sh)
-
cd geosphere-mapcache/chart
-
source geosphere-mapcache/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-mapcache.yaml .
# namespace names are the same as domain names
-
helm upgrade -v 2 --install --kubeconfig $kubeconfig --namespace $ns -f values-mapcache.yaml geosphere-mapcache geosphere-mapcache/
dependencies
:
-
get_chart_mapcache
rules
:
-
if
:
'
$kubekorner_k3s_config
==
""'
when
:
never
-
when
:
on_success
This diff is collapsed.
Click to expand it.
production/values-mapcache.yaml
0 → 100644
+
18
−
0
View file @
7961f609
rabbitIn
:
host
:
"
geosphere-rabbit-rabbitmq"
username
:
"
user"
passwordSecret
:
"
geosphere-rabbit-rabbitmq"
topic
:
"
data.goes.g16.abi.*.l1b.tiles.all.complete"
wms
:
host
:
"
geosphere-mapcache"
cache
:
persistence
:
enabled
:
true
seed
:
images
:
true
overlays
:
true
ingress
:
enabled
:
true
hosts
:
-
host
:
geosphere-test.ssec.wisc.edu
paths
:
[
"
/mapcache"
]
This diff is collapsed.
Click to expand it.
production/values-mapserver.yaml
+
2
−
4
View file @
7961f609
...
...
@@ -2,7 +2,7 @@ rabbitIn:
host
:
"
geosphere-rabbit-rabbitmq"
username
:
"
user"
passwordSecret
:
"
geosphere-rabbit-rabbitmq"
topic
:
"
data.goes.g16.abi.
radf
.l1b.geotiff.all.complete"
topic
:
"
data.goes.g16.abi.
*
.l1b.geotiff.all.complete"
rabbitOut
:
host
:
"
geosphere-rabbit-rabbitmq"
username
:
"
user"
...
...
@@ -12,8 +12,6 @@ source:
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
paths
:
[
"
/wms"
,
"
/wms_times"
]
\ 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