Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Import Process
Table Data Transform
Commits
6e1f839c
Commit
6e1f839c
authored
Jul 14, 2020
by
Jonas Waeber
Browse files
Update helm chart definiton
parent
2dc35357
Changes
7
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6e1f839c
...
...
@@ -65,7 +65,7 @@ test-chart:
tags
:
-
mbr
script
:
-
helm lint chart/
-
helm lint
helm-
chart
s
/
publish-chart
:
stage
:
publish
...
...
@@ -76,7 +76,7 @@ publish-chart:
-
export HELM_EXPERIMENTAL_OCI=1
-
helm registry login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
-
./insert_chart_versions.sh
-
helm chart save chart/ "$CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_TAG-chart"
-
helm chart save
helm-
chart
s
/ "$CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_TAG-chart"
-
helm chart push "$CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_TAG-chart"
-
helm registry logout "$CI_REGISTRY"
only
:
...
...
chart/.helmignore
→
helm-
chart
s
/.helmignore
View file @
6e1f839c
File moved
chart/Chart.yaml
→
helm-
chart
s
/Chart.yaml
View file @
6e1f839c
File moved
chart/templates/app-config.yaml
→
helm-
chart
s
/templates/app-config.yaml
View file @
6e1f839c
File moved
chart/templates/job.yaml
→
helm-
chart
s
/templates/job.yaml
View file @
6e1f839c
File moved
chart/values.yaml
→
helm-
chart
s
/values.yaml
View file @
6e1f839c
File moved
insert_chart_versions.sh
View file @
6e1f839c
#!/usr/bin/env bash
echo
Creating release:
$1
sed
-i
"s/version: 0.0.0/version:
$CI_COMMIT_TAG
/g"
./chart/Chart.yaml
sed
-i
"s/appVersion: 0.0.0/appVersion:
$CI_COMMIT_TAG
/g"
./chart/Chart.yaml
sed
-i
"s/tag:
\"
latest
\"
/tag:
$CI_COMMIT_TAG
/g"
./chart/values.yaml
\ No newline at end of file
sed
-i
"s/version: 0.0.0/version:
$CI_COMMIT_TAG
/g"
./helm-charts/Chart.yaml
sed
-i
"s/appVersion: 0.0.0/appVersion:
$CI_COMMIT_TAG
/g"
./helm-charts/Chart.yaml
sed
-i
"s/tag:
\"
latest
\"
/tag:
$CI_COMMIT_TAG
/g"
./helm-charts/values.yaml
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment