Skip to content

Commit

Permalink
Merge branch 'dimitri:main' into use-copy-with-binary
Browse files Browse the repository at this point in the history
  • Loading branch information
VaibhaveS authored Aug 5, 2024
2 parents 528a1a2 + db08b75 commit d935200
Show file tree
Hide file tree
Showing 33 changed files with 18 additions and 34 deletions.
2 changes: 1 addition & 1 deletion tests/blobs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ COPY ./import.sql import.sql
COPY ./imgs imgs

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
image: postgres:13-bullseye
Expand Down
2 changes: 1 addition & 1 deletion tests/cdc-endpos-between-transaction/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ COPY ./000000010000000000000002.json 000000010000000000000002.json
COPY ./000000010000000000000002.sql 000000010000000000000002.sql

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
build:
Expand Down
2 changes: 1 addition & 1 deletion tests/cdc-low-level/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ COPY ./000000010000000000000002.json 000000010000000000000002.json
COPY ./000000010000000000000002.sql 000000010000000000000002.sql

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
image: postgres:13-bullseye
Expand Down
2 changes: 1 addition & 1 deletion tests/cdc-test-decoding/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ COPY ./continued-txn.json continued-txn.json
COPY ./continued-txn.sql continued-txn.sql

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
image: postgres:13-bullseye
Expand Down
2 changes: 1 addition & 1 deletion tests/cdc-wal2json/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ COPY ./000000010000000000000002.json 000000010000000000000002.json
COPY ./000000010000000000000002.sql 000000010000000000000002.sql

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
build:
Expand Down
2 changes: 1 addition & 1 deletion tests/endpos-in-multi-wal-txn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ COPY ./ddl.sql ddl.sql
COPY ./multi-wal-txn.sql multi-wal-txn.sql

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
build:
Expand Down
2 changes: 1 addition & 1 deletion tests/extensions/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ COPY ./ddl.sql ddl.sql
COPY ./countries.sql countries.sql

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
build:
Expand Down
2 changes: 1 addition & 1 deletion tests/filtering/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ COPY ./exclude ./test/exclude

USER docker
WORKDIR /usr/src/pgcopydb/test/
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
image: postgres:13-bullseye
Expand Down
2 changes: 1 addition & 1 deletion tests/follow-9.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ COPY ./dml.sql dml.sql
COPY ./ddl.sql ddl.sql

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
2 changes: 1 addition & 1 deletion tests/follow-9.6/Dockerfile.inject
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ COPY ./inject.sh inject.sh
COPY ./dml.sql dml.sql

USER docker
CMD /usr/src/pgcopydb/inject.sh
CMD ["/usr/src/pgcopydb/inject.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
build:
Expand Down
2 changes: 1 addition & 1 deletion tests/follow-data-only/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ COPY ./ddl.sql ddl.sql
COPY ./multi-wal-txn.sql multi-wal-txn.sql

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
2 changes: 1 addition & 1 deletion tests/follow-data-only/Dockerfile.inject
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ COPY ./dml.sql dml.sql
COPY ./dml-bufsize.sql dml-bufsize.sql

USER docker
CMD /usr/src/pgcopydb/inject.sh
CMD ["/usr/src/pgcopydb/inject.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
build:
Expand Down
2 changes: 1 addition & 1 deletion tests/follow-wal2json/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ COPY ./dml.sql dml.sql
COPY ./ddl.sql ddl.sql

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
2 changes: 1 addition & 1 deletion tests/follow-wal2json/Dockerfile.inject
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ COPY ./inject.sh inject.sh
COPY ./dml.sql dml.sql

USER docker
CMD /usr/src/pgcopydb/inject.sh
CMD ["/usr/src/pgcopydb/inject.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
build:
Expand Down
2 changes: 1 addition & 1 deletion tests/pagila-multi-steps/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ WORKDIR /usr/src/pgcopydb
COPY ./copydb.sh copydb.sh

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
image: postgres:13-bullseye
Expand Down
2 changes: 1 addition & 1 deletion tests/pagila-standby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ WORKDIR /usr/src/pgcopydb
COPY copydb.sh copydb.sh

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.9"

x-postgres-base-env: &x-postgres-base-env
POSTGRES_USER: postgres
POSTGRES_PASSWORD: h4ckm3
Expand Down
2 changes: 1 addition & 1 deletion tests/pagila/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ WORKDIR /usr/src/pgcopydb
COPY copydb.sh copydb.sh

USER docker
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
image: postgres:13-bullseye
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ COPY ./expected ./test/expected

USER docker
WORKDIR /usr/src/pgcopydb/test/
CMD /usr/src/pgcopydb/copydb.sh
CMD ["/usr/src/pgcopydb/copydb.sh"]
1 change: 0 additions & 1 deletion tests/unit/docker-compose.yml → tests/unit/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.9" # optional since v1.27.0
services:
source:
image: postgres:13-bullseye
Expand Down

0 comments on commit d935200

Please sign in to comment.