Skip to content

Commit

Permalink
try, and try again
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Lamarre <[email protected]>
  • Loading branch information
alexandreLamarre committed Apr 22, 2024
1 parent affd14d commit 45a6779
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ jobs:
- name : Setup up mc
run : ./.github/workflows/scripts/install-mc.sh
- name : Setup k3d cluster
run : CLUSTER_NAME=backup-restore K3S_VERSION=${{ matrix.K3S_VERSION }} ./.github/workflows/e2e/scripts/setup-cluster.sh
run : CLUSTER_NAME=backup-restore K3S_VERSION=${{ matrix.K3S_VERSION }} ./.github/workflows/scripts/setup-cluster.sh
- name : Run integration tests
run : ./scripts/integration
11 changes: 10 additions & 1 deletion tests/hull/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,18 @@ var suite = test.Suite{
if checker.Select("rancher-backup-patch-sa", "cattle-resources-system", obj) {
return
}
sdr, _ := checker.RenderValue[string](tc, ".Values.global.cattle.systemDefaultRegistry")
sdr, ok := checker.RenderValue[string](tc, ".Values.global.cattle.systemDefaultRegistry")
if !ok {
panic("systemDefaultRegistry not found")
}
repo, _ := checker.RenderValue[string](tc, ".Values.image.repository")
if !ok {
panic("repository not found")
}
tag, _ := checker.RenderValue[string](tc, ".Values.image.tag")
if !ok {
panic("tag not found")
}
expected := repo + ":" + tag
if sdr != "" {
expected = sdr + "/" + repo + ":" + tag
Expand Down

0 comments on commit 45a6779

Please sign in to comment.