File tree Expand file tree Collapse file tree 4 files changed +23
-18
lines changed Expand file tree Collapse file tree 4 files changed +23
-18
lines changed Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
docker_release :
13
- runs-on : [self-hosted, linux]
14
- timeout-minutes : 360
15
-
13
+ runs-on : ubuntu-20.04
16
14
steps :
17
15
- uses : actions/checkout@v2
18
16
@@ -25,21 +23,14 @@ jobs:
25
23
POSTGRES_VERSION=$(cat docker.vars.json | jq -r '.["postgres-version"]')
26
24
echo "::set-output name=postgres_version::$POSTGRES_VERSION"
27
25
26
+ PLATFORM=$(cat docker.vars.json | jq -r '.["platform"]')
27
+ echo "::set-output name=platform::$PLATFORM"
28
+
28
29
- uses : docker/setup-qemu-action@v1
29
30
with :
30
31
platforms : amd64,arm64
31
32
32
- - name : Set up Docker Context for Buildx
33
- id : buildx-context
34
- run : |
35
- docker context create builders
36
-
37
- - name : Set up Docker Buildx
38
- id : buildx
39
- uses : docker/setup-buildx-action@v1
40
- with :
41
- version : latest
42
- endpoint : builders
33
+ - uses : docker/setup-buildx-action@v1
43
34
44
35
- uses : docker/login-action@v1
45
36
with :
51
42
context : .
52
43
push : true
53
44
tags : supabase/postgres:latest,supabase/postgres:${{ steps.settings.outputs.docker_version }}
54
- platforms : linux/amd64,linux/arm64
45
+ platforms : linux/amd64
55
46
build-args : |
56
47
"VERSION=${{steps.settings.outputs.postgres_version}}"
Original file line number Diff line number Diff line change @@ -787,9 +787,9 @@ jit_provider = 'llvmjit' # JIT library to use
787
787
#include = '...' # include file
788
788
789
789
# Automatically generated optimizations
790
- include = '/etc/postgresql-custom/generated-optimizations.conf'
790
+ # include = '/etc/postgresql-custom/generated-optimizations.conf'
791
791
# User-supplied custom parameters, override any automatically generated ones
792
- include = '/etc/postgresql-custom/custom-overrides.conf'
792
+ # include = '/etc/postgresql-custom/custom-overrides.conf'
793
793
794
794
#------------------------------------------------------------------------------
795
795
# CUSTOMIZED OPTIONS
Original file line number Diff line number Diff line change 54
54
state : directory
55
55
owner : vector
56
56
57
+ - name : Include file for generated optimizations in postgresql.conf
58
+ become : yes
59
+ replace :
60
+ path : /etc/postgresql/postgresql.conf
61
+ regexp : " #include = '/etc/postgresql-custom/generated-optimizations.conf'"
62
+ replace : " include = '/etc/postgresql-custom/generated-optimizations.conf'"
63
+
64
+ - name : Include file for custom overrides in postgresql.conf
65
+ become : yes
66
+ replace :
67
+ path : /etc/postgresql/postgresql.conf
68
+ regexp : " #include = '/etc/postgresql-custom/custom-overrides.conf'"
69
+ replace : " include = '/etc/postgresql-custom/custom-overrides.conf'"
70
+
57
71
- name : Install Postgres exporter
58
72
import_tasks : internal/postgres-exporter.yml
59
73
Original file line number Diff line number Diff line change 1
1
{
2
- "docker-version" : " 14.1.0.15 " ,
2
+ "docker-version" : " 14.1.0.19 " ,
3
3
"postgres-version" : " 14.1"
4
4
}
You can’t perform that action at this time.
0 commit comments