8000 fix: retain key packages for PostgREST and Kong (#281) · cepro/postgres@feb3d77 · GitHub
[go: up one dir, main page]

Skip to content

Commit feb3d77

Browse files
authored
fix: retain key packages for PostgREST and Kong (supabase#281)
* add more apt packages NOT to be autoremoved * ensure zlib1g-dev is not uninstalled * bump version
1 parent 3f8dc32 commit feb3d77

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

ansible/tasks/setup-kong.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
- name: Kong - deb installation
2020
apt: deb=file:///tmp/kong.deb
2121

22-
- name: Kong - ensure it is NOT autoremovd
23-
shell: apt-mark manual kong
22+
- name: Kong - ensure it is NOT autoremoved
23+
shell: |
24+
set -e
25+
apt-mark manual kong zlib1g*
2426
2527
- name: Kong - configuration
2628
template:

ansible/tasks/setup-postgrest.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
- libpq5
1010
- libnuma-dev
1111

12+
- name: postgis - ensure dependencies do not get autoremoved
13+
shell: |
14+
set -e
15+
apt-mark manual libnuma*
16+
apt-mark auto libnuma*-dev
17+
1218
- name: PostgREST - download ubuntu binary archive (arm)
1319
get_url:
1420
url: "https://github.com/PostgREST/postgrest/releases/download/v{{ postgrest_release }}/postgrest-v{{ postgrest_release }}-ubuntu-aarch64.tar.xz"

common.vars.pkr.hcl

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

0 commit comments

Comments
 (0)
0