Skip to content

test/e2e/memcached_test.go: make tests work on forks #864

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

Merged
merged 3 commits into from
Dec 19, 2018

Conversation

AlexNPavel
Copy link
Contributor

Description of the change: This PR makes travis builds work correctly on forks of the sdk repo

Motivation for the change: This allows developers to test their changes in their own forks before making a PR. This was previously implemented in #766, but it caused the Gopkg.lock replacement to also occur on this repo's branches, which could mask typos in the generated Gopkg.lock. This PR includes a check to make sure it does not run for branches in this repo.

Closes #805

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 19, 2018
The extra newline was added just to create a new commit to trigger
travis. Removing it because we don't need it
@AlexNPavel
Copy link
Contributor Author

You can see the builds for the fork here: https://travis-ci.org/AlexNPavel/operator-sdk/builds

Also, I enabled verbose mode on the e2e go test so we can see the output. This way we can check that the Gopkg file is unmodified when running within the repo after this is merged

Copy link
Contributor

@hasbro17 hasbro17 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@estroz estroz left a comment

Choose a reason for hiding this comment

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

LGTM

@AlexNPavel AlexNPavel merged commit 120a723 into operator-framework:master Dec 19, 2018
@AlexNPavel AlexNPavel deleted the push-builds branch December 19, 2018 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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