Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI script to update fleet reset values #2261

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/scripts/upgrade-rancher-fleet-to-dev-fleet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ until helm -n cattle-fleet-system status fleet | grep -q "STATUS: deployed"; do
sed -i 's/^version: 0/version: 9000/' charts/fleet/Chart.yaml

helm upgrade fleet charts/fleet \
--reset-then-reuse-values \
--wait -n cattle-fleet-system \
--create-namespace \
--set image.repository="$fleetRepo" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rancher-upgrade-fleet-to-head.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
name: E2E tests for examples
env:
FLEET_E2E_NS: fleet-local
FLEET_E2E_NS_DOWNSTREAM: fleet-local
FLEET_E2E_NS_DOWNSTREAM: fleet-default
run: |
kubectl config use-context k3d-upstream
ginkgo e2e/multi-cluster
Expand Down
4 changes: 4 additions & 0 deletions e2e/multi-cluster/depends_on_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ var _ = Describe("Bundle Depends On", Label("difficult"), func() {
})

AfterEach(func() {
if namespace == "" {
// test failed in BeforeEach
return
}
out, err := k.Delete("ns", namespace)
Expect(err).ToNot(HaveOccurred(), out)

Expand Down
Loading