Skip to content

Commit

Permalink
pkg/utils, test/system: Use the Ubuntu images from quay.io/toolbx/...
Browse files Browse the repository at this point in the history
  • Loading branch information
debarshiray committed Jun 8, 2023
1 parent 8dcd5d7 commit b6ca18e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ func getFullyQualifiedImageRHEL(image, release string) string {
}

func getFullyQualifiedImageUbuntu(image, release string) string {
imageFull := "quay.io/toolbx-images/" + image
imageFull := "quay.io/toolbx/" + image
return imageFull
}

Expand Down
12 changes: 6 additions & 6 deletions test/system/102-list.bats
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ teardown() {
run --keep-empty-lines --separate-stderr "$TOOLBOX" list

assert_success
assert_line --index 1 --partial "quay.io/toolbx-images/ubuntu-toolbox:16.04"
assert_line --index 1 --partial "quay.io/toolbx/ubuntu-toolbox:16.04"
assert [ ${#lines[@]} -eq 3 ]
assert [ ${#stderr_lines[@]} -eq 0 ]
}
Expand All @@ -203,7 +203,7 @@ teardown() {
run --keep-empty-lines --separate-stderr "$TOOLBOX" list --images

assert_success
assert_line --index 1 --partial "quay.io/toolbx-images/ubuntu-toolbox:16.04"
assert_line --index 1 --partial "quay.io/toolbx/ubuntu-toolbox:16.04"
assert [ ${#lines[@]} -eq 3 ]
assert [ ${#stderr_lines[@]} -eq 0 ]
}
Expand All @@ -218,7 +218,7 @@ teardown() {
run --keep-empty-lines --separate-stderr "$TOOLBOX" list

assert_success
assert_line --index 1 --partial "quay.io/toolbx-images/ubuntu-toolbox:18.04"
assert_line --index 1 --partial "quay.io/toolbx/ubuntu-toolbox:18.04"
assert [ ${#lines[@]} -eq 3 ]
assert [ ${#stderr_lines[@]} -eq 0 ]
}
Expand All @@ -233,7 +233,7 @@ teardown() {
run --keep-empty-lines --separate-stderr "$TOOLBOX" list --images

assert_success
assert_line --index 1 --partial "quay.io/toolbx-images/ubuntu-toolbox:18.04"
assert_line --index 1 --partial "quay.io/toolbx/ubuntu-toolbox:18.04"
assert [ ${#lines[@]} -eq 3 ]
assert [ ${#stderr_lines[@]} -eq 0 ]
}
Expand All @@ -248,7 +248,7 @@ teardown() {
run --keep-empty-lines --separate-stderr "$TOOLBOX" list

assert_success
assert_line --index 1 --partial "quay.io/toolbx-images/ubuntu-toolbox:20.04"
assert_line --index 1 --partial "quay.io/toolbx/ubuntu-toolbox:20.04"
assert [ ${#lines[@]} -eq 3 ]
assert [ ${#stderr_lines[@]} -eq 0 ]
}
Expand All @@ -263,7 +263,7 @@ teardown() {
run --keep-empty-lines --separate-stderr "$TOOLBOX" list --images

assert_success
assert_line --index 1 --partial "quay.io/toolbx-images/ubuntu-toolbox:20.04"
assert_line --index 1 --partial "quay.io/toolbx/ubuntu-toolbox:20.04"
assert [ ${#lines[@]} -eq 3 ]
assert [ ${#stderr_lines[@]} -eq 0 ]
}
Expand Down
2 changes: 1 addition & 1 deletion test/system/libs/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ declare -Ag IMAGES=([busybox]="quay.io/toolbox_tests/busybox" \
[docker-reg]="quay.io/toolbox_tests/registry" \
[fedora]="registry.fedoraproject.org/fedora-toolbox" \
[rhel]="registry.access.redhat.com/ubi8/toolbox" \
[ubuntu]="quay.io/toolbx-images/ubuntu-toolbox")
[ubuntu]="quay.io/toolbx/ubuntu-toolbox")


function cleanup_all() {
Expand Down

0 comments on commit b6ca18e

Please sign in to comment.