-
Notifications
You must be signed in to change notification settings - Fork 114
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 metadata to Docker images #540
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
Pull Request Test Coverage Report for Build 6788278066
💛 - Coveralls |
Thanks for your PR,
To skip the vendors CIs use one of:
|
For troubleshooting it's useful to have following data: * image build time * git branch * git revision Also this commits modifies 'make image' target to build webhook image too.
Thanks for your PR,
To skip the vendors CIs use one of:
|
LGTM |
@@ -12,8 +12,15 @@ export OPERATOR_EXEC?=oc | |||
BUILD_GOPATH=$(TARGET_DIR):$(TARGET_DIR)/vendor:$(CURPATH)/cmd | |||
IMAGE_BUILDER?=docker | |||
IMAGE_BUILD_OPTS?= | |||
IMAGE_METADATA=--build-arg BUILD_DATE="$(BUILD_TIMESTAMP)" --build-arg VERSION="$(BUILD_VERSION)" --build-arg VCS_REF="$(VCS_REF)" --build-arg VCS_BRANCH="$(VCS_BRANCH)" |
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 works ? values of those vars are only set below.
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.
In that sense, I suggest to update how images are built for end-to-end tests:
This way we can see it in CI
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.
+1 lets do the same build as part of the CI
@e0ne you still planning to work on this one ? |
We don't need this PR anymore |
For troubleshooting it's useful to have following data:
Also this commits modifies 'make image' target to build webhook image too.