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

Only compare ImageID suffix in TestTaskRunStatus test #1233

Merged

Conversation

chmouel
Copy link
Member

@chmouel chmouel commented Aug 22, 2019

We are experience a weird issue with the TestTaskRunStatus test on OpenShift (v4.x based on k8 1.13+). The ImageID are prefixed there with a docker.io/library instead of what is shown on k8 docker-pullable://

I will follow-up with the OpenShift people but in the meantime let's only compare the ImageID suffix which should make the test as robust as what we had before.

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 22, 2019
@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Aug 22, 2019
@chmouel chmouel force-pushed the fix-TestTaskRunStatus-on-other-clusters branch from b3b92b9 to 306ccac Compare August 22, 2019 14:30
@tekton-robot tekton-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 22, 2019
On some systems (i.e: OpenShift) we are getting a different prefix than
docker-pullable:// as docker.io/library instead,

Let's ignore that prefix and only compare the suffix of the fqImageName

Signed-off-by: Chmouel Boudjnah <[email protected]>
@chmouel chmouel force-pushed the fix-TestTaskRunStatus-on-other-clusters branch from 306ccac to cce99c4 Compare August 22, 2019 14:30
@chmouel
Copy link
Member Author

chmouel commented Aug 22, 2019

/test pull-tekton-pipeline-integration-tests

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

/lgtm

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chmouel, vdemeester

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

@tekton-robot tekton-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 23, 2019
@tekton-robot tekton-robot merged commit 830ffc2 into tektoncd:master Aug 23, 2019
@chmouel chmouel deleted the fix-TestTaskRunStatus-on-other-clusters branch August 23, 2019 06:15
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. cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants