Skip to content

Commit

Permalink
Update Helm release cloudprofiles to v0.1.1 (#105)
Browse files Browse the repository at this point in the history
* Post upgrade-task to update 23ke-base-substitutions.yaml (#94)

Signed-off-by: Malte Münch <[email protected]>

* Make post upgrade script executable

Signed-off-by: Malte Münch <[email protected]>

* chdir

Signed-off-by: Malte Münch <[email protected]>

* Increase wait-timeout for cert-manager

Signed-off-by: Malte Münch <[email protected]>

* Update Helm release cloudprofiles to v0.1.1

Co-authored-by: Malte Münch <[email protected]>
Co-authored-by: 23t-renovate <[email protected]>
  • Loading branch information
3 people authored Apr 4, 2022
1 parent d8e6269 commit a06897f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/renovate-post-upgrade.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ CHANGED_FILE=$(git status -s)
if echo "$CHANGED_FILE" | grep "base-install/gardenlet.yaml"
then
# looks like gardener-core has been updated, import charts:
echo 'export GARDENER_VERSION=v$(yq eval ".spec.chart.spec.version" base-install/gardenlet.yaml)' > /tmp/tmpscript
echo 'cd /tmp/renovate/repos/github/23technologies/23ke' > /tmp/tmpscript
echo 'export GARDENER_VERSION=v$(yq eval ".spec.chart.spec.version" base-install/gardenlet.yaml)' >> /tmp/tmpscript
echo 'yq eval ".data.GARDENER_VERSION=env(GARDENER_VERSION)" -i 23ke-base-substitutions.yaml' >> /tmp/tmpscript
echo "chmod -R 777 /tmp/renovate/repos/github/23technologies/23ke" >> /tmp/tmpscript
mv /tmp/tmpscript /tmp/scripts/renovate-post-upgrade-script
Expand Down
2 changes: 1 addition & 1 deletion base-install/cpfl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
chart:
spec:
chart: cloudprofiles
version: 0.1.0
version: 0.1.1
sourceRef:
kind: HelmRepository
name: 23ke-charts
Expand Down
6 changes: 3 additions & 3 deletions hack/ci/02-letsencrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ echo -n "Deploying Letsencrypt"
# Install and configure cert-manger
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.5.3/cert-manager.yaml > /tmp/stdout 2> /tmp/stderr || { echo -e "\rError while deploying cert-manager ❌"; echo "STDOUT":; cat /tmp/stdout; echo "STDERR:"; cat /tmp/stderr; exit 1; }
echo -n "."
kubectl wait -n cert-manager deploy cert-manager-webhook --for=condition=Available > /tmp/stdout 2> /tmp/stderr || { echo -e "\rError while waiting for cert-manager-webhook ❌"; echo "STDOUT":; cat /tmp/stdout; echo "STDERR:"; cat /tmp/stderr; exit 1; }
kubectl wait -n cert-manager deploy cert-manager-webhook --for=condition=Available --timeout=5m > /tmp/stdout 2> /tmp/stderr || { echo -e "\rError while waiting for cert-manager-webhook ❌"; echo "STDOUT":; cat /tmp/stdout; echo "STDERR:"; cat /tmp/stderr; exit 1; }
echo -n "."
kubectl wait -n cert-manager deploy cert-manager --for=condition=Available > /tmp/stdout 2> /tmp/stderr || { echo -e "\rError while waiting for cert-manager ❌"; echo "STDOUT":; cat /tmp/stdout; echo "STDERR:"; cat /tmp/stderr; exit 1; }
kubectl wait -n cert-manager deploy cert-manager --for=condition=Available --timeout=5m > /tmp/stdout 2> /tmp/stderr || { echo -e "\rError while waiting for cert-manager ❌"; echo "STDOUT":; cat /tmp/stdout; echo "STDERR:"; cat /tmp/stderr; exit 1; }
echo -n "."
kubectl wait -n cert-manager deploy cert-manager-cainjector --for=condition=Available > /tmp/stdout 2> /tmp/stderr || { echo -e "\rError while waiting for cert-manager-cainjector ❌"; echo "STDOUT":; cat /tmp/stdout; echo "STDERR:"; cat /tmp/stderr; exit 1; }
kubectl wait -n cert-manager deploy cert-manager-cainjector --for=condition=Available --timeout=5m > /tmp/stdout 2> /tmp/stderr || { echo -e "\rError while waiting for cert-manager-cainjector ❌"; echo "STDOUT":; cat /tmp/stdout; echo "STDERR:"; cat /tmp/stderr; exit 1; }
kubectl apply -f hack/ci/misc/letsencrypt.yaml > /tmp/stdout 2> /tmp/stderr || { echo -e "\rError while deploying cluster-issuer crd ❌"; echo "STDOUT":; cat /tmp/stdout; echo "STDERR:"; cat /tmp/stderr; exit 1; }
echo -e "\rLetsencrypt ready ✅ "

0 comments on commit a06897f

Please sign in to comment.