Skip to content

Commit

Permalink
Merge pull request #547 from UnmeshDeodhar/add-snp-job
Browse files Browse the repository at this point in the history
job-builder: Add SNP job
  • Loading branch information
wainersm committed Jul 11, 2023
2 parents 50880a8 + 96d51f0 commit a0b1961
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
36 changes: 36 additions & 0 deletions jobs-builder/jobs/cc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,42 @@
jobs:
- '{repo}-CCv0-{os}-{arch}-{ci_job}-PR'
- 'kata-containers-CCv0-{os}-{arch}-{ci_job}-baseline'
- project:
# The node label is selected based on this project name. Be careful if you
# need to change the name.
name: "Generate jobs for the Confidential Containers Operator on AMD SEV-SNP"
os:
- ubuntu-20.04_snp
arch:
- x86_64
baremetal: "true"
container_runtime:
- containerd
runtimeclass:
- kata-qemu-snp
maintainers:
- '@UnmeshDeodhar'
jobs:
- 'confidential-containers-operator-main-{os}-{arch}-{container_runtime}_{runtimeclass}-PR'
- 'confidential-containers-operator-main-{os}-{arch}-{container_runtime}_{runtimeclass}-baseline'
- project:
name: "Generate jobs for Confidential Containers on AMD SEV-SNP"
repo:
- kata-containers
- tests
os:
- ubuntu-20.04_snp
arch:
- x86_64
baremetal: "true"
tee: "snp"
ci_job:
- CC_SNP_CRI_CONTAINERD_K8S
maintainers:
- '@UnmeshDeodhar'
jobs:
- '{repo}-CCv0-{os}-{arch}-{ci_job}-PR'
- 'kata-containers-CCv0-{os}-{arch}-{ci_job}-baseline'

###
# Define stand-alone jobs.
Expand Down
5 changes: 3 additions & 2 deletions jobs-builder/jobs/include/os2node.yaml.inc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ ubuntu1804_azure || ubuntu1804-azure
{%- elif os == "ubuntu-20.04" -%}
ubuntu_20.04
{%- elif os == "ubuntu-20.04_sev" -%}
{# Run Kata and Operator CI jobs on different nodes. #}
{{- "amd-ubuntu-2004_op-ci" if "Confidential Containers Operator" in name else "amd-ubuntu-2004" -}}
amd-ubuntu-2004
{%- elif os == "ubuntu-20.04_snp" -%}
amd-milan-ubuntu-2004
{%- elif os == "ubuntu-20.04-ARM" -%}
arm_node || arm-ubuntu-2004
{%- endif %}

0 comments on commit a0b1961

Please sign in to comment.