Skip to content

Conversation

estroz
Copy link
Member

@estroz estroz commented Aug 8, 2019

Description of the change: always use the local SDK repo path in go.mod replace lines.

Motivation for the change: the CI we use will always have a local copy of the SDK repo, one merged with master. e2e tests should always use this dir so they are (mostly) CI type-agnostic.

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 8, 2019
@estroz
Copy link
Member Author

estroz commented Aug 8, 2019

/test e2e-aws-go

log.Fatalf("Failed to change to %s directory: (%v)", operatorName, err)
}

replace := getGoModReplace(localSDKPath)
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @estroz,

Could you help me understand it better? Here currently we download the PR and ensuring that the Memcached mock data will be created with. However, it is not required since the Travis will already install the PR to then call the tests. So, the goal of it is to use SDK already cloned locally by Travis instead of doing all these steps. Am I right?

If yes, its is /lgtm and /approved for me..

Copy link
Member Author

Choose a reason for hiding this comment

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

That is correct.

Copy link
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 15, 2019
@estroz estroz merged commit bfabaf5 into operator-framework:master Oct 23, 2019
@estroz estroz deleted the fix-e2e-go branch April 1, 2020 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

4 participants