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

Add 1.29 image #213

Merged
merged 1 commit into from
Dec 18, 2023
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
17 changes: 11 additions & 6 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,17 @@ build_task_template: &BUILD_TASK_TEMPLATE
- while fuser /var/lib/dpkg/lock >/dev/null 2>&1; do sleep 5; done;
- while fuser /var/lib/dpkg/lock-frontend >/dev/null 2>&1; do sleep 5; done;
- apt-get update
- apt-get install -y curl git software-properties-common
- curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
- apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com focal main"
- apt-add-repository --yes --update ppa:ansible/ansible
- apt-get install -y ansible packer
- apt-get install -y git make python3-pip curl jq unzip

prepare_script:
- git clone https://github.com/kubernetes-sigs/image-builder
- ansible-playbook -i localhost, playbooks/pre.yml -e working_directory=$CIRRUS_WORKING_DIR
- cd image-builder/images/capi
- export PATH=$PWD/.bin:$HOME/.local/bin:$PATH
- make deps-qemu

build_script:
- cd image-builder/images/capi
- export PATH=$PWD/.bin:$HOME/.local/bin:$PATH
- make build-qemu-ubuntu-2204

prepare_push_script:
Expand Down Expand Up @@ -74,3 +73,9 @@ build_128_task:
skip: "!changesInclude('extra_vars_128.json')"
env:
PACKER_VAR_FILES: ../../../extra_vars_128.json

build_129_task:
<<: *BUILD_TASK_TEMPLATE
skip: "!changesInclude('extra_vars_129.json')"
env:
PACKER_VAR_FILES: ../../../extra_vars_129.json
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This means that the image for version `1.27` contains, for example, version `1.2

| Version | Image URL |
|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| v1.29 | [ubuntu-2204-kube-v1.29.qcow2](https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube-v1.29/ubuntu-2204-kube-v1.29.qcow2) |
| v1.28 | [ubuntu-2204-kube-v1.28.qcow2](https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube-v1.28/ubuntu-2204-kube-v1.28.qcow2) |
| v1.27 | [ubuntu-2204-kube-v1.27.qcow2](https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube-v1.27/ubuntu-2204-kube-v1.27.qcow2) |
| v1.26 | [ubuntu-2204-kube-v1.26.qcow2](https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube-v1.26/ubuntu-2204-kube-v1.26.qcow2) |
Expand All @@ -19,6 +20,8 @@ This means that the image for version `1.27` contains, for example, version `1.2

| Series | Version | Image URL | CHECKSUM URL |
|--------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| v1.29 | | | |
| | v1.29.0 | [ubuntu-2204-kube-v1.29.0.qcow2](https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube-v1.29/ubuntu-2204-kube-v1.29.0.qcow2) | [ubuntu-2204-kube-v1.29.0.qcow2.CHECKSUM](https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube-v1.29/ubuntu-2204-kube-v1.29.0.qcow2.CHECKSUM) |
| v1.28 | | | |
| | v1.28.4 | [ubuntu-2204-kube-v1.28.4.qcow2](https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube-v1.28/ubuntu-2204-kube-v1.28.4.qcow2) | [ubuntu-2204-kube-v1.28.4.qcow2.CHECKSUM](https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube-v1.28/ubuntu-2204-kube-v1.28.4.qcow2.CHECKSUM) |
| | v1.28.3 | [ubuntu-2204-kube-v1.28.3.qcow2](https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube-v1.28/ubuntu-2204-kube-v1.28.3.qcow2) | [ubuntu-2204-kube-v1.28.3.qcow2.CHECKSUM](https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/openstack-k8s-capi-images/ubuntu-2204-kube-v1.28/ubuntu-2204-kube-v1.28.3.qcow2.CHECKSUM) |
Expand Down
7 changes: 7 additions & 0 deletions extra_vars_129.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"kubernetes_deb_version": "1.29.0-1.1",
"kubernetes_cni_deb_version": "1.3.0-1.1",
"kubernetes_semver": "v1.29.0",
"kubernetes_series": "v1.29",
"output_directory": "./output/{{user `build_name`}}-kube-{{user `kubernetes_series`}}"
}
3 changes: 0 additions & 3 deletions playbooks/pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
software-properties-common \
unzip

sudo apt-add-repository --yes --update ppa:ansible/ansible
sudo apt-get install -y ansible

sudo chmod 0777 /dev/kvm

echo "Host *" | sudo tee /etc/ssh/ssh_config
Expand Down