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

Add e2e make rule #88

Merged
merged 1 commit into from
Jan 2, 2018
Merged

Conversation

rramkumar1
Copy link
Contributor

Adds a new rule to the Makefile which pushes an image of glbc for e2e testing. This target basically does the same thing as a regular build and push but we need it for two reasons:

  1. Modify the CONTAINER_PREFIX so that it is clear that image is for e2e testing.
  2. In test-infra/kubetest, we need to build an image of glbc for testing and having a target called e2e so that we kubetest can just say "make e2e" makes it clearer what we are doing.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 22, 2017
@rramkumar1
Copy link
Contributor Author

/assign @bowei
/cc @freehan @MrHohn

@freehan
Copy link
Contributor

freehan commented Dec 22, 2017

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 22, 2017
@freehan
Copy link
Contributor

freehan commented Dec 22, 2017

Can you squash the commits?

Makefile Outdated
@@ -42,3 +42,9 @@ VERBOSE ?= 0

# Include standard build rules.
include build/rules.mk

# Additional rule to build an image of glbc for e2e testing.
e2e:
Copy link
Member

Choose a reason for hiding this comment

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

push-e2e

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Add e2e target

Add e2e target

Add push for e2e target

Addressed comments
@@ -42,3 +42,7 @@ VERBOSE ?= 0

# Include standard build rules.
include build/rules.mk

# Additional rule to build an image of glbc for e2e testing.
push-e2e:
Copy link
Member

Choose a reason for hiding this comment

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

Probably put this into build/rules.mk?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In rules.mk it says "These build rules should not need to be modified." I was under the impression that this meant new rules should not be added but I could be wrong.

@freehan
Copy link
Contributor

freehan commented Dec 28, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 28, 2017
@freehan freehan merged commit e6312d1 into kubernetes:master Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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.

5 participants