Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/qemu-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set PostgreSQL versions - only builds pg17 atm
id: set-versions
run: |
VERSIONS=$(nix run nixpkgs#yq -- '.postgres_major[1]' ansible/vars.yml | nix run nixpkgs#jq -- -R -s -c 'split("\n")[:-1]')
VERSIONS=$(nix run nixpkgs#yq -- '.postgres_major[2]' ansible/vars.yml | nix run nixpkgs#jq -- -R -s -c 'split("\n")[:-1]')
echo "postgres_versions=$VERSIONS" >> $GITHUB_OUTPUT

build:
Expand Down
2 changes: 1 addition & 1 deletion ansible/tasks/setup-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
LOCALE_ARCHIVE: /usr/lib/locale/locale-archive
vars:
ansible_command_timeout: 60
when: stage2_nix and is_psql_oriole or is_psql_17
when: stage2_nix and (is_psql_oriole or is_psql_17)

- name: copy PG systemd unit
template:
Expand Down
9 changes: 7 additions & 2 deletions ebssurrogate/scripts/qemu-bootstrap-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ EOF

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-mark auto 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
}
Expand Down Expand Up @@ -135,7 +135,12 @@ function clean_system {
mkdir /var/log/sysstat

chown -R postgres:postgres /var/log/wal-g
chmod -R 0300 /var/log/wal-g
# moving up fixes from init scripts
chmod -R 0310 /var/log/wal-g
chmod 0340 /var/log/wal-g/pitr.log

chmod 0600 /etc/vector/vector.yaml
chown vector:vector /etc/vector/vector.yaml

# # audit logs directory for apparmor
mkdir /var/log/audit
Expand Down
Loading