Skip to content

Commit

Permalink
[qe] change the httpd image used within e2e to registry.access.redhat…
Browse files Browse the repository at this point in the history
….com/ubi8/httpd-24:latest

This image was partially used within e2e, now we extend its usage to all the remainig places

Signed-off-by: Adrian Riobo Lorenzo <[email protected]>
  • Loading branch information
adrianriobo authored and praveenkumar committed Apr 30, 2024
1 parent ded1b1c commit d6d5750
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/e2e/features/story_openshift.feature
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Feature: 4 Openshift stories
Given executing "oc new-project testproj" succeeds
# mirror
When executing "oc registry login --insecure=true" succeeds
Then executing "oc image mirror quay.io/centos7/httpd-24-centos7:centos7=default-route-openshift-image-registry.apps-crc.testing/testproj/hello:test --insecure=true --filter-by-os=linux/amd64" succeeds
Then executing "oc image mirror registry.access.redhat.com/ubi8/httpd-24:latest=default-route-openshift-image-registry.apps-crc.testing/testproj/hello:test --insecure=true --filter-by-os=linux/amd64" succeeds
And executing "oc set image-lookup hello" succeeds
# deploy
When executing "oc apply -f hello.yaml" succeeds
Expand All @@ -56,7 +56,7 @@ Feature: 4 Openshift stories
Scenario: Pull image locally, push to registry, deploy
Given podman command is available
And executing "oc new-project testproj" succeeds
When pulling image "quay.io/centos7/httpd-24-centos7:centos7", logging in, and pushing local image to internal registry succeeds
When pulling image "registry.access.redhat.com/ubi8/httpd-24:latest", logging in, and pushing local image to internal registry succeeds
And executing "oc apply -f hello.yaml" succeeds
When executing "oc rollout status deployment hello" succeeds
Then stdout should contain "successfully rolled out"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/testsuite/testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ func PullLoginTagPushImageSucceeds(image string) error {
return err
}

_, err = cmd.RunPodmanExpectSuccess("push", "default-route-openshift-image-registry.apps-crc.testing/testproj/hello:test", "--tls-verify=false")
_, err = cmd.RunPodmanExpectSuccess("push", "default-route-openshift-image-registry.apps-crc.testing/testproj/hello:test", "--remove-signatures", "--tls-verify=false")
if err != nil {
return err
}
Expand Down

0 comments on commit d6d5750

Please sign in to comment.