redhat-openshift-ecosystem / openshift-preflight

Operator and container preflight certification tests
Apache License 2.0
58 stars 65 forks source link

[Container Cert] Develop a Preflight Distribution Pipeline #371

Closed tonytcampbell closed 2 years ago

tonytcampbell commented 2 years ago

Partners will need to be able to download Preflight for on premise use during container certification.

  1. We need to build binaries as GitHub releases. There should be binary for each supported architecture. (amd64, ppc64le. s390x etc)
  2. We need to create containers containing the binary and prepare for delivering them through HACBS (Aug/Sep timeframe) or CPaaS
itroyano commented 2 years ago

/assign

itroyano commented 2 years ago

Sub-tasks:

itroyano commented 2 years ago

@jomkz we currently have image builds for amd64 and ppc (contributed by @mayurwaghmode ). We also have a multi-arch target in the Makefile (done by @acornett21 I think).

I'm working on consolidating the image build code into the "release" action + adding the binaries by invoking "make multi-arch" and packaging them + a way to publish the artifacts in the release page.

jomkz commented 2 years ago

We had a discussion around how we want to handle tagging the multi-arch images in quay. We decided on the following format:

sha7+platform-arch

sha7: The short git commit SHA platform: The OS platorm (linux is currently the only supported platform) arch: The architecture (amd64,ppc64le,arm64,s390x)

itroyano commented 2 years ago

PR #383 updated