Skip to content

Integrate krel obs into the release process #1248

@saschagrunert

Description

@saschagrunert

First of all we have to publish the release artifacts to the Google Cloud Bucket:

kpromo gh --org kubernetes-sigs --repo cri-tools --bucket k8s-artifacts-cri-tools --release-dir release --tags v1.28.0

Publishes the GitHub artifacts in https://console.cloud.google.com/storage/browser/k8s-artifacts-cri-tools/release

Then we need to run the following commands to release cri-tools in OBS:

krel obs stage --packages cri-tools --version 1.28.0 --project isv:kubernetes:core:stable:v1.28:build --stream --nomock

Runs a Google Cloud Build job and stages:
https://build.opensuse.org/package/show/isv:kubernetes:core:stable:v1.28:build/cri-tools

krel obs release --packages cri-tools --stream --project isv:kubernetes:core:stable:v1.28:build --nomock

Runs a Google Cloud Build job and releases:
https://build.opensuse.org/package/show/isv:kubernetes:core:stable:v1.28/cri-tools.20230814075509

Goal is to integrate the steps above into our release workflow, containing the right amount of permissions:
https://github.com/kubernetes-sigs/cri-tools/blob/master/.github/workflows/release.yml

@kubernetes-sigs/release-engineering we need:

  • OBS credentials to run krel obs
  • A service account token to access k8s-artifacts-cri-tools

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.sig/nodeCategorizes an issue or PR as relevant to SIG Node.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions