Skip to content

Commit f500d94

Browse files
committed
Fork
- Add temporal_tables extension
1 parent 4b3d1c6 commit f500d94

File tree

5 files changed

+10
-63
lines changed

5 files changed

+10
-63
lines changed

.github/workflows/kubernetes-test.yaml

-22
This file was deleted.

.github/workflows/publish-ghcr-container.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- '*'
66

77
env:
8-
REGISTRY: ghcr.io
8+
REGISTRY: ${{ vars.GCR_PREFIX }}
99
IMAGE_NAME: ${{ github.repository }}
1010

1111
jobs:
@@ -44,12 +44,6 @@ jobs:
4444
- name: Set up Docker Buildx
4545
uses: docker/setup-buildx-action@v3
4646

47-
- name: Login to GHCR
48-
uses: docker/login-action@v3
49-
with:
50-
registry: ${{ env.REGISTRY }}
51-
username: ${{ github.actor }}
52-
password: ${{ secrets.GITHUB_TOKEN }}
5347

5448
- name: Build and export to local docker for testing
5549
uses: docker/build-push-action@v6
@@ -64,6 +58,12 @@ jobs:
6458
run: |
6559
bash postgres-appliance/tests/test_spilo.sh
6660
61+
- name: Authenticate to Google Cloud
62+
uses: google-github-actions/auth@v1
63+
with:
64+
credentials_json: '${{ secrets.GCR_CREDENTIALS }}'
65+
- run: gcloud auth configure-docker -q gcr.io
66+
6767
- name: Build arm64 additionaly and push multiarch image to ghcr
6868
uses: docker/build-push-action@v6
6969
with:

.github/workflows/tests.yaml

-34
This file was deleted.

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

postgres-appliance/build_scripts/base.sh

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ curl -sL "https://github.com/zalando-pg/bg_mon/archive/$BG_MON_COMMIT.tar.gz" |
5555
curl -sL "https://github.com/zalando-pg/pg_auth_mon/archive/$PG_AUTH_MON_COMMIT.tar.gz" | tar xz
5656
curl -sL "https://github.com/cybertec-postgresql/pg_permissions/archive/$PG_PERMISSIONS_COMMIT.tar.gz" | tar xz
5757
curl -sL "https://github.com/zubkov-andrei/pg_profile/archive/$PG_PROFILE.tar.gz" | tar xz
58+
curl -sL "https://github.com/arkhipov/temporal_tables/archive/master.tar.gz" | tar xz
5859
git clone -b "$SET_USER" https://github.com/pgaudit/set_user.git
5960

6061
apt-get install -y \
@@ -155,6 +156,7 @@ for version in $DEB_PG_SUPPORTED_VERSIONS; do
155156
set_user \
156157
pg_permissions-${PG_PERMISSIONS_COMMIT} \
157158
pg_profile-${PG_PROFILE} \
159+
temporal_tables-master \
158160
"${EXTRA_EXTENSIONS[@]}"; do
159161
make -C "$n" USE_PGXS=1 clean install-strip
160162
done

0 commit comments

Comments
 (0)