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

Bug 1980338: test/cmd/newapp: update app name to match existing tag #26302

Merged

Conversation

vrutkovs
Copy link
Member

@vrutkovs vrutkovs commented Jul 1, 2021

Fixes several test/cmd entries to match the current state of imagestreams.
Includes #26292 to have Dockerhub pullsecret placed, so that import would not hit rate limits

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 1, 2021

@vrutkovs: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

In response to this:

test/cmd/newapp: update app name to match existing tag

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

1 similar comment
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 1, 2021

@vrutkovs: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

In response to this:

test/cmd/newapp: update app name to match existing tag

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot requested review from danwinship and soltysh July 1, 2021 19:58
@vrutkovs vrutkovs force-pushed the 3.11-fix-ruby27 branch 3 times, most recently from dde947d to 0a79443 Compare July 2, 2021 12:17
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 2, 2021

@vrutkovs: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

In response to this:

test/cmd/newapp: update app name to match existing tag

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@vrutkovs vrutkovs force-pushed the 3.11-fix-ruby27 branch 4 times, most recently from 4d2a152 to 9ae0511 Compare July 2, 2021 18:50
@vrutkovs vrutkovs changed the title test/cmd/newapp: update app name to match existing tag OTA-418: test/cmd/newapp: update app name to match existing tag Jul 2, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 2, 2021

@vrutkovs: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

In response to this:

OTA-418: test/cmd/newapp: update app name to match existing tag

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

os::cmd::expect_success 'oc new-app --docker-image=library/php https://github.com/sclorg/cakephp-ex --strategy=source'
os::cmd::try_until_success 'oc get istag php:latest -n test-imagestreams'
os::cmd::expect_success 'oc create istag php:latest --from=openshift/php:7.1 -n openshift'
os::cmd::expect_success 'oc new-app --docker-image=quay.io/centos7/php-72-centos7 https://github.com/sclorg/cakephp-ex --strategy=source --name=php'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it helps, here's where the an official UBI imagestream comes from:

registry.access.redhat.com/ubi7/php-73

https://catalog.redhat.com/software/containers/ubi7/php-73/5da0228fdd19c70159f4601b

7.2 is already EOL, 7.3 is next and 7.4 is only published for ubi8 currently.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see in 9dc7e4b you are using ubi8. In that case, registry.access.redhat.com/ubi8/php-74 will give you the most legs. :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated quay.io images to registry.access.redhat.com. Its a mix of UBI7/UBI8 now, we can improve this later on

@bparees
Copy link
Contributor

bparees commented Jul 6, 2021

for the image pullspec changes themselves, as long as the test is still passing you are probably fine to change them, the tests are exercising the commands, not the images, so as long as the new image your ref'ing is a functional/behavioral equivalent to the old one, it should be fine.

@sttts
Copy link
Contributor

sttts commented Jul 6, 2021

/assign @soltysh

hack/test-cmd.sh Outdated
# - ADMIN_KUBECONFIG
# - REAL_HOME
# Arguments:
# None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vrutkovs doesn't it take an optional namespace as an argument?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks. Fixed this in 6757e9f

brenton and others added 2 commits July 7, 2021 10:13
In CI this relies on the docker creds are in the homedir.  It then
mounts them into the test container.
Copy link
Member

@soltysh soltysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 7, 2021
@vrutkovs vrutkovs changed the title OTA-418: test/cmd/newapp: update app name to match existing tag Bug 1980338: test/cmd/newapp: update app name to match existing tag Jul 8, 2021
@openshift-ci openshift-ci bot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Jul 8, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 8, 2021

@vrutkovs: This pull request references Bugzilla bug 1980338, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (3.11.z) matches configured target release for branch (3.11.z)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @zhouying7780

In response to this:

Bug 1980338: test/cmd/newapp: update app name to match existing tag

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot requested a review from zhouying7780 July 8, 2021 12:15
@smarterclayton
Copy link
Contributor

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 8, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smarterclayton, soltysh, vrutkovs

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 8, 2021
@openshift-merge-robot openshift-merge-robot merged commit c192152 into openshift:release-3.11 Jul 8, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 8, 2021

@vrutkovs: All pull requests linked via external trackers have merged:

Bugzilla bug 1980338 has been moved to the MODIFIED state.

In response to this:

Bug 1980338: test/cmd/newapp: update app name to match existing tag

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants