Skip to content

Use dep-collector from prow-tests image#262

Merged
google-prow-robot merged 1 commit intoknative:masterfrom
adrcunha:simpler-license-check
Jul 23, 2018
Merged

Use dep-collector from prow-tests image#262
google-prow-robot merged 1 commit intoknative:masterfrom
adrcunha:simpler-license-check

Conversation

@adrcunha
Copy link
Copy Markdown
Contributor

We're consolidating the test infrastructure into a single place, so all repos get the same fixes, updates and new features.

dep-collector was added to prow-tests image in knative/test-infra#22 and update_licenses() in knative/test-infra#24

Bonus: also remove ko as a dependency, since it's also already installed in prow-tests image.

We're consolidating the test infrastructure into a single place, so all repos get the same fixes, updates and new features.

`dep-collector` was added to prow-tests image in knative/test-infra#22 and `update_licenses()` in knative/test-infra#24

Bonus: also remove `ko` as a dependency, since it's also already installed in prow-tests image.
@adrcunha adrcunha requested review from mattmoor and vaikas July 22, 2018 21:57
@google-prow-robot google-prow-robot requested a review from steuhs July 22, 2018 21:58
@google-prow-robot google-prow-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 22, 2018
Copy link
Copy Markdown
Member

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

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 23, 2018
@google-prow-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adrcunha, evankanderson

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

The pull request process is described here

Details 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

@google-prow-robot google-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 23, 2018
@google-prow-robot google-prow-robot merged commit e76aa88 into knative:master Jul 23, 2018
[ -f /workspace/library.sh ] \
&& source /workspace/library.sh \
|| eval "$(docker run --entrypoint sh gcr.io/knative-tests/test-infra/prow-tests -c 'cat library.sh')"
[ -v KNATIVE_TEST_INFRA ] || exit 1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This line breaks mac.

./hack/../hack/update-deps.sh: line 21: [: -v: unary operator expected

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Whatever check for env var KNATIVE_TEST_INFRA that works on Mac and Linux is fine.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looking into it a little, -v is just not supported on macs default bash install.

Copy link
Copy Markdown
Contributor Author

@adrcunha adrcunha Jul 25, 2018

Choose a reason for hiding this comment

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

If you're in a hurry, simply replace that with a check that $KNATIVE_TEST_INFRA is defined. If you can wait a little bit, now that things are stable I'm gonna vendor the test-infra repo so this check will go away.

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. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants