Skip to content

Commit

Permalink
e2e story_registry set testing image to registry.access.redhat.com/ub…
Browse files Browse the repository at this point in the history
…i8/httpd-24
  • Loading branch information
adrianriobo authored and praveenkumar committed Jun 23, 2022
1 parent 2817d35 commit 50adfe0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/e2e/features/story_registry.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Feature: Local image to image-registry
And login to the oc cluster succeeds

Scenario: Create local image
Given executing "podman pull quay.io/centos7/httpd-24-centos7" succeeds
Given executing "podman pull registry.access.redhat.com/ubi8/httpd-24" succeeds
When executing "podman images" succeeds
Then stdout should contain "quay.io/centos7/httpd-24-centos7"
Then stdout should contain "registry.access.redhat.com/ubi8/httpd-24"

Scenario: Push local image to OpenShift image registry
Given executing "oc new-project testproj-img" succeeds
When executing "podman login -u kubeadmin -p $(oc whoami -t) default-route-openshift-image-registry.apps-crc.testing --tls-verify=false" succeeds
Then stdout should contain "Login Succeeded!"
And executing "podman tag quay.io/centos7/httpd-24-centos7 default-route-openshift-image-registry.apps-crc.testing/testproj-img/hello:test" succeeds
And executing "podman tag registry.access.redhat.com/ubi8/httpd-24 default-route-openshift-image-registry.apps-crc.testing/testproj-img/hello:test" succeeds
When executing "podman push default-route-openshift-image-registry.apps-crc.testing/testproj-img/hello:test --tls-verify=false" succeeds

Scenario: Deploy the image
Expand All @@ -39,8 +39,8 @@ Feature: Local image to image-registry

Scenario: Clean up image and project
Given executing "podman images" succeeds
When stdout contains "quay.io/centos7/httpd-24-centos7"
Then executing "podman image rm quay.io/centos7/httpd-24-centos7" succeeds
When stdout contains "registry.access.redhat.com/ubi8/httpd-24"
Then executing "podman image rm registry.access.redhat.com/ubi8/httpd-24" succeeds
And executing "oc delete project testproj-img" succeeds

@startstop
Expand Down

0 comments on commit 50adfe0

Please sign in to comment.