8000 fix: it is required to run this at the end of AMI build (#1109) · hscmgroup/postgres@33b49eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 33b49eb

Browse files
authored
fix: it is required to run this at the end of AMI build (supabase#1109)
Co-authored-by: Sam Rose <samuel@supabase.io>
1 parent 7b5aab5 commit 33b49eb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ansible/playbook.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,9 @@
206206
shell: |
207207
sudo -u ubuntu bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile remove osquery"
208208
when: stage2_nix
209+
210+
- name: nix collect garbage
211+
become: yes
212+
shell: |
213+
sudo -u ubuntu bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix-collect-garbage -d"
214+
when: stage2_nix

common-nix.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.6.1.108"
1+
postgres-version = "15.6.1.109"

0 commit comments

Comments
 (0)
0