Skip to content
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 and publish for ppc64le #3

Merged
merged 142 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
a49bc68
runtime-rs: Update status for pause and resume
Sep 20, 2023
5ef6915
tests: fixes permission denied when running test
beraldoleal Oct 12, 2023
a0746c8
agent: Skip flaky create_tmpfs on s390x
BbolroC Oct 23, 2023
d707fa2
kata-runtime/kata-ctl: Add security details to output
jodh-intel Oct 25, 2023
a3b003c
agent: support bind mounts between containers
h56983577 Oct 12, 2023
59bd534
utils: kata-manager: Lint fixes
jodh-intel Oct 26, 2023
2ac7ac1
utils: kata-manager: Fix "Cannot determine download URL" issue
jodh-intel Oct 26, 2023
346f195
utils: kata-manager: Fix whitespace
jodh-intel Oct 26, 2023
ae3ea14
utils: kata-manager: Fix containerd version check
jodh-intel Oct 26, 2023
0608e20
docs: Fix broken links
Oct 19, 2023
fee97e2
docs: Fix Dragonball link
sazzy4o Oct 27, 2023
65213e9
dragonball: unify the metric interface of legacy device
lisongqian Oct 18, 2023
da77b19
dragonball: output legacy device metrics to runtime
lisongqian Oct 18, 2023
52a014d
Merge pull request #8033 from h56983577/6715/shared-mount
bergwolf Oct 28, 2023
f53f868
network: Fix network attach for ipvlan and macvlan
amshinde Oct 28, 2023
f1f4410
Merge pull request #7695 from lisongqian/feat/legacy_metrics
studychao Oct 28, 2023
2f533c3
dragonball: add tracing feature for dragonball
lisongqian Oct 25, 2023
d7e410a
Merge pull request #8314 from jodh-intel/kata-ctl-show-confidential-g…
jodh-intel Oct 30, 2023
7d26604
Merge pull request #7831 from lisongqian/feat/dragonball_trace
studychao Oct 30, 2023
d932752
Merge pull request #8323 from jodh-intel/utils-kata-manager-fix-versi…
jodh-intel Oct 30, 2023
873386a
metrics: update iodepth and job size fio parameters to improve workload
dborquez Oct 10, 2023
1626253
metrics: FIO ci test enablement
dborquez Oct 11, 2023
c42a2f2
metrics: increase the number of attempts to stop kata
dborquez Oct 24, 2023
c232869
metrics: removes double-quotes in checkemtrics when parsing results
dborquez Oct 27, 2023
5573705
Merge pull request #8202 from dborquez/enable_fio_checkmetrics
dborquez Oct 30, 2023
2a17d38
Merge pull request #8334 from amshinde/ipvlan-nerdctl-fix
dborquez Oct 30, 2023
4ad2cfe
runtime-rs: Log system enhancement
TimePrinciple Oct 25, 2023
148c565
Merge pull request #8289 from BbolroC/skip-create-tmpfs-s390x
amshinde Oct 31, 2023
ceeabe3
release: Allow to test release scripts with an alternate repo
gkurz Oct 25, 2023
53cda12
Merge pull request #8311 from TimePrinciple/log-system-enhancement
fidencio Oct 31, 2023
b83a714
release: Introduce helper to get GitHub CLI
gkurz Oct 26, 2023
e331102
release: Migrate update-repository-version.sh to GitHub CLI
gkurz Oct 24, 2023
bc4c66c
release: Migrate tag_repos.sh to GitHub CLI
gkurz Oct 26, 2023
6236fa4
release: Drop build_hub helper
gkurz Oct 27, 2023
d20b738
release: Drop obsolete comment in workflow file
gkurz Oct 31, 2023
40cc397
Merge pull request #8255 from cmaf/migrate-checks-fixes-links
fidencio Nov 1, 2023
58b4d1a
cargo: Agent cargo.lock updated
amshinde Nov 1, 2023
b3dbd4f
Merge pull request #8351 from amshinde/update-agent-cargo-lock
bergwolf Nov 2, 2023
0046461
Merge pull request #8308 from gkurz/fully-drop-hub
amshinde Nov 2, 2023
437db15
kata-manager: Fix Mulit-Arch deployment for containerd
Jun 7, 2023
abec287
gha: Add workflow to close stale PRs
fidencio Nov 1, 2023
8905286
Merge pull request #8348 from fidencio/topic/gha-add-stale-action-for…
fidencio Nov 2, 2023
d547798
Merge pull request #7057 from brianwang12/kata-manager-fix
fidencio Nov 2, 2023
3723362
kata-manager: Ensure we run apt-get update before apt-get install
fidencio Nov 2, 2023
a7a14e3
Merge pull request #8285 from sazzy4o/patch-1
stevenhorsman Nov 2, 2023
6abcf03
gha: stale: Fix typo action -> actions
fidencio Nov 3, 2023
994615c
gha: stale: Allow manually triggering it
fidencio Nov 3, 2023
d395ae8
Merge pull request #8368 from fidencio/topic/gha-stale-fixes
fidencio Nov 3, 2023
8b4fc84
kata-manager: Accept only "lts" or "active" as containerd versions
fidencio Nov 2, 2023
0aac3c7
Merge pull request #8365 from fidencio/topic/kata-manager-restrict-co…
fidencio Nov 3, 2023
d116314
versions: Upgrade to Cloud Hypervisor v36.0
likebreath Nov 3, 2023
071667f
runtime: clh: Re-generate the client code
likebreath Nov 3, 2023
a2bbbad
runtime-rs: change hypervisor add_device trait to return device copy
amshinde Oct 21, 2023
c3ce6a1
runtime-rs: Provide PCI path to the agent for virtio-block
amshinde Oct 21, 2023
036b778
runtime-rs: Use PCI path from hypervisor for vfio devices
amshinde Oct 21, 2023
3b2fb6a
Merge pull request #8284 from amshinde/runtime-rs-update-device-pci-info
amshinde Nov 6, 2023
28e7b34
metrics: improving stop and remove running containers
dborquez Oct 27, 2023
5d88c78
protocols: generating agent.pb.go
beraldoleal Oct 31, 2023
c5d845b
agent: updating Cargo.lock files
beraldoleal Oct 31, 2023
c87bc60
protocols: removing unused mappings
beraldoleal Oct 31, 2023
c61f4a8
protocols: remove unused fieldpath option
beraldoleal Oct 31, 2023
16fa2c3
protocols: replace gogo/types.Empty and Any
beraldoleal Nov 1, 2023
7641c19
runtime: bump containerd for gogo deprecation
beraldoleal Nov 2, 2023
dd530ba
tests: fixes AMD errors
beraldoleal Nov 6, 2023
2af9419
doc: No longer run kata-deploy test when releasing
gkurz Oct 24, 2023
af2d897
doc: Release now uses the official GitHub CLI
gkurz Oct 24, 2023
b27b4ce
doc: No longer release the test repository
gkurz Oct 24, 2023
9203371
dragonball: Introduce vhost-net device
justxuewei Aug 17, 2023
a047331
runtime-rs: Network config distinguishes backends
justxuewei Aug 22, 2023
3e0614c
dragonball: Minor changes to comments
justxuewei Sep 5, 2023
ad66378
runtime-rs: Move Dragonball stuff out of device drivers
justxuewei Sep 6, 2023
8ea8740
runtime-rs: Remove virtio config from Backend
justxuewei Sep 6, 2023
7f5d70f
Merge pull request #8061 from beraldoleal/gogo-removal-v3
wainersm Nov 7, 2023
949ac4d
Merge pull request #8217 from beraldoleal/issues/8216
wainersm Nov 7, 2023
bdb83f8
runtime-rs: ch: Remove unused function
jodh-intel Nov 6, 2023
59d0d4c
runtime-rs: ch: Simplify VSOCK error handling
jodh-intel Nov 6, 2023
a627273
network: Fix network hotplug for ipvlan and macvlan endpoints.
amshinde Nov 7, 2023
07db673
tests: Add test with nerdctl to verify ipvlan support
amshinde Nov 2, 2023
c075fa6
tests: Add test with nerdctl to verify macvlan support
amshinde Nov 7, 2023
ef4c384
agent: Restrict device access at upper node of container's cgroup
justxuewei Aug 1, 2023
cec8044
agent: Make devcg_info optional for LinuxContainer::new()
justxuewei Aug 10, 2023
6477825
agent: Minor changes according to Zhou's comments
justxuewei Aug 17, 2023
b5f3a8c
agent: Fix container launching failure with systemd cgroup
justxuewei Oct 13, 2023
136fb76
tests: Add a integrated test for device cgroup
justxuewei Oct 7, 2023
023d8dc
agent: Changes according to Pan's comments
justxuewei Nov 3, 2023
4435c1e
Merge pull request #8386 from jodh-intel/runtime-rs-ch-tidy-up
studychao Nov 8, 2023
100a73d
Merge pull request #7531 from justxuewei/device-cgroup
lifupan Nov 8, 2023
acd9057
runtime: Fix TestCheckHostIsVMContainerCapable unstablity issue
justxuewei Nov 7, 2023
83e7313
Merge pull request #8023 from cmaf/runtime-rs-ch-pause-resume
Nov 8, 2023
92a5171
Merge pull request #8367 from amshinde/add-nerdctl-ipvlan-test
amshinde Nov 8, 2023
268d4d6
Merge pull request #8389 from justxuewei/vm-capable-test
amshinde Nov 8, 2023
1611723
Merge pull request #8379 from likebreath/1103/clh_v36.0
amshinde Nov 9, 2023
e7890ee
gha: Fix regex used to get kubectl version from the k3s version
fidencio Nov 9, 2023
455b7bf
gha: k3s: Avoid unnecessary escape
fidencio Nov 9, 2023
50df112
Merge pull request #8411 from fidencio/topic/fix-k3s-deployment
fidencio Nov 9, 2023
0352f1e
kata-manager: Allow passing a specific tool to test_installation
fidencio Nov 3, 2023
023c4a1
kata-deploy: Allow users to set hypervisor annotations
fidencio Nov 8, 2023
1a81989
tests: k8s: Use the "ALLOWED_HYPERVISOR_ANNOTATIONS"
fidencio Nov 8, 2023
66d1b2c
kata-manager: Add support for docker installation
fidencio Nov 2, 2023
5d10aed
kata-manager: Make containerd_config a global var
fidencio Nov 6, 2023
bc49c55
docs: add agent policy documentation
danmihai1 Nov 9, 2023
2b93740
Merge pull request #8404 from fidencio/topic/kata-deploy-allow-users-…
fidencio Nov 9, 2023
afb002c
runtime-rs: fix a typo in shm
studychao Oct 8, 2023
78df1bb
agent: update AGENT_THREADS metrics value
gaohuatao-1 Nov 3, 2023
820b578
Merge pull request #8370 from gaohuatao-1/bugfix
studychao Nov 10, 2023
a62fb83
Merge pull request #8169 from openanolis/chao/fix_typo_shm
studychao Nov 10, 2023
21e45be
Merge pull request #8376 from fidencio/topic/kata-manager-add-support…
amshinde Nov 10, 2023
839f6c3
utils: kata-manager: Improve info messages
jodh-intel Nov 3, 2023
c72a27e
utils: kata-manager: Ensure only one download URL
jodh-intel Nov 3, 2023
1625a5c
utils: kata-manager: Improve version check
jodh-intel Nov 6, 2023
436d7d1
utils: kata-manager: Improve usage message
jodh-intel Nov 6, 2023
9969f5a
utils: kata-manager: Make test container name more unique
jodh-intel Nov 10, 2023
be3044f
utils: kata-manager: Add option to list versions
jodh-intel Nov 6, 2023
0ead018
utils: kata-manager: Add Docker details to list output
jodh-intel Nov 6, 2023
b23952c
Merge pull request #8309 from gkurz/update-release-process-doc
stevenhorsman Nov 10, 2023
b0157ad
runtime: confidential: Do not set the max_vcpu to cpu
fidencio Aug 11, 2023
f588d31
Merge pull request #8374 from jodh-intel/kata-manager-check-dl-url-count
jodh-intel Nov 10, 2023
8d958b8
Merge pull request #8406 from microsoft/danmihai1/policy-doc
fidencio Nov 10, 2023
e477ed0
runtime: Improve vCPU allocation for the VMMs
fidencio Jun 30, 2023
5e9cf75
vc: utils: Rename CalculateMilliCPUs() to CalculateCPUsF()
fidencio Nov 10, 2023
849253e
tests: Add a simple test to check the VMM vcpu allocation
fidencio Nov 9, 2023
58e9709
dragonball: Changes for ZizhengBian's comments
justxuewei Oct 27, 2023
dcdf3c6
runtime-rs: Supply missing fields of NetworkConfig
justxuewei Oct 27, 2023
6cd572d
dragonball: Minor changes for Chao's comments
justxuewei Nov 1, 2023
e4f83e2
dragonball: vhost-net set_offload with acked features
justxuewei Nov 7, 2023
d1deaf0
dragonball: Minor changes for a comment from Bian
justxuewei Nov 12, 2023
0a9125e
Merge pull request #7675 from justxuewei/vhost-net
justxuewei Nov 12, 2023
7f666f7
runtime-rs: ch: Fix TDX
jodh-intel Nov 10, 2023
4d5b23b
Merge pull request #8419 from jodh-intel/2023-11-10-fix-tdx
jodh-intel Nov 13, 2023
ee17fe9
Revert "gha: ci: Revert tracing test PR to unbreak CI"
fidencio Oct 9, 2023
3c735c2
ci: tracing: Adapt to basic-ci-amd64.yaml
fidencio Oct 9, 2023
b481d39
gha: Move docker / nerdctl content to the basic-ci-amd64 file
fidencio Nov 13, 2023
98ec34b
Merge pull request #8338 from dborquez/improve_metrics_init_environment
dborquez Nov 13, 2023
a781ce3
Merge pull request #8383 from jodh-intel/kata-manager-add-list-option
jodh-intel Nov 13, 2023
c858ea1
Merge pull request #8174 from fidencio/topic/re-revert-8115
fidencio Nov 13, 2023
481486c
gha: Remove docker and nerdctl tests from CI
justxuewei Nov 14, 2023
dffc6f6
Merge pull request #8432 from justxuewei/rm-ci-docker-and-nerdctl
fidencio Nov 14, 2023
49c2e6e
dragonball: Remove vhost-net dependency on virtio-net
justxuewei Nov 13, 2023
bfd1ce3
kernel: Fix vsock packets drop when the vsock driver starts
alex-matei Nov 9, 2023
fd9b6d6
Merge pull request #7623 from fidencio/topic/runtime-improve-vcpu-all…
fidencio Nov 14, 2023
906f6b7
Merge pull request #8431 from UiPath/fix-vsock-packets-drop
fidencio Nov 14, 2023
f18794d
Merge pull request #8426 from justxuewei/vhost-rm-virtio-net
justxuewei Nov 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
120 changes: 120 additions & 0 deletions .github/workflows/basic-ci-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,43 @@ jobs:
- name: Run tracing tests
run: bash tests/integration/runk/gha-run.sh run

run-tracing:
strategy:
fail-fast: false
matrix:
vmm:
- clh # cloud-hypervisor
- qemu
runs-on: garm-ubuntu-2204-smaller
env:
KATA_HYPERVISOR: ${{ matrix.vmm }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.commit-hash }}
fetch-depth: 0

- name: Rebase atop of the latest target branch
run: |
./tests/git-helper.sh "rebase-atop-of-the-latest-target-branch"
env:
TARGET_BRANCH: ${{ inputs.target-branch }}

- name: Install dependencies
run: bash tests/functional/tracing/gha-run.sh install-dependencies

- name: get-kata-tarball
uses: actions/download-artifact@v3
with:
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
path: kata-artifacts

- name: Install kata
run: bash tests/functional/tracing/gha-run.sh install-kata kata-artifacts

- name: Run tracing tests
run: bash tests/functional/tracing/gha-run.sh run

run-vfio:
strategy:
fail-fast: false
Expand Down Expand Up @@ -198,3 +235,86 @@ jobs:
- name: Run vfio tests
timeout-minutes: 15
run: bash tests/functional/vfio/gha-run.sh run

run-docker-tests:
strategy:
# We can set this to true whenever we're 100% sure that
# all the tests are not flaky, otherwise we'll fail them
# all due to a single flaky instance.
fail-fast: false
matrix:
vmm:
- clh
- qemu
runs-on: garm-ubuntu-2304-smaller
env:
KATA_HYPERVISOR: ${{ matrix.vmm }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.commit-hash }}
fetch-depth: 0

- name: Rebase atop of the latest target branch
run: |
./tests/git-helper.sh "rebase-atop-of-the-latest-target-branch"
env:
TARGET_BRANCH: ${{ inputs.target-branch }}

- name: Install dependencies
run: bash tests/integration/docker/gha-run.sh install-dependencies

- name: get-kata-tarball
uses: actions/download-artifact@v3
with:
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
path: kata-artifacts

- name: Install kata
run: bash tests/integration/docker/gha-run.sh install-kata kata-artifacts

- name: Run docker smoke test
timeout-minutes: 5
run: bash tests/integration/docker/gha-run.sh run

run-nerdctl-tests:
strategy:
# We can set this to true whenever we're 100% sure that
# all the tests are not flaky, otherwise we'll fail them
# all due to a single flaky instance.
fail-fast: false
matrix:
vmm:
- clh
- dragonball
- qemu
runs-on: garm-ubuntu-2304-smaller
env:
KATA_HYPERVISOR: ${{ matrix.vmm }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.commit-hash }}
fetch-depth: 0

- name: Rebase atop of the latest target branch
run: |
./tests/git-helper.sh "rebase-atop-of-the-latest-target-branch"
env:
TARGET_BRANCH: ${{ inputs.target-branch }}

- name: Install dependencies
run: bash tests/integration/nerdctl/gha-run.sh install-dependencies

- name: get-kata-tarball
uses: actions/download-artifact@v3
with:
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
path: kata-artifacts

- name: Install kata
run: bash tests/integration/nerdctl/gha-run.sh install-kata kata-artifacts

- name: Run nerdctl smoke test
timeout-minutes: 5
run: bash tests/integration/nerdctl/gha-run.sh run
16 changes: 0 additions & 16 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,6 @@ jobs:
platforms: linux/amd64, linux/s390x
file: tests/integration/kubernetes/runtimeclass_workloads/confidential/unencrypted/Dockerfile

run-docker-tests-on-garm:
needs: build-kata-static-tarball-amd64
uses: ./.github/workflows/run-docker-tests-on-garm.yaml
with:
tarball-suffix: -${{ inputs.tag }}
commit-hash: ${{ inputs.commit-hash }}
target-branch: ${{ inputs.target-branch }}

run-nerdctl-tests-on-garm:
needs: build-kata-static-tarball-amd64
uses: ./.github/workflows/run-nerdctl-tests-on-garm.yaml
with:
tarball-suffix: -${{ inputs.tag }}
commit-hash: ${{ inputs.commit-hash }}
target-branch: ${{ inputs.target-branch }}

run-kata-deploy-tests-on-aks:
needs: publish-kata-deploy-payload-amd64
uses: ./.github/workflows/run-kata-deploy-tests-on-aks.yaml
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ jobs:
asc="${tarball}.asc"
curl -sSLO "${download_url}/${tarball}"
curl -sSLO "${download_url}/${asc}"
# "-m" option should be empty to re-use the existing release title
# without opening a text editor.
# For the details, check https://hub.github.com/hub-release.1.html.
gh release upload "${tag}" "${tarball}"
gh release upload "${tag}" "${asc}"
popd
56 changes: 0 additions & 56 deletions .github/workflows/run-docker-tests-on-garm.yaml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/run-nerdctl-tests-on-garm.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Automatically close stale PRs'
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
start-date: '2023-05-01T00:00:00Z'
stale-pr-message: 'This PR has been opened without with no activity for 180 days. Comment on the issue otherwise it will be closed in 7 days'
days-before-pr-stale: 180
days-before-pr-close: 7
days-before-issue-stale: -1
days-before-issue-close: -1
49 changes: 15 additions & 34 deletions docs/Release-Process.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@

## Requirements

- [hub](https://github.com/github/hub)
* Using an [application token](https://github.com/settings/tokens) is required for hub (set to a GITHUB_TOKEN environment variable).
- [gh](https://cli.github.com)
* Install and configure the GitHub CLI (gh) as detailed at https://docs.github.com/en/github-cli/github-cli/quickstart#prerequisites .

- GitHub permissions to push tags and create releases in Kata repositories.
- GitHub permissions to push tags and create releases in the Kata repository.

- GPG configured to sign git tags. https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key

- You should configure your GitHub to use your ssh keys (to push to branches). See https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/.
* As an alternative, configure hub to push and fork with HTTPS, `git config --global hub.protocol https` (Not tested yet) *
- `gh auth login` should have configured `git push` and `git pull` to use HTTPS along with your GitHub credentials,
* As an alternative, you can still rely on SSH keys to push branches. See https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account .

## Release Process


### Bump all Kata repositories
### Bump the Kata repository

Bump the repositories using a script in the Kata packaging repo, where:
Bump the repository using the `./update-repository-version.sh` script in the Kata [release](../tools/packaging/release) directory, where:
- `BRANCH=<the-branch-you-want-to-bump>`
- `NEW_VERSION=<the-new-kata-version>`
```
Expand All @@ -28,42 +28,23 @@
$ ./update-repository-version.sh -p "$NEW_VERSION" "$BRANCH"
```

### Merge all bump version Pull requests
### Merge the bump version Pull request

- The above step will create a GitHub pull request in the Kata projects. Trigger the CI using `/test` command on each bump Pull request.
- Trigger the `test-kata-deploy` workflow which is under the `Actions` tab on the repository GitHub page (make sure to select the correct branch and validate it passes).
- The above step will create a GitHub pull request in the Kata repository. Trigger the CI using `/test` command on the bump Pull request.
- Check any failures and fix if needed.
- Work with the Kata approvers to verify that the CI works and the pull requests are merged.
- Work with the Kata approvers to verify that the CI works and the pull request is merged.

### Tag all Kata repositories
### Tag the Kata repository

Once all the pull requests to bump versions in all Kata repositories are merged,
tag all the repositories as shown below.
Once the pull request to bump version in the Kata repository is merged,
tag the repository as shown below.
```
$ cd ${GOPATH}/src/github.com/kata-containers/kata-containers/tools/packaging/release
$ git checkout <kata-branch-to-release>
$ git pull
$ ./tag_repos.sh -p -b "$BRANCH" tag
```

### Point tests repository to stable branch

If your release changes a major or minor version number(not a patch release), then the above
`./tag_repos.sh` script will create a new stable branch in all the repositories in addition to tagging them.
This happens when you are making the first `rc` release for a new major or minor version in Kata.
In this case, you should modify the `tests` repository to point to the newly created stable branch and not the `main` branch.
The objective is that changes in the CI on the main branch will not impact the stable branch.

In the test directory, change references of the `main` branch to the new stable branch in:
* `README.md`
* `versions.yaml`
* `cmd/github-labels/labels.yaml.in`
* `cmd/pmemctl/pmemctl.sh`
* `.ci/lib.sh`
* `.ci/static-checks.sh`

See the commits in [the corresponding PR for stable-2.1](https://github.com/kata-containers/tests/pull/3504) for an example of the changes.

### Check Git-hub Actions

We make use of [GitHub actions](https://github.com/features/actions) in this [file](../.github/workflows/release.yaml) in the `kata-containers/kata-containers` repository to build and upload release artifacts. This action is auto triggered with the above step when a new tag is pushed to the `kata-containers/kata-containers` repository.
Expand All @@ -72,7 +53,7 @@

### Create release notes

We have a script in place in the packaging repository to create release notes that include a short-log of the commits across Kata components.
We have the `./release-notes.sh` script in the [release](../tools/packaging/release) directory to create release notes that include a short-log of the commits.

Run the script as shown below:

Expand All @@ -82,7 +63,7 @@
$ ./release-notes.sh ${OLD_VERSION} ${NEW_VERSION} > notes.md
# Edit the `notes.md` file to review and make any changes to the release notes.
# Add the release notes in the project's GitHub.
$ hub release edit -F notes.md "${NEW_VERSION}"
$ gh release edit "${NEW_VERSION}" -F notes.md
```

### Announce the release
Expand Down
Loading
Loading