-
Notifications
You must be signed in to change notification settings - Fork 654
[CI]: small fixes #4199
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
[CI]: small fixes #4199
Conversation
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
Signed-off-by: apostasie <[email protected]>
@@ -26,7 +26,7 @@ if [[ "$(id -u)" = "0" ]]; then | |||
fi | |||
|
|||
: "${WORKAROUND_ISSUE_622:=}" | |||
if [[ "$WORKAROUND_ISSUE_622" = "1" ]]; then | |||
if [[ "$WORKAROUND_ISSUE_622" != "" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks WORKAROUND_ISSUE_622=0
but I guess we do not need to keep compatibility for this workaround
@@ -39,9 +39,9 @@ DOCDIR ?= $(DATADIR)/doc | |||
|
|||
BINARY ?= "nerdctl" | |||
MAKEFILE_DIR := $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST))))) | |||
VERSION ?= $(shell git -C $(MAKEFILE_DIR) describe --match 'v[0-9]*' --dirty='.m' --always --tags) | |||
VERSION ?= $(shell git -C $(MAKEFILE_DIR) describe --match 'v[0-9]*' --dirty='.m' --always --tags 2>/dev/null || echo no_git_information) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bikeshedding: an empty string should suffice for no_git_information
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
This adds a few minor tweaks to the CI:
git
is missingin-container
CI jobThough unrelated to one another, these are small and minor.
Still LMK if you prefer this PR to be broken down in individual chunks.