-
Notifications
You must be signed in to change notification settings - Fork 135
build & use multi-arch manifests for doc/crds #329
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
build & use multi-arch manifests for doc/crds #329
Conversation
image: ghcr.io/k8snetworkplumbingwg/whereabouts:latest-amd64 | ||
image: ghcr.io/k8snetworkplumbingwg/whereabouts:latest |
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.
The core intent of the change can be boiled down to this line. Allow installing whereabouts from the example without having to do any modification work based on system architecture.
ae773e7
to
a9eb632
Compare
Metadata from the {
"containerimage.buildinfo/linux/amd64": {
"frontend": "dockerfile.v0",
"attrs": {
"filename": "Dockerfile",
"vcs:revision": "80a641cecef9bea7176968daf6fece4d02ebdcbf",
"vcs:source": "https://github.com/k8snetworkplumbingwg/whereabouts"
},
"sources": [
{
"type": "docker-image",
"ref": "docker.io/library/alpine:latest",
"pin": "sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a[312](https://github.com/k8snetworkplumbingwg/whereabouts/actions/runs/4931290989/jobs/8813184827?pr=329#step:5:314)6"
},
{
"type": "docker-image",
"ref": "docker.io/library/golang:1.19",
"pin": "sha256:86af5649fa1d9265d3fe7caf633231340b93e4164b96e14bc4e1131a191c1ddd"
}
]
},
"containerimage.buildinfo/linux/arm64": {
"frontend": "dockerfile.v0",
"attrs": {
"filename": "Dockerfile",
"vcs:revision": "80a641cecef9bea7176968daf6fece4d02ebdcbf",
"vcs:source": "https://github.com/k8snetworkplumbingwg/whereabouts"
},
"sources": [
{
"type": "docker-image",
"ref": "docker.io/library/alpine:latest",
"pin": "sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126"
},
{
"type": "docker-image",
"ref": "docker.io/library/golang:1.19",
"pin": "sha256:86af5649fa1d9265d3fe7caf6332[313](https://github.com/k8snetworkplumbingwg/whereabouts/actions/runs/4931290989/jobs/8813184827?pr=329#step:5:315)40b93e4164b96e14bc4e1131a191c1ddd"
}
]
}
} |
Personally, I think this is a solid improvement. I'm really into it. I'd love anyone else's input, but, I'm good to move forward with this. |
fd7896d
to
1c04325
Compare
Turns out, I'm not sure how to get more debug output b/c the docker action doesn't support |
Pull Request Test Coverage Report for Build 5028573781Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
1c04325
to
f9d4905
Compare
The e2e fail to deploy the whereabouts daemonset. You need to get this sorted out before the merge. For what it's worth, conceptually, I'm OK with this PR. |
35801bb
to
e564266
Compare
7f171f5
to
4108600
Compare
Build multi-arch manifests (amd64 and arm64) for PR 'build`, 'master' images, and 'release' images. In the doc/crds/daemonset-install.yaml file, remove amd64-specific items, and use the 'latest' manifest that will autoselect the appropriate architecture for the system. Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
4108600
to
03a7bb4
Compare
The multi-arch img build target failed: https://github.com/k8snetworkplumbingwg/whereabouts/actions/runs/5049399831/jobs/9058806565 Can you take a look @BlaineEXE ? |
Build multi-arch manifests (amd64 and arm64) for PR 'build`, 'master' images, and 'release' images. In the doc/crds/daemonset-install.yaml file, remove amd64-specific items, and use the 'latest' manifest that will autoselect the appropriate architecture for the system.
Starting as a draft PR to make sure the build test passes and to make sure to start from a place of discussion. This PR is more about convenience than necessity for me.
What this PR does / why we need it:
Allow deploying one version of the sample deployment for any (x86/arm) architecture. This simplifies deployment for users. This is a matter of convenience rather than necessity. Even users who have mixed amd64/arm64 environments can create 2 daemonsets for whereabouts -- one with the current selector for x86 and one with a modified selector for arm.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer (optional):