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

Optimize image pushes and integration tests #5

Merged
merged 20 commits into from
Jun 3, 2019

Conversation

anandswaminathan
Copy link
Contributor

  • Currently we build and push images on all PRs
  • Prevents images to be pushed on all PRs.

This PR will make images to be pushed only after merging to master. Integration tests will build images, and use the locally built images to run tests.

We can in future make images to be pushed to dockerhub on successful PR if needed.

@anandswaminathan anandswaminathan changed the title [WIP] Optimize image pushes and integration tests Optimize image pushes and integration tests May 31, 2019
// var image = flag.String("image", "lyft/flinkk8soperator:latest", "image for the operator")
var image = os.Getenv("OPERATOR_IMAGE")
// var image = flag.String("image", "flinkk8soperator:latest", "image for the operator")
var image = os.Getenv("IMAGE")
Copy link
Contributor

Choose a reason for hiding this comment

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

I think OPERATOR_IMAGE is clearer, as there are several different images involved.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. The documentation was IMage. Will change to Operator_image everywhere

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I forgot to update the doc when I changed it a while back.

@anandswaminathan anandswaminathan merged commit 5aa8a13 into master Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants