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

Makefile clean #3332

Merged
merged 3 commits into from
Sep 6, 2017
Merged

Makefile clean #3332

merged 3 commits into from
Sep 6, 2017

Conversation

alrs
Copy link
Contributor

@alrs alrs commented Sep 3, 2017

I'm interested in tightening up the kops Makefile.

This first step adds a "clean" recipe for deleting the .build directory and any files generated by go-bindatatool.

The two files generated by go-bindatatool get their own recipes, so now make can keep track of when they have been built and will not need to regenerate.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 3, 2017
@alrs
Copy link
Contributor Author

alrs commented Sep 3, 2017

/test pull-kops-e2e-kubernetes-aws

@alrs
Copy link
Contributor Author

alrs commented Sep 3, 2017 via email

@chrislovecnm
Copy link
Contributor

/retest

@alrs
Copy link
Contributor Author

alrs commented Sep 5, 2017

/test pull-kops-e2e-kubernetes-aws

@chrislovecnm
Copy link
Contributor

@alrs we have an issue with testing framework, which is a known issue. Nothing is passing at this point with kops :(

@alrs
Copy link
Contributor Author

alrs commented Sep 5, 2017 via email

@chrislovecnm
Copy link
Contributor

@alrs saw dicussion in #sig-release slack and we have an issue in about running out of disk in the aws region in test-infra. The tests are using over 20 TB while running a bunch in ||.

@alrs
Copy link
Contributor Author

alrs commented Sep 6, 2017

/test pull-kops-e2e-kubernetes-aws

@alrs
Copy link
Contributor Author

alrs commented Sep 6, 2017

/assign @zmerlynn

Copy link
Contributor

@chrislovecnm chrislovecnm left a comment

Choose a reason for hiding this comment

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

Question for you. Looks good, thanks again @alrs

Makefile Outdated
@@ -107,6 +109,10 @@ help: # Show this help
echo ''; \
} 1>&2; \

clean: # Remove build directory and bindata-generated files
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need .PHONY for the new targets?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

clean needs to be marked as PHONY, but the two bindata.go files aren't PHONY, so they aren't tagged as such. I'll update the PR.

Makefile move gobindata-tool dependency off individual bindata.go targets and on to the existing kops-gobindata target
@chrislovecnm
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 6, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alrs, chrislovecnm

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

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 6, 2017
@k8s-github-robot
Copy link

/test all [submit-queue is verifying that this PR is safe to merge]

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit e9e41c7 into kubernetes:master Sep 6, 2017
@alrs alrs deleted the makefile-clean branch September 8, 2017 00:32
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. 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/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.

None yet

5 participants