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

Test PR #130

Merged
merged 240 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
8839ca9
gha: Disable stratovirt for gha metrics
GabyCT Nov 22, 2023
98aa291
runtime-rs: Add Hybrid VSOCK device handling for CH
Aug 30, 2023
d238672
runtime-rs: split the block volume into block and rawblock volume
Apokleos Nov 24, 2023
6731466
runtime-rs: set a standard NotFound when direct volume path not found.
Apokleos Nov 25, 2023
17d2d46
runtime-rs: re-organize the volumes with adding new direct_volumes.
Apokleos Nov 25, 2023
b952c5c
runtime-rs: add support kata/multi-containers sharing one spdk volume.
Apokleos Nov 25, 2023
eb90962
runtime-rs: introduce a new function generate_vhost_vsock_cid.
Apokleos Nov 27, 2023
e31dbc9
runtime-rs: remove vhost_fd from VsockConfig and make it cloneable.
Apokleos Nov 27, 2023
1a6b45d
runtime-rs: Reintroduce Vsock and add it to the DeviceType enum
Apokleos Nov 27, 2023
6af0592
runtime-rs: Add vsock device in device manager.
Apokleos Nov 27, 2023
e3becea
runtime-rs: add support kata/multi-containers sharing one vfio volume.
Apokleos Nov 25, 2023
f973729
runtime-rs: Enhancing DirectVolMount Handling for current Infra.
Apokleos Nov 25, 2023
e3fd403
runtime-rs: enhancement of spdk volume.
Apokleos Nov 25, 2023
fe68f25
runtime-rs: enhancement of vfio volume.
Apokleos Nov 25, 2023
89ef464
build: Install rust config files to runtime-rs directory
jodh-intel Nov 14, 2023
b86ab5a
runtime-rs: Update list of config paths to check
jodh-intel Nov 14, 2023
8086047
runtime-rs: Remove the golang config paths
fidencio Nov 23, 2023
3f16d29
kernel: measured rootfs as argument to build-kernel.sh
wainersm Jul 4, 2023
34be78d
kernel: moved measured rootfs logic to its builder
wainersm Jul 4, 2023
4dbba52
shim-v2: moved measured rootfs logic to its builder
wainersm Jul 4, 2023
1465e58
kernel: ensure initramfs exist when measured rootfs
wainersm Jul 4, 2023
72ef823
shim-v2: ensure root hash exist when measured rootfs
wainersm Jul 4, 2023
ba4f806
initramfs: re-wrote devices checking on init.sh
wainersm Oct 24, 2023
428daf9
tests/k8s: add utilities functions for the tests
wainersm Oct 19, 2023
36ea1b8
tests/k8s: add new_pod_config() to lib.sh
wainersm Oct 19, 2023
a13eecf
runtime(-rs): add clean-generated-files target
wainersm Oct 24, 2023
9a9c7a5
tests/k8s: add set_metadata_annotation() to lib.sh
wainersm Oct 19, 2023
220a2d9
tests/k8s: add assert_logs_contain() to lib.sh
wainersm Oct 25, 2023
c6075c8
tests/k8s: add setup common
wainersm Oct 25, 2023
1eae657
tests/k8s: add set_node() to lib.sh
wainersm Oct 26, 2023
48bdca4
tests/k8s: add k8s-measured-rootfs.bats
wainersm Oct 19, 2023
9166d0a
docs: Update iperf3 network documentation
GabyCT Nov 28, 2023
fc28dee
kata-deploy: Use rust runtime config files in runtime-rs directory
jodh-intel Nov 14, 2023
d4e0023
kata-deploy: Improve the logic for linking to the rust runtime
fidencio Nov 23, 2023
158ca17
kata-deploy: Add cloud-hypervisor
jodh-intel Nov 14, 2023
61aa84b
Revert "tests: k8s: Allow passing rust-runtime env var to kata-deploy"
fidencio Nov 23, 2023
eaa6b1b
tests: move static checks and dependencies from tests
Nov 22, 2023
8ad433d
tests: move markdown check tool to main repo
Nov 22, 2023
7f3c12f
tests: move spell check tool to main repo
Nov 22, 2023
66f3944
tests: move github-labels to main repo
Nov 22, 2023
6d9cb93
tests: update scripts for static checks migration
Nov 22, 2023
30acb5a
tests: nydus: Adapt the default config file for runtime-rs based drivers
fidencio Nov 28, 2023
05efb23
tests: update go.mod and go.sum
Nov 29, 2023
a5a73a1
tests: Replace `kata-runtime kata-env` by `kata-runtime env`
fidencio Nov 29, 2023
38183ac
tests: Use `kata-ctl` instead of `kata-runtime` for runtime-rs
fidencio Nov 29, 2023
8fd39d1
tests: Adapt `enable_hypervisor`to the runtime-rs config location change
fidencio Nov 29, 2023
1f1e537
Merge pull request #8497 from GabyCT/topic/removemetricsstratovirt
GabyCT Nov 29, 2023
613c75b
runtime: Update hypervisor generated code
stevenhorsman Nov 21, 2023
47b8c31
runtime: remote hypervisor updates to ttrpc
stevenhorsman Nov 24, 2023
96deea5
tests: more k8s-exec-rejected debug output
danmihai1 Oct 20, 2023
37633d3
metrics: Fix iperf parallel bandwidth limit
GabyCT Nov 29, 2023
1284b4e
tools: Stop building / shipping log-parser-rs
fidencio Nov 29, 2023
f15e16b
Revert "runtime: confidential: Do not set the max_vcpu to cpu"
fidencio Nov 29, 2023
811ec07
osbuilder: add pkg bash for alpine
cheriL Nov 16, 2023
6a922f0
gha: fix artefacts build on ppc64le
Amulyam24 Nov 29, 2023
9b30d97
Merge pull request #8533 from fidencio/topic/fix-invalid-cpu-topology…
fidencio Nov 30, 2023
80fcc56
Merge pull request #8528 from fidencio/topic/stop-building-and-shippi…
fidencio Nov 30, 2023
3d5db65
Merge pull request #8526 from Amulyam24/workflow-ppc
Amulyam24 Nov 30, 2023
c611028
Merge pull request #8520 from stevenhorsman/hypervisor-ttrpc
stevenhorsman Nov 30, 2023
48e5596
Merge pull request #8456 from cheriL/8447/alpine_bash
gkurz Nov 30, 2023
38f24c4
Merge pull request #8271 from microsoft/danmihai1/exec-test-failure
danmihai1 Nov 30, 2023
b3da71f
dragonball: init dbs-pci lib with pci bus & pci conf
studychao Nov 17, 2023
2bd21f7
Merge pull request #8531 from GabyCT/topic/fixiperfli
GabyCT Nov 30, 2023
207a7fe
Merge pull request #7815 from cmaf/runtime-rs-ch-vsock
Nov 30, 2023
818b8f9
Merge pull request #8288 from cmaf/migrate-static-checks
Dec 1, 2023
1cd1558
mount: support checking multiple kinds of block device driver
yuchen0cc Jul 26, 2022
f9f1d3a
libs:logging: Fix logger
jodh-intel Dec 1, 2023
852021e
Merge pull request #8483 from fidencio/topic/move-rust-config-files-t…
fidencio Dec 1, 2023
f05ada5
libs: protection: x86_64: drop root requirement for querying
jodh-intel Dec 1, 2023
e1caca3
kata-ctl: Remove root requirement for "env"
jodh-intel Dec 1, 2023
c5178dd
runtime-rs: Introduce Capability of HybridVsockSupport.
Apokleos Dec 4, 2023
60f88da
runtime-rs: add Capability of HybridVsockSupport for Hypervisor.
Apokleos Dec 4, 2023
6c08cf3
runtime-rs: Introduce prepare_vm_socket_config to VirtSandbox.
Apokleos Dec 4, 2023
0fabfa3
runtime-rs: bring support for legacy vsock device.
Apokleos Dec 4, 2023
7beab11
Merge pull request #8547 from jodh-intel/unbreak-logger
jodh-intel Dec 4, 2023
52fd57e
Merge pull request #8301 from Apokleos/do-direct-volume
studychao Dec 4, 2023
b816dca
image-builder: fix incorrect part start position
Lu-Biao Nov 9, 2023
03c3f42
kernel: Add CONFIG_TDX_GUEST_DRIVER to the tdx.conf
fidencio Dec 4, 2023
1550ee6
Merge pull request #8480 from openanolis/chao/add_dbs_pci
studychao Dec 4, 2023
e4aebb4
Merge pull request #8549 from jodh-intel/tdx-no-root
jodh-intel Dec 4, 2023
8d7e0f7
Merge pull request #8556 from fidencio/topic/kernel-add-tdx-guest-driver
fidencio Dec 4, 2023
dfc07d1
gha: stability: Add cloud-hypervisor (runtime-rs) support
GabyCT Dec 1, 2023
1b204cc
Merge pull request #8550 from GabyCT/topic/enableclhstability
GabyCT Dec 4, 2023
1c00a9a
Merge pull request #8524 from GabyCT/topic/addiperfinfo
GabyCT Dec 4, 2023
9ede2bc
local-build: differentiate build targets based on architecture
BbolroC May 22, 2023
8de4241
kata-deploy: add kata-qemu-se runtimeclass
BbolroC May 22, 2023
2b05029
docs: Update cri installation url link
GabyCT Nov 30, 2023
bb1d4ad
config: add SE configuration
BbolroC May 22, 2023
6d0dabd
gha: build secure image for s390x release
BbolroC May 22, 2023
a63a695
local-build: install s390-tools in Dockerfile
BbolroC May 22, 2023
4de8ef3
local-build: add build target boot-image-se
BbolroC May 22, 2023
511dd5f
local-build: add support to build IBM Z SE image
BbolroC May 22, 2023
2df8144
runtime-rs: Launch cloud-hypervisor in given netns
amshinde Dec 4, 2023
e8b28fe
Merge pull request #8540 from GabyCT/topic/fixctrdoc
GabyCT Dec 4, 2023
1a74142
gha: basic-ci: Add a timeout for the tests
fidencio Dec 5, 2023
a14f2fc
gha: runk: Fix typo in the test name
fidencio Dec 5, 2023
45c0364
runtime-rs: Fix typo in task service
jodh-intel Dec 4, 2023
d627893
runtime-rs: Show config files attempted on config load failure
jodh-intel Dec 4, 2023
93c0fc2
Merge pull request #8551 from amshinde/runtime-rs-setns-clh
jodh-intel Dec 5, 2023
1650d02
Merge pull request #8516 from Apokleos/vsock-dev
gkurz Dec 5, 2023
d9daadf
Merge pull request #8558 from jodh-intel/load-config-improvement
jodh-intel Dec 5, 2023
16ad721
cri-containerd: dragonball: Enable, but do not run, the tests
fidencio Dec 5, 2023
a8a156b
stability: dragonball: Enable, but do not run, the tests
fidencio Dec 5, 2023
05ce52d
devmapper: dragonball: Enable, but do not run, the tests
fidencio Dec 5, 2023
61b8686
docs: Update config containerd url link
GabyCT Dec 5, 2023
e2c6b8a
Merge pull request #4743 from yuchen0cc/main
jepio Dec 5, 2023
f75f17c
Merge pull request #8570 from fidencio/topic/gha-dragonball-enable-so…
fidencio Dec 5, 2023
d149b9f
Merge pull request #7231 from wainersm/measured_rootfs-improvements
fidencio Dec 5, 2023
2cd0031
Merge pull request #8573 from fidencio/topic/gha-add-a-timeout-for-tests
fidencio Dec 5, 2023
b056683
Merge pull request #8436 from Lu-Biao/main
fidencio Dec 5, 2023
955dec0
runtime-rs: add network hotplug for clh
amshinde Dec 4, 2023
d6cfbe9
dragonball: support vhost-user-fs
mofishzz Apr 20, 2023
2a1fc29
dragonball: add unit test for vhost-user-fs
mofishzz Apr 24, 2023
1638055
deployment: Create a stable overaly for kata-deploy
zvonkok Nov 23, 2023
3d149d3
Merge pull request #8578 from GabyCT/topic/fixlinkconfig
GabyCT Dec 6, 2023
62fdebe
metrics: Update TensorFlow ResNet FP32 dockerfile
GabyCT Dec 6, 2023
56dddab
metrics: Update command to run tensorflow resnet fp32 benchmark
GabyCT Dec 6, 2023
c14e309
Merge pull request #8580 from amshinde/runtime-rs-clh-network-hotplug
fidencio Dec 6, 2023
a661ac3
runtime-rs: Implement and use try_from for DiskConfig
amshinde Dec 5, 2023
5629b74
dragonball: support vhost-user-fs in device manager
mofishzz Apr 21, 2023
501910d
Merge pull request #8509 from zvonkok/stable-overlay
gkurz Dec 7, 2023
0d5a970
GHA: remove GITHUB_WORKSPACE when workflow fails due to merge conflict
BbolroC Dec 7, 2023
ad6aab9
Merge pull request #8601 from BbolroC/conflict-handling-for-self-host…
BbolroC Dec 7, 2023
e70b2ea
gha: nerdctl: Enable cloud hypervisor runtime-rs for nerdctl CI
GabyCT Dec 7, 2023
50a5fa9
tests: Enable but do not run the nerdctl tests for cloud hypervisor
GabyCT Dec 7, 2023
acee3d8
gha: k8s: Add cloud-hypervisor (runtime-rs) support
GabyCT Dec 4, 2023
33b3004
tests: Enable but do not run k8s tests for cloud hypervisor
GabyCT Dec 7, 2023
ce694b9
tests: Fix indentation of gha-run script
GabyCT Dec 7, 2023
298be4a
Merge pull request #8594 from GabyCT/topic/updatedockerfilet
dborquez Dec 7, 2023
9ceb2c2
local-build: consider cross-compilation env
BbolroC Jun 1, 2023
52bdc87
local-build: make kernel parameters configurable
BbolroC Jun 7, 2023
31db562
local-build: add support for key verification for IBM Secure Execution
BbolroC Jun 26, 2023
f38c7f1
gha: remove build redundancy of kernel and rootfs-initrd
BbolroC Oct 23, 2023
3fab169
local-build: make strip support for cross-compilation
BbolroC Oct 23, 2023
0e0a7d9
Merge pull request #8604 from GabyCT/topic/enablenerdctlrs
GabyCT Dec 7, 2023
458e91b
runtime-rs: Update readme to indicate cloud-hypervisor support
amshinde Dec 6, 2023
a5105b4
Merge pull request #8582 from amshinde/runtime-rs-tryfrom-blkconfig
amshinde Dec 7, 2023
a062ba1
metrics: cleans k8s iperf deployment when the test finishes.
dborquez Nov 29, 2023
b257700
metrics: Expose iperf3 pods over a k8s networks.
dborquez Dec 8, 2023
69fdd05
kata-ctl: Moved log-parser-rs into kata-ctl
gabevenberg Nov 28, 2023
588f639
Merge pull request #6755 from BbolroC/add-se-artifacts-to-main
BbolroC Dec 8, 2023
5054e59
Merge pull request #8429 from adamqqqplay/support-vhost-user-fs
studychao Dec 8, 2023
636eef8
GHA: make secrets inherited for build-kata-static-tarball-s390x
BbolroC Dec 8, 2023
f3eeab1
tests: nerdctl: Enable nerdctl tests for cloud hypervisor runtime-rs
GabyCT Dec 8, 2023
9d38f01
Merge pull request #8612 from BbolroC/introduce-secret-inheritance-s390x
zvonkok Dec 8, 2023
bf97051
runtime-rs: fix panic when hypervisor mismatches with configuration
liubogithub Dec 5, 2023
3ad43df
CI: static-checks: Improve markdown checker test
jodh-intel Dec 6, 2023
563ea02
CI: static-checks: Fold long line
jodh-intel Dec 6, 2023
efa8e65
CI: static-checks: Check params have a value
jodh-intel Dec 6, 2023
6d859f9
CI: static-checks: Lint fixes
jodh-intel Dec 6, 2023
613def0
CI: static-checks: Move curl to a separate function
jodh-intel Dec 6, 2023
3779261
docs: Fix whitespace
jodh-intel Dec 8, 2023
3174c18
docs: Remove problematic URL
jodh-intel Dec 8, 2023
5d085a3
CI: static-checks: Try multiple user agents
jodh-intel Dec 6, 2023
1c42d94
Merge pull request #6826 from gabevenberg/log-parser-rs
Dec 8, 2023
1662a3e
common: Add cloud hypervisor in enabling hypervisor function
GabyCT Dec 8, 2023
df7f416
Merge pull request #8566 from liubogithub/liubo/dev/panic_fix
studychao Dec 10, 2023
40f0c8f
GHA: Use --client=true for k3s kubectl version
BbolroC Dec 11, 2023
b469dbf
Merge pull request #8622 from BbolroC/hotfix-k3s-kubectl-version
BbolroC Dec 11, 2023
28c3e0e
GHA: Fix kata-deploy-runtime-classes-check for kata-qemu-se
BbolroC Dec 11, 2023
2a35541
Merge pull request #8592 from jodh-intel/static-checks-try-multiple-u…
jodh-intel Dec 11, 2023
16e2a50
Merge pull request #8624 from BbolroC/fix-runtime-class-check-qemu-se
BbolroC Dec 11, 2023
375c787
rootfs: build OPA binary from source for ppc64le and s390x
BbolroC Aug 28, 2023
52f7a40
dragonball: add --all for fmt ci
studychao Dec 7, 2023
ea2a0dc
Merge pull request #7769 from BbolroC/opa-multiarch
BbolroC Dec 11, 2023
43410e1
Merge pull request #8560 from GabyCT/topic/enablek8srs
GabyCT Dec 11, 2023
198e4ad
Merge pull request #8599 from openanolis/chao/fix_cargo_fmt
studychao Dec 11, 2023
584a26d
Merge pull request #8542 from dborquez/metrics_fix_deployment_cleaning
dborquez Dec 11, 2023
ee74fca
Merge pull request #8617 from GabyCT/topic/enabletestnerdctl
GabyCT Dec 11, 2023
b079e1a
dragonball: add pci root bus and root device
studychao Nov 22, 2023
86918e9
dragonball: Disable packed virtqueue for vhost-user devices
justxuewei Dec 12, 2023
a9d3607
static-checks: Fix directory for github labels
Dec 12, 2023
5637f11
kata-ctl: Add option to dump config files
jodh-intel Dec 12, 2023
1195692
runtime-rs: ch: Move state handling to top-level APIs
jodh-intel Dec 12, 2023
8fd5ef7
metrics: Update TensorFlow ResNet50 Int8 Dockerfile
GabyCT Dec 12, 2023
23f7665
metrics: Update command to run the tensorflow int8 benchmark
GabyCT Dec 12, 2023
39f5cea
kata-deploy: Fix k0s cri notation comment
fidencio Dec 12, 2023
2a518f0
runtime-rs: ch: Change state when VM stopped
jodh-intel Dec 12, 2023
b11c772
static-checks: Change dir for building tools
Dec 12, 2023
63636b8
static-checks: Update copyright dates
Dec 12, 2023
b46cb22
static-checks: Direct Makefile to use new static checks
Dec 13, 2023
af4622f
docs: Remove warning for cgroupsv2 only operating systems
wvell Dec 6, 2023
855adbc
Merge pull request #8634 from justxuewei/disable-packed-vq
justxuewei Dec 13, 2023
d7c6219
Merge pull request #8630 from jodh-intel/runtime-rs-ch-set-state-on-v…
jodh-intel Dec 13, 2023
4f01f29
kata-deploy: Install `tomlq` to the base image
fidencio Dec 12, 2023
dd9f5b0
kata-deploy: Use tomlq to configure containerd
fidencio Dec 12, 2023
e618949
kata-deploy: Remove useless comment from CRI-O drop-in
fidencio Dec 13, 2023
7ad873c
kata-deploy: Simplify shim configuration
fidencio Dec 13, 2023
dfaf006
Merge pull request #8564 from openanolis/chao/add_pci_root_bus_device
studychao Dec 13, 2023
05e278d
GHA: Put all the preliminary steps into pre-action for s390x
BbolroC Dec 13, 2023
a998e89
Merge pull request #8639 from fidencio/topic/kata-deploy-use-tomlq-to…
fidencio Dec 13, 2023
8151117
metrics: Improve latency network cleanup
GabyCT Dec 13, 2023
6c2e2a9
Merge pull request #8635 from cmaf/migrate-static-checks-gha
Dec 14, 2023
c11b066
runtime-rs: Use vhost-net device by default
justxuewei Dec 11, 2023
82fde44
dragonball: Set default queue config for vhost-net device
justxuewei Dec 11, 2023
fbc0446
Merge pull request #8649 from BbolroC/put-pre-action-gha-s390x
BbolroC Dec 14, 2023
0db820f
gha: add a post cleanup script for cri-containerd ppc64le workflow
Amulyam24 Dec 14, 2023
7f611df
Merge pull request #8609 from justxuewei/runtime-rs-vhost-net
justxuewei Dec 14, 2023
80d631e
runtime-rs: Add attribute serde rename to each field of DirectVolume.
Apokleos Dec 10, 2023
aa42f0a
runtime-rs: Enhancement of DirectVolume when using CSI.
Apokleos Dec 10, 2023
9834797
.github: fix error when making checks for CoCo guest pull
Nov 22, 2023
dfad0e6
.github: fix the failure without devicemapper for host sharing
Nov 17, 2023
c7c7632
Merge pull request #8620 from Apokleos/enhance-directv-using-csi
Apokleos Dec 14, 2023
ac7b3d4
Merge pull request #8667 from Amulyam24/workflow
Amulyam24 Dec 14, 2023
c92b14d
tests: k8s: Fix indentation in setup script
GabyCT Dec 14, 2023
1bd9c1b
Merge pull request #8589 from wvell/patch-1
gkurz Dec 14, 2023
04de6eb
Merge pull request #8674 from ChengyuZhu6/fix_statis_check
stevenhorsman Dec 14, 2023
58e88d9
agent: correct CPUShares and CPUWeight value
jongwu Oct 31, 2023
0831529
Merge pull request #8644 from GabyCT/topic/updadockerresint
GabyCT Dec 14, 2023
7a606a1
Merge pull request #8659 from GabyCT/topic/improvecleanuplatency
GabyCT Dec 14, 2023
4a49dd7
Merge pull request #8676 from GabyCT/topic/fixins
GabyCT Dec 14, 2023
d428a3f
runtim-rs: get guest memory details
Tim-0731-Hzt Feb 23, 2023
81e55c4
runtime-rs: add resize_memory trait for hypervisor
Tim-0731-Hzt May 17, 2023
8d9fd9c
runtime-rs: support memory resize
Tim-0731-Hzt May 17, 2023
6039417
runtime-rs: add default_maxmemory in config file
Tim-0731-Hzt Jun 21, 2023
9a37e77
runtime-rs: check the update memory size
Tim-0731-Hzt Jun 21, 2023
0f80dc6
Merge pull request #6876 from openanolis/memory_hotlug
Tim-0731-Hzt Dec 15, 2023
510bc36
github-actions: Remove ignore paths for required CI checks
amshinde Dec 14, 2023
bfb7561
ci: Use static checks from kata repo for lib functions
Dec 16, 2023
b785ef9
docs: Change location of static checks script
Dec 16, 2023
1cfcc80
Merge pull request #8664 from amshinde/remove-ignore-paths-ga
gkurz Dec 18, 2023
3c49120
Merge pull request #8641 from jodh-intel/kata-ctl-add-cfg-file-cli-op…
jodh-intel Dec 18, 2023
2987d3e
Merge pull request #8341 from jongwu/fix_cpushares
gkurz Dec 18, 2023
3cd0cc1
runtime-rs: Separate init_config() from new() for struct VsockDevice
BbolroC Dec 14, 2023
3124755
Merge pull request #8682 from cmaf/static-checks-update-loc
Dec 18, 2023
1469a5e
tests: k8s: Fix indentation in confidential common script
GabyCT Dec 18, 2023
ceea888
Merge pull request #8672 from BbolroC/introduce-vsock-device-init
BbolroC Dec 18, 2023
039fe7f
dragonball: Trigger unit tests of dbs_* subcrates by `make test`
justxuewei Dec 18, 2023
ec30d5a
Merge pull request #8700 from justxuewei/dbs-ut
justxuewei Dec 19, 2023
551a50c
tests: additional run-runk logging
danmihai1 Dec 18, 2023
6cea8a5
Merge pull request #8697 from microsoft/danmihai1/runk
danmihai1 Dec 19, 2023
5504176
Merge pull request #8699 from GabyCT/topic/fixconfidentialscript
GabyCT Dec 19, 2023
7e5868a
Merge pull request #8588 from amshinde/runtime-rs-update-readme
amshinde Dec 20, 2023
9e718b4
gha: kata-deploy: Add containerd status check
stevenhorsman Dec 15, 2023
ee5fa08
Revert "kata-deploy: Use tomlq to configure containerd"
stevenhorsman Dec 18, 2023
ce094ec
Merge pull request #8679 from stevenhorsman/kata-deploy-containerd-co…
gkurz Dec 20, 2023
41320c5
kata-deploy: Install jq from GitHub
fidencio Dec 20, 2023
c9e631d
kata-deploy: Reapply "kata-deploy: Use tomlq to configure containerd"
fidencio Dec 20, 2023
3482256
Merge pull request #8709 from fidencio/topic/update-jq-for-kata-deploy
fidencio Dec 20, 2023
b1c8818
Merge upstream main at 3482256
sprt Dec 20, 2023
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
12 changes: 9 additions & 3 deletions .github/workflows/basic-ci-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
containerd_version: ['lts', 'active']
vmm: ['clh', 'qemu', 'stratovirt']
vmm: ['clh', 'dragonball', 'qemu', 'stratovirt']
runs-on: garm-ubuntu-2204-smaller
env:
CONTAINERD_VERSION: ${{ matrix.containerd_version }}
Expand Down Expand Up @@ -53,14 +53,15 @@ jobs:
run: bash tests/integration/cri-containerd/gha-run.sh install-kata kata-artifacts

- name: Run cri-containerd tests
timeout-minutes: 10
run: bash tests/integration/cri-containerd/gha-run.sh run

run-containerd-stability:
strategy:
fail-fast: false
matrix:
containerd_version: ['lts', 'active']
vmm: ['clh', 'qemu', 'stratovirt']
vmm: ['clh', 'cloud-hypervisor', 'dragonball', 'qemu', 'stratovirt']
runs-on: garm-ubuntu-2204-smaller
env:
CONTAINERD_VERSION: ${{ matrix.containerd_version }}
Expand Down Expand Up @@ -91,6 +92,7 @@ jobs:
run: bash tests/stability/gha-run.sh install-kata kata-artifacts

- name: Run containerd-stability tests
timeout-minutes: 15
run: bash tests/stability/gha-run.sh run

run-nydus:
Expand Down Expand Up @@ -132,6 +134,7 @@ jobs:
run: bash tests/integration/nydus/gha-run.sh install-kata kata-artifacts

- name: Run nydus tests
timeout-minutes: 10
run: bash tests/integration/nydus/gha-run.sh run

run-runk:
Expand Down Expand Up @@ -162,7 +165,8 @@ jobs:
- name: Install kata
run: bash tests/integration/runk/gha-run.sh install-kata kata-artifacts

- name: Run tracing tests
- name: Run runk tests
timeout-minutes: 10
run: bash tests/integration/runk/gha-run.sh run

run-tracing:
Expand Down Expand Up @@ -200,6 +204,7 @@ jobs:
run: bash tests/functional/tracing/gha-run.sh install-kata kata-artifacts

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

run-vfio:
Expand Down Expand Up @@ -288,6 +293,7 @@ jobs:
- clh
- dragonball
- qemu
- cloud-hypervisor
runs-on: garm-ubuntu-2304-smaller
env:
KATA_HYPERVISOR: ${{ matrix.vmm }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-kata-static-tarball-amd64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
- kernel-nvidia-gpu
- kernel-nvidia-gpu-snp
- kernel-nvidia-gpu-tdx-experimental
- log-parser-rs
- nydus
- ovmf
- ovmf-sev
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-kata-static-tarball-ppc64le.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
with:
ref: ${{ inputs.commit-hash }}
fetch-depth: 0 # This is needed in order to keep the commit ids history

- name: Prepare the self-hosted runner
run: ${HOME}/scripts/prepare_runner.sh

- name: Rebase atop of the latest target branch
run: |
Expand Down
54 changes: 48 additions & 6 deletions .github/workflows/build-kata-static-tarball-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ jobs:
stage:
- ${{ inputs.stage }}
steps:
- name: Adjust a permission for repo
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- name: Take a pre-action for self-hosted runner
run: ${HOME}/script/pre_action.sh ubuntu-2204

- name: Login to Kata Containers quay.io
if: ${{ inputs.push-to-registry == 'yes' }}
Expand Down Expand Up @@ -83,13 +82,56 @@ jobs:
retention-days: 15
if-no-files-found: error

create-kata-tarball:
build-asset-boot-image-se:
runs-on: s390x
needs: build-asset
steps:
- name: Adjust a permission for repo
- name: Take a pre-action for self-hosted runner
run: ${HOME}/script/pre_action.sh ubuntu-2204

- uses: actions/checkout@v3

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

- name: Place a host key document
run: |
mkdir -p "host-key-document"
cp "${CI_HKD_PATH}" "host-key-document"
env:
CI_HKD_PATH: ${{ secrets.CI_HKD_PATH }}

- name: Build boot-image-se
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
base_dir=tools/packaging/kata-deploy/local-build/
cp -r kata-artifacts ${base_dir}/build
# Skip building dependant artifacts of boot-image-se-tarball
# because we already have them from the previous build
sed -i 's/\(^boot-image-se-tarball:\).*/\1/g' ${base_dir}/Makefile
make boot-image-se-tarball
build_dir=$(readlink -f build)
sudo cp -r "${build_dir}" "kata-build"
sudo chown -R $(id -u):$(id -g) "kata-build"
env:
HKD_PATH: "host-key-document"

- name: store-artifact boot-image-se
uses: actions/upload-artifact@v3
with:
name: kata-artifacts-s390x${{ inputs.tarball-suffix }}
path: kata-build/kata-static-boot-image-se.tar.xz
retention-days: 1
if-no-files-found: error

create-kata-tarball:
runs-on: s390x
needs: [build-asset, build-asset-boot-image-se]
steps:
- name: Take a pre-action for self-hosted runner
run: ${HOME}/script/pre_action.sh ubuntu-2204

- uses: actions/checkout@v4
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cargo-deny-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- edited
- reopened
- synchronize
paths-ignore: [ '**.md', '**.png', '**.jpg', '**.jpeg', '**.svg', '/docs/**' ]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/ci-nightly-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jobs:
k8s-cri-containerd-rhel9-e2e-tests:
runs-on: s390x-rhel9
steps:
- name: Delete the existing files
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
sudo rm -rf $GITHUB_WORKSPACE/*

- name: Take a pre-action for self-hosted runner
run: |
${HOME}/script/pre_action.sh rhel9-nightly
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci-on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ on:
- synchronize
- reopened
- labeled
paths-ignore:
- 'docs/**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
tarball-suffix: -${{ inputs.tag }}
commit-hash: ${{ inputs.commit-hash }}
target-branch: ${{ inputs.target-branch }}
secrets: inherit

build-kata-static-tarball-ppc64le:
uses: ./.github/workflows/build-kata-static-tarball-ppc64le.yaml
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/darwin-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
- edited
- reopened
- synchronize
paths-ignore: [ '**.md', '**.png', '**.jpg', '**.jpeg', '**.svg', '/docs/**' ]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/publish-kata-deploy-payload-ppc64le.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE

- name: Prepare the self-hosted runner
run: ${HOME}/scripts/prepare_runner.sh

- uses: actions/checkout@v4
with:
ref: ${{ inputs.commit-hash }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/publish-kata-deploy-payload-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ jobs:
kata-payload:
runs-on: s390x
steps:
- name: Adjust a permission for repo
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- name: Take a pre-action for self-hosted runner
run: ${HOME}/script/pre_action.sh ubuntu-2204

- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
uses: ./.github/workflows/build-kata-static-tarball-s390x.yaml
with:
stage: release
secrets: inherit

kata-deploy:
needs: build-kata-static-tarball-s390x
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/run-cri-containerd-tests-ppc64le.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ jobs:

- name: Run cri-containerd tests
run: bash tests/integration/cri-containerd/gha-run.sh run

- name: Cleanup actions for the self hosted runner
run: ${HOME}/scripts/cleanup_runner.sh
3 changes: 0 additions & 3 deletions .github/workflows/run-cri-containerd-tests-s390x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ jobs:
GOPATH: ${{ github.workspace }}
KATA_HYPERVISOR: ${{ matrix.vmm }}
steps:
- name: Adjust a permission for repo
run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE

- name: Take a pre-action for self-hosted runner
run: ${HOME}/script/pre_action.sh ubuntu-2204

Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/run-k8s-tests-on-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
strategy:
fail-fast: false
matrix:
rust-runtime:
- false
host_os:
- ubuntu
vmm:
Expand All @@ -42,8 +40,6 @@ jobs:
include:
- host_os: cbl-mariner
vmm: clh
- dragonball:
rust-runtime: true
runs-on: ubuntu-latest
env:
DOCKER_REGISTRY: ${{ inputs.registry }}
Expand All @@ -55,7 +51,6 @@ jobs:
KUBERNETES: "vanilla"
USING_NFD: "false"
K8S_TEST_HOST_TYPE: ${{ matrix.instance-type }}
RUST_RUNTIME: ${{ matrix.rust-runtime }}
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run-k8s-tests-on-garm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ jobs:
matrix:
vmm:
- clh #cloud-hypervisor
- dragonball
- fc #firecracker
- qemu
- cloud-hypervisor
snapshotter:
- devmapper
k8s:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/run-k8s-tests-on-zvsi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ jobs:
USING_NFD: "true"
TARGET_ARCH: "s390x"
steps:
- name: Adjust a permission for repo
run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE

- name: Take a pre-action for self-hosted runner
run: ${HOME}/script/pre_action.sh ubuntu-2204

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
# all the tests due to a single flaky instance.
fail-fast: false
matrix:
vmm: ['clh', 'qemu', 'stratovirt']
vmm: ['clh', 'qemu']
max-parallel: 1
runs-on: metrics
env:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/static-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
- runtime-rs
- agent-ctl
- kata-ctl
- log-parser-rs
- runk
- trace-forwarder
command:
Expand All @@ -67,8 +66,6 @@ jobs:
component-path: src/tools/agent-ctl
- component: kata-ctl
component-path: src/tools/kata-ctl
- component: log-parser-rs
component-path: src/tools/log-parser-rs
- component: runk
component-path: src/tools/runk
- component: trace-forwarder
Expand Down Expand Up @@ -101,6 +98,9 @@ jobs:
- name: Install musl-tools
if: ${{ matrix.component != 'runtime' }}
run: sudo apt-get -y install musl-tools
- name: Install devicemapper
if: ${{ matrix.command == 'make check' && matrix.component == 'agent' }}
run: sudo apt-get -y install libdevmapper-dev
- name: Install libseccomp
if: ${{ matrix.command != 'make vendor' && matrix.command != 'make check' && matrix.install-libseccomp == 'yes' }}
run: |
Expand All @@ -110,6 +110,9 @@ jobs:
echo "Set environment variables for the libseccomp crate to link the libseccomp library statically"
echo "LIBSECCOMP_LINK_TYPE=static" >> $GITHUB_ENV
echo "LIBSECCOMP_LIB_PATH=${libseccomp_install_dir}/lib" >> $GITHUB_ENV
- name: Install protobuf-compiler
if: ${{ matrix.command == 'make check' && matrix.component == 'agent' }}
run: sudo apt-get -y install protobuf-compiler
- name: Setup XDG_RUNTIME_DIR for the `runtime` tests
if: ${{ matrix.command != 'make vendor' && matrix.command != 'make check' && matrix.component == 'runtime' }}
run: |
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020 Intel Corporation
# Copyright (c) 2020-2023 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
Expand All @@ -22,7 +22,6 @@ TOOLS =
TOOLS += agent-ctl
TOOLS += kata-ctl
TOOLS += log-parser
TOOLS += log-parser-rs
TOOLS += runk
TOOLS += trace-forwarder

Expand All @@ -47,7 +46,7 @@ generate-protocols:

# Some static checks rely on generated source files of components.
static-checks: static-checks-build
bash ci/static-checks.sh
bash tests/static-checks.sh github.com/kata-containers/kata-containers

docs-url-alive-check:
bash ci/docs-url-alive-check.sh
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ The table below lists the remaining parts of the project:
| [kata-debug](tools/packaging/kata-debug/README.md) | infrastructure | Utility tool to gather Kata Containers debug information from Kubernetes clusters. |
| [`agent-ctl`](src/tools/agent-ctl) | utility | Tool that provides low-level access for testing the agent. |
| [`kata-ctl`](src/tools/kata-ctl) | utility | Tool that provides advanced commands and debug facilities. |
| [`log-parser-rs`](src/tools/log-parser-rs) | utility | Tool that aid in analyzing logs from the kata runtime. |
| [`trace-forwarder`](src/tools/trace-forwarder) | utility | Agent tracing helper. |
| [`runk`](src/tools/runk) | utility | Standard OCI container runtime based on the agent. |
| [`ci`](https://github.com/kata-containers/ci) | CI | Continuous Integration configuration files and scripts. |
Expand Down
Loading
Loading