Skip to content

Commit

Permalink
job-builder: add CoCo operator jobs for Ubuntu 22.04
Browse files Browse the repository at this point in the history
Run jobs on Ubuntu 22.04 with containerd 1.7, so we test the case here
`INSTALL_OFFICIAL_CONTAINERD=false`, i.e., the operator will use the
system's containerd.

Fixes kata-containers#551
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
  • Loading branch information
wainersm committed Oct 31, 2023
1 parent a0b1961 commit e6b2cb8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions jobs-builder/jobs/cc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@
name: "Generate jobs for the Confidential Containers Operator"
os:
- ubuntu-20.04
- ubuntu-22.04
arch:
- x86_64
baremetal: "false"
Expand Down
4 changes: 4 additions & 0 deletions jobs-builder/jobs/include/operator-ci_entrypoint.sh.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@

sudo apt-get update -y
sudo apt-get install -y ansible python-is-python3
# Ubuntu 22.04 comes with docker community edition that we don't want to
# use.
sudo apt-get remove -y docker-ce docker-ce-cli containerd.io || true
sudo apt autoremove -y
cd tests/e2e
export PATH="$PATH:/usr/local/bin"
./run-local.sh -r "{{ runtimeclass }}" {%+ if baremetal == "true" %}-u{% endif %}
Expand Down
2 changes: 2 additions & 0 deletions jobs-builder/jobs/include/os2node.yaml.inc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ fedora35_azure
ubuntu1804_azure || ubuntu1804-azure
{%- elif os == "ubuntu-20.04" -%}
ubuntu_20.04
{%- elif os == "ubuntu-22.04" -%}
ubuntu22_04
{%- elif os == "ubuntu-20.04_sev" -%}
amd-ubuntu-2004
{%- elif os == "ubuntu-20.04_snp" -%}
Expand Down

0 comments on commit e6b2cb8

Please sign in to comment.