Skip to content

Commit

Permalink
Merge pull request containers#298 from cevich/update_automation_lib
Browse files Browse the repository at this point in the history
Update automation-library
  • Loading branch information
cevich authored Sep 20, 2023
2 parents d83bbbe + 13f4ad1 commit b86aea0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
1 change: 0 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ cache_images_task:
# Packer needs time to clean up partially created VM images
auto_cancellation: $CI != "true"
stateful: true
timeout_in: 45m
container:
dockerfile: "image_builder/Containerfile"
cpu: 2
Expand Down
2 changes: 1 addition & 1 deletion IMG_SFX
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20230919t202523z-f38f37d13
20230920t195830z-f38f37d13
6 changes: 6 additions & 0 deletions base_images/debian_base-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ PKGS=( \

echo "Updating package source lists"
( set -x; $SUDO apt-get -qq -y update; )

# TODO: Workaround forward-incompatible change in grub scripts.
# Without this, updating to the SID kernel may fail.
echo "Upgrading to SID's grub-common"
( set -x; $SUDO apt-get -qq -y upgrade grub-common; )

echo "Upgrading to SID"
( set -x; $SUDO apt-get -qq -y full-upgrade; )
echo "Installing basic, necessary packages."
Expand Down
10 changes: 0 additions & 10 deletions cache_images/debian_packaging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ INSTALL_PACKAGES=(\
crun
dnsmasq
e2fslibs-dev
emacs-nox
file
fuse3
fuse-overlayfs
Expand Down Expand Up @@ -121,15 +120,6 @@ INSTALL_PACKAGES=(\
msg "Installing general build/testing dependencies"
bigto $SUDO apt-get -q -y install "${INSTALL_PACKAGES[@]}"

msg "Enabling contrib source & installing ZFS support (for containers/storage CI)"
ZFS_PACKAGES=(\
linux-headers-cloud-amd64
zfsutils
)
$SUDO sed -i -r 's/^(deb.*)/\1 contrib/g' /etc/apt/sources.list
lilto ooe.sh $SUDO apt-get -qq -y update
bigto $SUDO apt-get -q -y install "${ZFS_PACKAGES[@]}"

# The nc installed by default is missing many required options
$SUDO update-alternatives --set nc /usr/bin/ncat

Expand Down
2 changes: 1 addition & 1 deletion lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ OS_REL_VER="$OS_RELEASE_ID-$OS_RELEASE_VER"
# This location is checked by automation in other repos, please do not change.
PACKAGE_DOWNLOAD_DIR=/var/cache/download

INSTALL_AUTOMATION_VERSION="4.2.1"
INSTALL_AUTOMATION_VERSION="4.3.1"

PUSH_LATEST="${PUSH_LATEST:-0}"

Expand Down

0 comments on commit b86aea0

Please sign in to comment.