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

daemon: Make build depend on Makefiles and Dockerfile #10367

Merged
merged 1 commit into from Mar 2, 2020

Conversation

jrajahalme
Copy link
Member

@jrajahalme jrajahalme commented Feb 27, 2020

Re-build may be needed due to changes in Makefiles or the Dockerfile.


This change is Reviewable

Re-build may be needed due to changes in Makefiles or the Dockerfile.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
@jrajahalme jrajahalme added pending-review area/misc Impacts miscellaneous areas of the code not otherwise owned by another area. release-note/minor This PR changes functionality that users may find relevant to operating Cilium. labels Feb 27, 2020
@jrajahalme jrajahalme requested a review from a team as a code owner February 27, 2020 19:15
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.8.0 Feb 27, 2020
@jrajahalme
Copy link
Member Author

test-me-please

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 45.549% when pulling 92eaf15 on pr/jrajahalme/daemon-depend-on-makefiles into 9eed6e2 on master.

@@ -4,7 +4,7 @@ include ../Makefile.defs
TARGET=cilium-agent
LINKS=cilium-node-monitor
SOURCES := $(shell find ../api ../common ../daemon ../pkg . \( -name '*.go' ! -name '*_test.go' \))
$(TARGET): $(SOURCES)
$(TARGET): $(SOURCES) ../Dockerfile ../Makefile ../Makefile.defs Makefile
Copy link
Member

Choose a reason for hiding this comment

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

This is odd, why would a change in the Dockerfile would need to make the binary to be rebuild? Ah, is that in the case that when we are creating a Dockerimage the binary is not re-compiled in case it already exists?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. For example when updating the Envoy SHA dependency.

@jrajahalme jrajahalme requested a review from aanm February 28, 2020 22:42
@aanm aanm merged commit 37f4cc8 into master Mar 2, 2020
1.8.0 automation moved this from In progress to Merged Mar 2, 2020
@aanm aanm deleted the pr/jrajahalme/daemon-depend-on-makefiles branch March 2, 2020 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/misc Impacts miscellaneous areas of the code not otherwise owned by another area. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
No open projects
1.8.0
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

3 participants