-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ammend build CI to not use dapper Signed-off-by: Alexandre Lamarre <[email protected]>
- Loading branch information
1 parent
e84c013
commit ae2c53b
Showing
7 changed files
with
61 additions
and
19 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
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,10 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
helm repo add rancher-stable https://releases.rancher.com/server-charts/stable | ||
|
||
helm repo update | ||
|
||
kubectl create namespace cattle-system | ||
|
||
helm install -n cattle-system rancher rancher-stable/rancher |
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,17 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
sleep "${DEFAULT_SLEEP_TIMEOUT_SECONDS}" | ||
# Check deployment status | ||
kubectl -n cattle-system rollout status deploy/rancher | ||
|
||
# Capture the exit status of the previous command | ||
exit_status=$? | ||
|
||
if [ $exit_status -eq 0 ]; then | ||
echo "rancher deployment is healthy." | ||
else | ||
echo "rancher deployment is not healthy." | ||
fi | ||
|
||
exit $exit_status |
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 |
---|---|---|
@@ -1,15 +1,8 @@ | ||
TARGETS := $(shell ls scripts) | ||
|
||
.dapper: | ||
@echo Downloading dapper | ||
@curl -sL https://releases.rancher.com/dapper/latest/dapper-$$(uname -s)-$$(uname -m) > .dapper.tmp | ||
@@chmod +x .dapper.tmp | ||
@./.dapper.tmp -v | ||
@mv .dapper.tmp .dapper | ||
|
||
$(TARGETS): .dapper | ||
./.dapper $@ | ||
$(TARGETS): | ||
./scripts/$@ | ||
|
||
.DEFAULT_GOAL := default | ||
|
||
.PHONY: $(TARGETS) | ||
.PHONY: $(TARGETS) |
1 change: 1 addition & 0 deletions
1
pkg/generated/controllers/helm.cattle.io/v1alpha1/projecthelmchart.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.