All checks were successful
Build / build (pull_request) Successful in 20m34s
- ensure unkin-ca-certificates are installed - find the default incus remote and use that for images - dont set publish_remote_name - build incus images for the base image - build puppet-base image for incus only - ensure builds are made with the `build` profile - only build 9.5+ for incus - prevent the build system from building images twice
30 lines
633 B
HCL
30 lines
633 B
HCL
# almalinux/9.5/base
|
|
deploy_files_from_image = true
|
|
deploy_files_from_common = true
|
|
use_incus = true
|
|
packages = [
|
|
"git",
|
|
"jq",
|
|
"make",
|
|
"python3.11",
|
|
"python3.11-pip",
|
|
"python3.12",
|
|
"python3.12-pip",
|
|
"unkin-ca-certificates",
|
|
"uv",
|
|
"wget",
|
|
]
|
|
scripts_pre_file_copy = [
|
|
"rm -f /etc/yum.repos.d/*.repo",
|
|
"curl -k -o internal-ca-certificates.rpm https://git.query.consul/unkin/-/packages/rpm/internal-ca-certificates/20240825-1.el8/files/756 && rpm -i internal-ca-certificates.rpm"
|
|
]
|
|
scripts_pre_packages = [
|
|
"dnf makecache",
|
|
"dnf update -y",
|
|
]
|
|
scripts_final = [
|
|
"dnf clean all",
|
|
"rm -rf /var/cache/dnf"
|
|
]
|
|
|