Skip to content

Commit

Permalink
ci: Update linux deploy to use debian:stable (#2113)
Browse files Browse the repository at this point in the history
  • Loading branch information
tippmar-nr authored Dec 4, 2023
1 parent b20ea3b commit 1f20515
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deploy/linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM debian:buster-20230703-slim@sha256:cddb688e1263b9752275b064171ef6ac9c70ae21a77c774339aecfb53690b9a1
FROM debian:stable-20231120@sha256:6a798ffaa39776765d80c63afffc5920d09f8003b1b7d6a24026527d826c8de7

RUN apt-get update && apt-get install -y \
apt-utils \
dpkg-dev \
createrepo \
createrepo-c \
awscli \
curl \
dos2unix \
Expand Down
2 changes: 1 addition & 1 deletion deploy/linux/deploy_scripts/deploy-packages.bash
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ fi
export TARGET='production' # this is just a string used in local paths for repository data pulled down from S3 and then pushed back up

# Make sure we have all the external tools we need
for CMD in apt-ftparchive gpg createrepo curl rsync; do
for CMD in apt-ftparchive gpg createrepo_c curl rsync; do
if ! command -v $CMD > /dev/null; then
die 'command not found:' $CMD
fi
Expand Down
2 changes: 1 addition & 1 deletion deploy/linux/deploy_scripts/libexec/repoman-rebuild.bash
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ rebuild_yum() {

printf \\n
if [[ -d "$REPO_DIR" ]]; then
createrepo --update --checksum sha "$REPO_DIR"
createrepo_c --update --checksum sha "$REPO_DIR"
fi
done
}
Expand Down
2 changes: 1 addition & 1 deletion deploy/linux/deploy_scripts/puppet/manifests/site.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

# YUM repo mgmt
package { "createrepo":
package { "createrepo-c":
ensure => installed
}

Expand Down

0 comments on commit 1f20515

Please sign in to comment.