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

Always make sure module cache is downloaded. #174

Closed
wants to merge 1 commit into from

Conversation

wlynch
Copy link
Member

@wlynch wlynch commented Dec 26, 2019

Changes

This ensures that go mod download in tests/scripts to make sure all
dependencies are present. This should generally only be slow on the first
attempt when it needs to download the modules locally, but subsequent calls
should result in no change.

This solves an issue raised in
tektoncd/pipeline#1792 where the license DB used
by a required tool wasn't being downloaded.

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.

This ensures that `go mod download` in tests/scripts to make sure all
dependencies are present. This should generally only be slow on the first
attempt when it needs to download the modules locally, but subsequent calls
should result in no change.

This solves an issue raised in
tektoncd/pipeline#1792 where the license DB used
by a required tool wasn't being downloaded.
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign bobcatfish
You can assign the PR to them by writing /assign @bobcatfish in a comment when ready.

The full list of commands accepted by this bot can be found 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

@wlynch
Copy link
Member Author

wlynch commented Dec 26, 2019

/cc @vdemeester

@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 26, 2019
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.

We should probably either put this in a function (to be explicitely called, in the main or wherever), or at least have a message about it (using header or …). Otherwise, it can be really really weird to wait a long time initially, not knowing why.

Also, we should check if go.mod is present, shouldn't we ?

@bobcatfish
Copy link
Contributor

ping @wlynch - still worth doing this or should we close for now?

@ghost
Copy link

ghost commented Feb 20, 2020

Following up here, @wlynch wdyt about closing this for now and revisiting at a later time?

@vdemeester
Copy link
Member

Agreeing with @bobcatfish and @sbwsg, let's close this for now 😉
/close

@tekton-robot
Copy link
Contributor

@vdemeester: Closed this PR.

In response to this:

Agreeing with @bobcatfish and @sbwsg, let's close this for now 😉
/close

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
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