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
a937c80f
Verified
Commit
a937c80f
authored
4 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Fix CI test geo2grid deploy not including release prefix
parent
daa52f16
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/deploy_geo2grid.sh
+12
-4
12 additions, 4 deletions
helpers/deploy_geo2grid.sh
with
12 additions
and
4 deletions
helpers/deploy_geo2grid.sh
+
12
−
4
View file @
a937c80f
...
@@ -3,18 +3,26 @@
...
@@ -3,18 +3,26 @@
set
-e
set
-e
if
[
$#
-ne
2
]
;
then
if
[
$#
-ne
2
]
;
then
echo
"Usage: ./helpers/deploy_geo2grid.sh <values_base_dir>
<deploy
_suffix>"
echo
"Usage: ./helpers/deploy_geo2grid.sh <values_base_dir>
[<release_prefix>] <release
_suffix>"
exit
1
exit
1
fi
fi
# ci_geosphere-test
# ci_geosphere-test
values_base
=
"
$1
"
values_base
=
"
$1
"
# Example: -g16-radf
deploy_suffix
=
"
$2
"
# Prefix Example: testing-YYYYMMDD-
# Suffix Example: -g16-radf
if
[[
$#
-eq
2
]]
;
then
release_prefix
=
""
release_suffix
=
"
$2
"
else
release_prefix
=
"
$2
"
release_suffix
=
"
$3
"
fi
ns
=
$(
./helpers/get_namespace.sh
)
ns
=
$(
./helpers/get_namespace.sh
)
cd
geosphere-geo2grid/chart
cd
geosphere-geo2grid/chart
source
cspp-geo-geo2grid/cibuild.env
source
cspp-geo-geo2grid/cibuild.env
echo
"Deploying version
$docker_tag
to cluster namespace
$ns
"
echo
"Deploying version
$docker_tag
to cluster namespace
$ns
"
# namespace names are the same as domain names
# namespace names are the same as domain names
helm upgrade
-v
2
--install
--namespace
$ns
-f
../../
${
values_base
}
/values-geo2grid
${
deploy
_suffix
}
.yaml cspp-geo-geo2grid
${
deploy
_suffix
}
cspp-geo-geo2grid/
helm upgrade
-v
2
--install
--namespace
$ns
-f
../../
${
values_base
}
/values-geo2grid
${
release
_suffix
}
.yaml
"
${
release_prefix
}
cspp-geo-geo2grid
${
release
_suffix
}
"
cspp-geo-geo2grid/
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