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

job-builder: add CoCo operator jobs for Ubuntu 22.04 #552

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading