Skip to content

Commit

Permalink
Revert "dib-functests: run on bookworm"
Browse files Browse the repository at this point in the history
This reverts commit 5256991.

Reason for revert: dib-functests-arm64-deb is failing because of missing debootstrap/scripts/noble

Reverting to get back the role that downloads unstable debootstrap

Change-Id: I920f02e4a9a7751f9e1c58ccde9d0f766e185cd7
  • Loading branch information
mnasiadka authored and cboylan committed Dec 11, 2024
1 parent d279fe4 commit ead3cd4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions playbooks/dib-functests/run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
- bindep
- dib-setup-gate-mirrors
- ensure-podman
- dib-ensure-debootstrap
- dib-functests

2 changes: 2 additions & 0 deletions roles/dib-ensure-debootstrap/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Update debootstap from debian unstable. This ensures debootstrap is new
enough to recognize Noble.
12 changes: 12 additions & 0 deletions roles/dib-ensure-debootstrap/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- name: Install debootstrap/unstable
# This is shell because doing it with native ansible modules went nowhere
become: yes
shell: |
set -ex
echo "APT::Default-Release: 'stable';" > /etc/apt/apt.conf.d/default-release
echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list.d/unstable-debian.list
apt-get update
apt-get install -y debootstrap
# Remove the use of unstable as it seems to interfere with other tasks
rm /etc/apt/sources.list.d/unstable-debian.list
apt-get --assume-yes update

0 comments on commit ead3cd4

Please sign in to comment.