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

calico_node/Makefile: Fix build of startup #899

Merged
merged 1 commit into from
Jul 10, 2017

Conversation

tomdee
Copy link
Contributor

@tomdee tomdee commented Jul 10, 2017

Change CALICO_GIT_VER to a "conditional variable". The git shell command
will only be run if a value isn't already defined.

This allows the non-containerized execution of make to fill in the
variable so that that git doesn't need to run inside the container.

Fixes #897

Change CALICO_GIT_VER to a "conditional variable". The git shell command
will only be run if a value isn't already defined.

This allows the non-containerized execution of `make` to fill in the
variable so that that git doesn't need to run inside the container.

Fixes projectcalico#897
@@ -184,8 +183,8 @@ dist/startup: $(STARTUP_FILES) vendor
-v $(VERSIONS_FILE):/versions.yaml:ro \
-e VERSIONS_FILE=/versions.yaml \
$(CALICO_BUILD) sh -c '\
cd /go/src/$(PACKAGE_NAME) && \
make startup'
cd /go/src/$(PACKAGE_NAME) && \
Copy link
Contributor

Choose a reason for hiding this comment

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

indentation looks off, but is this just in github?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I switched the line to be all tabs. It is meant to be indented more than the sh line above

@ozdanborne ozdanborne merged commit a0d5d2b into projectcalico:master Jul 10, 2017
@tomdee tomdee deleted the git-in-container branch August 23, 2018 23:02
caseydavenport pushed a commit that referenced this pull request Dec 14, 2021
…-release-v3.21

[release-v3.21] Semaphore Auto Pin Update
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.

3 participants