Commit d9aab179 authored by Sandro Mathys's avatar Sandro Mathys
Browse files

save chart as artifact

parent fd0a2ece
......@@ -27,6 +27,7 @@ stages:
- deploy
- verify
- postcleanup
- package
- upload
.cleanup:
......@@ -106,6 +107,22 @@ postcleanup staging:
extends:
.cleanup
package staging:
stage: package
environment:
name: staging
only:
- staging
interruptible: true
script:
- output="$(helm package chart)"
- echo "${output}"
- package="$(echo ${output} | awk '{print $NF}')"
- echo "${package}"
artifacts:
paths:
- $package
# TODO: only run this in production
# TODO: save as artifact
upload staging:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment