Skip to content

chore: no longer ship kong in the qemu artifact #1508

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

Merged
merged 1 commit into from
Apr 2, 2025
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
6 changes: 3 additions & 3 deletions ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ postgres_major:

# Full version strings for each major version
postgres_release:
postgresorioledb-17: "17.0.1.55-orioledb"
postgres17: "17.4.1.005"
postgres15: "15.8.1.062"
postgresorioledb-17: "17.0.1.56-orioledb"
postgres17: "17.4.1.006"
postgres15: "15.8.1.063"

# Non Postgres Extensions
pgbouncer_release: "1.19.0"
Expand Down
8 changes: 8 additions & 0 deletions ebssurrogate/scripts/qemu-bootstrap-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ EOF
--extra-vars "psql_version=psql_${POSTGRES_MAJOR_VERSION}"
}

function clean_legacy_things {
# removes things that are bundled for legacy reasons, but we can start without for our newer artifacts
apt-get unmark zlib1g* # TODO (darora): need to make sure that there aren't other things that still need this
apt-get -y purge kong
apt-get autoremove -y
}

function clean_system {
# Copy cleanup scripts
chmod +x /tmp/ansible-playbook/scripts/90-cleanup-qemu.sh
Expand Down Expand Up @@ -146,5 +153,6 @@ execute_stage2_playbook
# we do not want to ship an initialized DB as this is performed as needed
mkdir -p /db/template
mv /data/pgdata /db/template
clean_legacy_things
clean_system
cloud-init clean --logs
Loading