8000 Fixes to ensure PostgREST and Kong are properly installed (#278) · rickengineering/postgres@09c29cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 09c29cb

Browse files
authored
Fixes to ensure PostgREST and Kong are properly installed (supabase#278)
* ensure that kong is not uninstalled * use focal instead of xenial for kong * install missing dependencies for PostgREST * disable installation of vault extension for now * bump postgres version
1 parent 39948b3 commit 09c29cb

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

ansible/tasks/clean-build-dependencies.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
- gcc-10
1414
- ninja-build
1515
- python2
16-
- zlib1g-dev
1716
state: absent
1817
autoremove: yes

ansible/tasks/setup-extensions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@
6464
- name: Install pg_jsonschema
6565
import_tasks: tasks/postgres-extensions/22-pg_jsonschema.yml
6666

67-
- name: Install vault
68-
import_tasks: tasks/postgres-extensions/23-vault.yml
67+
# - name: Install vault
68+
# import_tasks: tasks/postgres-extensions/23-vault.yml

ansible/tasks/setup-kong.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
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
24+
2225
- name: Kong - configuration
2326
template:
2427
src: files/kong_config/kong.conf.j2

ansible/tasks/setup-postgrest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
apt:
88
pkg:
99
- libpq5
10+
- libnuma-dev
1011

1112
- name: PostgREST - download ubuntu binary archive (arm)
1213
get_url:

ansible/vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ golang_version_checksum:
2323
arm64: sha256:beacbe1441bee4d7978b900136d1d6a71d150f0a9bb77e9d50c822065623a35a
2424
amd64: sha256:956f8507b302ab0bb747613695cdae10af99bbd39a90cae522b7c0302cc27245
2525

26-
kong_release_target: xenial # if it works, it works
26+
kong_release_target: focal # if it works, it works
2727
kong_deb: kong_2.8.1_arm64.deb
28-
kong_deb_checksum: sha1:e61882d652d1f41bc3b7d179163b8a7abfe41d94
28+
kong_deb_checksum: sha1:2086f6ccf8454fe64435252fea4d29d736d7ec61
2929

3030
nginx_release: 1.22.0
3131
nginx_release_checksum: sha1:419efb77b80f165666e2ee406ad8ae9b845aba93

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.61"
1+
postgres-version = "14.1.0.62"

0 commit comments

Comments
 (0)
0