Skip to content

Commit ca3a691

Browse files
committed
chore: no longer ship kong in the qemu artifact
1 parent 4b44f86 commit ca3a691

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ postgres_major:
99

1010
# Full version strings for each major version
1111
postgres_release:
12-
postgresorioledb-17: "17.0.1.55-orioledb"
13-
postgres17: "17.4.1.005"
14-
postgres15: "15.8.1.062"
12+
postgresorioledb-17: "17.0.1.56-orioledb"
13+
postgres17: "17.4.1.006"
14+
postgres15: "15.8.1.063"
1515

1616
# Non Postgres Extensions
1717
pgbouncer_release: "1.19.0"

ebssurrogate/scripts/qemu-bootstrap-nix.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ EOF
104104
--extra-vars "psql_version=psql_${POSTGRES_MAJOR_VERSION}"
105105
}
106106

107+
function clean_legacy_things {
108+
# removes things that are bundled for legacy reasons, but we can start without for our newer artifacts
109+
apt-get unmark zlib1g* # TODO (darora): need to make sure that there aren't other things that still need this
110+
apt-get -y purge kong
111+
apt-get autoremove -y
112+
}
113+
107114
function clean_system {
108115
# Copy cleanup scripts
109116
chmod +x /tmp/ansible-playbook/scripts/90-cleanup-qemu.sh
@@ -146,5 +153,6 @@ execute_stage2_playbook
146153
# we do not want to ship an initialized DB as this is performed as needed
147154
mkdir -p /db/template
148155
mv /data/pgdata /db/template
156+
clean_legacy_things
149157
clean_system
150158
cloud-init clean --logs

0 commit comments

Comments
 (0)