forked from projectcapsule/capsule
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Capsule user should be treated as a tenant owner (#19)
* Debug UserInfo * Debug UserInfo * Debug UserInfo * Set ServiceAccountName as env for Capsule pods * Add Stratio CICD Helm Chart integration * Add Stratio CICD Helm Chart integration * Use downward API to get Capsule's service account name * Force Deploy on PRs * Use downward API to get Capsule's service account name Co-authored-by: Unai Arrien <[email protected]>
- Loading branch information
1 parent
86f7e69
commit 7213792
Showing
6 changed files
with
43 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,3 +209,6 @@ e2e/%: | |
# Stratio CICD flow | ||
change-version: | ||
bin/change-version.sh $(version) | ||
|
||
chart: | ||
bin/chart.sh $(version) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
# exit immediately when a command fails | ||
set -e | ||
# only exit with zero if all commands of the pipeline exit successfully | ||
set -o pipefail | ||
|
||
NAME="capsule" | ||
VERSION="${1}" | ||
echo VERSION: ${VERSION} | ||
echo "Building HELM3 chart for ${NAME} ${VERSION} version" | ||
|
||
# Creating a new dir in the CI build environment | ||
CHART_TEMP_DIR="target" | ||
mkdir -p "${CHART_TEMP_DIR}" | ||
|
||
cp -R charts/${NAME} "${CHART_TEMP_DIR}/${NAME}" | ||
helm package "${CHART_TEMP_DIR}/${NAME}" --app-version=${VERSION} --version=${VERSION} --destination="${CHART_TEMP_DIR}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters