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

Updating some tests to not require the docker socket #716

Conversation

vdemeester
Copy link
Member

@vdemeester vdemeester commented Apr 3, 2019

Changes

We should try to avoid, as much as possible, to assume that there will
be a docker socket available on the node. If the runtime used by
Kubernetes is not Docker, this fails.

This affects : TestPipelineRun and private-taskrun and
taskrun-docker-basic examples.

  • quay.io/rhpipeline/buildah is not completely optimized (we may want a lighter image) — using skopeo it's lighter and easier to run in userspace.
  • I am ok to use something else here — just something that doesn't need the docker socket volume 👼 🙏

Signed-off-by: Vincent Demeester vdemeest@redhat.com

Submitter Checklist

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

See the contribution guide
for more details.

@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Apr 3, 2019
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 size/M Denotes a PR that changes 30-99 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Apr 3, 2019
@bobcatfish
Copy link
Collaborator

Nice one @vdemeester ! I'm happy with it, makes sense to me :D I've always used kaniko (probably cuz my team made it hahaha) but I'm happy to see some variety in our examples :D

/meow space
/lgtm

@tekton-robot
Copy link
Collaborator

@bobcatfish: Bad category. Please see https://api.thecatapi.com/api/categories/list

In response to this:

Nice one @vdemeester ! I'm happy with it, makes sense to me :D I've always used kaniko (probably cuz my team made it hahaha) but I'm happy to see some variety in our examples :D

/meow space
/lgtm

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.

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 3, 2019
@bobcatfish
Copy link
Collaborator

image

ಠ_ಠ

@bobcatfish
Copy link
Collaborator

/meow space

@tekton-robot
Copy link
Collaborator

@bobcatfish: cat image

In response to this:

/meow space

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.

@vdemeester vdemeester force-pushed the e2e-pipelinerun-do-not-assume-cri-docker branch from 14b1f24 to c0edd86 Compare April 5, 2019 11:22
@tekton-robot tekton-robot removed the lgtm Indicates that a PR is ready to be merged. label Apr 5, 2019
@vdemeester vdemeester force-pushed the e2e-pipelinerun-do-not-assume-cri-docker branch from c0edd86 to bcc3904 Compare April 5, 2019 11:24
We should try to avoid, as much as possible, to assume that there will
be a docker socket available on the node. If the runtime used by
Kubernetes is not Docker, this fails.

This affects : TestPipelineRun and private-taskrun and
taskrun-docker-basic examples.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
@vdemeester vdemeester force-pushed the e2e-pipelinerun-do-not-assume-cri-docker branch from bcc3904 to e99d663 Compare April 5, 2019 12:14
@abayer
Copy link
Contributor

abayer commented Apr 5, 2019

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 5, 2019
@tekton-robot tekton-robot merged commit 7893caa into tektoncd:master Apr 5, 2019
@vdemeester vdemeester deleted the e2e-pipelinerun-do-not-assume-cri-docker branch April 5, 2019 13:27
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants