WIP: [#587] Build OCI images for release tags #588

Draft
potyarkin wants to merge 1 commit from potyarkin/frostfs-s3-gw:feature/ci-build-oci-image into master
Member
  • OCI images will be built often (on each PR) to make sure our recipe doesn't go stale.
  • Publishing to the registry will happen only for v* tags.
  • workflow_dispatch can be used to trigger the job manually without modifying the repository. This can come handy if we'll need to incorporate upstream changes in base image (e.g. root CA certificates)
  • Image builds will start in parallel with regular builds and linters. Skipping image build for PRs which fail other checks could save some compute resources but would introduce an unnecessary delay for "green" builds. Developer time is a more scarce resource, let's not waste it.

TODO:

  • Add registry token to org secrets. Done: @snegurochka's token works in another repo since today.
  • Switch to git.frostfs.info as canonical registry for our images (instead of Docker Hub): #590
- OCI images will be built often (on each PR) to make sure our recipe doesn't go stale. - Publishing to the registry will happen only for `v*` tags. - `workflow_dispatch` can be used to trigger the job manually without modifying the repository. This can come handy if we'll need to incorporate upstream changes in base image (e.g. root CA certificates) - Image builds will start in parallel with regular builds and linters. Skipping image build for PRs which fail other checks could save some compute resources but would introduce an unnecessary delay for "green" builds. Developer time is a more scarce resource, let's not waste it. TODO: - [x] Add registry token to org secrets. Done: @snegurochka's token works in [another repo](https://git.frostfs.info/TrueCloudLab/-/packages/container/env/versions) since today. - [x] Switch to git.frostfs.info as canonical registry for our images (instead of Docker Hub): #590
potyarkin added 1 commit 2024-12-18 11:22:53 +00:00
[#587] Build OCI images for release tags
All checks were successful
/ DCO (pull_request) Successful in 4m49s
/ Vulncheck (pull_request) Successful in 4m54s
/ Lint (pull_request) Successful in 2m44s
/ Tests (pull_request) Successful in 2m13s
/ Builds (pull_request) Successful in 2m8s
/ OCI image (pull_request) Successful in 2m31s
72fac6a60e
OCI images will be built often (on each PR) to make sure our recipe
doesn't get rusty.
Publishing to the registry will happen only for `v*` tags.

Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
potyarkin force-pushed feature/ci-build-oci-image from 72fac6a60e to 9593f7bc75 2024-12-18 11:33:01 +00:00 Compare
potyarkin force-pushed feature/ci-build-oci-image from 9593f7bc75 to 9da9cb85e3 2024-12-18 11:40:12 +00:00 Compare
potyarkin force-pushed feature/ci-build-oci-image from 9da9cb85e3 to 3780f7b816 2024-12-18 12:50:13 +00:00 Compare
potyarkin self-assigned this 2024-12-18 13:12:30 +00:00
potyarkin added the
Infrastructure
label 2024-12-18 13:12:38 +00:00
potyarkin force-pushed feature/ci-build-oci-image from 3780f7b816 to 642fc27d32 2024-12-20 14:44:10 +00:00 Compare
All checks were successful
/ DCO (pull_request) Successful in 9m31s
Required
Details
/ Vulncheck (pull_request) Successful in 9m51s
Required
Details
/ Builds (pull_request) Successful in 10m24s
Required
Details
/ OCI image (pull_request) Successful in 10m46s
Required
Details
/ Lint (pull_request) Successful in 11m7s
Required
Details
/ Tests (pull_request) Successful in 10m33s
Required
Details
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u feature/ci-build-oci-image:potyarkin-feature/ci-build-oci-image
git checkout potyarkin-feature/ci-build-oci-image
Sign in to join this conversation.
No description provided.