Compare commits

..
8 Commits
Author SHA1 Message Date
Brad Koehn e5067b4257 trying buildkit 2021-11-10 15:19:27 -06:00
Brad Koehn e34430fd7e kaniko bump 2021-11-02 09:23:52 -05:00
Brad Koehn 67f8f0cb65 downgraded kaniko to avoid OOM issues 2021-10-11 08:12:53 -05:00
Brad Koehn a7020c5d4e upgrade to 14 2021-10-10 14:23:43 -05:00
Brad Koehn 99ef19d076 Update .gitlab-ci.yml 2021-08-19 21:50:00 +00:00
Brad Koehn a4118b3a0f merge from master 2021-08-12 08:44:17 -05:00
Brad Koehn 0b977ac06b Fix a typo. 2021-06-01 13:14:31 +00:00
Brad Koehn 0043e3f3a4 Update README.md archiving link. 2021-06-01 13:11:07 +00:00
2 changed files with 5 additions and 5 deletions

No files matched your search

+3 -3
View File
@@ -4,11 +4,11 @@ stages:
build:
stage: build
image:
name: gcr.io/kaniko-project/executor:v1.5.2-debug
name: moby/buildkit:latest
entrypoint: [""]
script:
- |
cat > /kaniko/.docker/config.json <<EOF
cat > /root/.docker/config.json <<EOF
{
"auths": {
"https://index.docker.io/v1/": {
@@ -21,7 +21,7 @@ build:
}
}
EOF
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination koehn/postgres-wal-g:13.4-$CI_COMMIT_TAG --build-arg BASE=13.4 --build-arg WALG_RELEASE=$(echo $CI_COMMIT_TAG | awk -F '-' '{print $1}')
- buildctl build --frontend=dockerfile.v0 --local context=$CI_PROJECT_DIR --local dockerfile=$CI_PROJECT_DIR/Dockerfile --output type=image,name=docker.io/koehn/postgres-wal-g:14.0-$CI_COMMIT_TAG,push=true --opt build-arg:BASE=14.0 --opt build-arg:WALG_RELEASE=$(echo $CI_COMMIT_TAG | awk -F '-' '{print $1}')
only:
- tags
+2 -2
View File
@@ -16,8 +16,8 @@ to your bucket
* `WALG_S3_PREFIX` to tell WAL-G which bucket and prefix you'd like to use
## Configuration
In your `/varlib/postgresql/data/pgsql/postgresql.conf` file, set your [archive
settings](https://www.postgresql.org/docs/9.1/continuous-archiving.html).
In your `/var/lib/postgresql/data/pgsql/postgresql.conf` file, set your [archive
settings](https://www.postgresql.org/docs/current/continuous-archiving.html).
Importantly, you should set `archive_mode = on` and
`archive_command = 'wal-g wal-push %p'`. This will
tell Postgres to have WAL-G send WAL files to S3.