-
Notifications
You must be signed in to change notification settings - Fork 24
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
NETOBSERV-994 FLP multiarch consistency #426
Conversation
Codecov Report
@@ Coverage Diff @@
## main #426 +/- ##
==========================================
+ Coverage 64.72% 64.75% +0.03%
==========================================
Files 94 94
Lines 6645 6645
==========================================
+ Hits 4301 4303 +2
+ Misses 2100 2099 -1
+ Partials 244 243 -1
Flags with carried forward coverage won't be shown. Click here to find out more. |
0671595
to
dfafccb
Compare
5684824
to
21f445d
Compare
@jpinsonneau did you see this issue: #423 ? I was wondering if that could also impact what you're doing (I don't think so, but haven't had time to look closely) |
511bac3
to
c27f494
Compare
@jotak I suggest to address this in a separate PR |
.PHONY: image-push | ||
image-push: ## Push MULTIARCH_TARGETS images | ||
trap 'exit' INT; \ | ||
$(foreach target,$(MULTIARCH_TARGETS),$(call push_target,$(target))) |
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.
how long it takes before and after this change to build and push images
I am curious if that takes much longer time we could have multi-target build option and just leave the current options for the default target ?
depends on how frequently we need to build for all targets do we do that when release new version or on every PR ?
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.
It's mainly 3 times longer as MULTIARCH_TARGETS
contains amd64 arm64 ppc64le
currently. The manifest creation is super fast and can even be skipped if you point a single arch image.
I'm fine setting amd64
only as default and letting a comment with example to build the 3 archs.
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.
LGTM
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jpinsonneau The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
These changes brings consistency between netobserv components
MULTIARCH_TARGETS
arrayamd64 arm64 ppc64le
but I'm fine to set onlyamd64
if you preferIMAGE_ORG=jpinsonn VERSION=multiarch make images
to push all images and manifestMULTIARCH_TARGETS=amd64 make image-build image-push
to push a single amd64image to quay.io/netobserv/flowlogs-pipeline:latest-adm64
Related PRs: