Skip to content

ci: Use AL2023 for secret hiding CI #5178

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

Merged
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
2 changes: 1 addition & 1 deletion .buildkite/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
DEFAULT_PLATFORMS = [
("al2", "linux_5.10"),
("al2023", "linux_6.1"),
("ubuntu24", "secret_hiding"),
("al2023", "secret_hiding"),
]


Expand Down
8 changes: 4 additions & 4 deletions resources/hiding_ci/build_and_install_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,15 @@ make olddefconfig
scripts/config --disable SYSTEM_TRUSTED_KEYS
scripts/config --disable SYSTEM_REVOCATION_KEYS

# We run this again to default options now changed by
# the disabling of the ubuntu keys
make olddefconfig

# Apply our config overrides on top of the config
scripts/kconfig/merge_config.sh -m .config $KERNEL_CONFIG_OVERRIDES

check_override_presence

# We run this again to default options now changed by
# the disabling of the ubuntu keys
make olddefconfig

echo "Building kernel this may take a while"
make -s -j $(nproc)
echo "Building kernel modules"
Expand Down
12 changes: 11 additions & 1 deletion resources/hiding_ci/kernel_config_overrides
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
CONFIG_EXPERT=y
CONFIG_CRYPTO_HW=y
CONFIG_CRYPTO_DEV_CCP=y
CONFIG_CRYPTO_DEV_CCP_DD=y
CONFIG_CRYPTO_DEV_SP_PSP=y
CONFIG_KVM=y
CONFIG_KVM_SW_PROTECTED_VM=y
CONFIG_KVM_PRIVATE_MEM=y
CONFIG_KVM_AMD=y
CONFIG_KVM_INTEL=y
CONFIG_KVM_AMD_SEV=y
CONFIG_KVM_PRIVATE_MEM=y
CONFIG_KVM_GENERIC_MMU_NOTIFIER=y
CONFIG_KVM_GENERIC_HARDWARE_ENABLING=y
CONFIG_KVM_GENERIC_MEMORY_ATTRIBUTES=y
CONFIG_KVM_GENERIC_PRIVATE_MEM=y
CONFIG_DEBUG_INFO=y