Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing redundant postgres docker directory.
- Loading branch information
Showing
19 changed files
with
66 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
...gres-wal/src/test/java/io/eventuate/local/postgres/wal/PostgresWalCdcIntegrationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
package io.eventuate.local.postgres.wal; | ||
|
||
import org.junit.runner.RunWith; | ||
import org.springframework.boot.test.IntegrationTest; | ||
import org.springframework.boot.test.SpringApplicationConfiguration; | ||
import org.springframework.boot.test.context.SpringBootTest; | ||
import org.springframework.test.context.ActiveProfiles; | ||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; | ||
|
||
@ActiveProfiles("PostgresWal") | ||
@RunWith(SpringJUnit4ClassRunner.class) | ||
@SpringApplicationConfiguration(classes = PostgresWalCdcIntegrationTestConfiguration.class) | ||
@IntegrationTest | ||
@SpringBootTest(classes = PostgresWalCdcIntegrationTestConfiguration.class) | ||
public class PostgresWalCdcIntegrationTest extends AbstractPostgresWalCdcIntegrationTest { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
...stgres-wal/src/test/java/io/eventuate/local/postgres/wal/PostgresWalCdcProcessorTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
package io.eventuate.local.postgres.wal; | ||
|
||
import org.junit.runner.RunWith; | ||
import org.springframework.boot.test.IntegrationTest; | ||
import org.springframework.boot.test.SpringApplicationConfiguration; | ||
import org.springframework.boot.test.context.SpringBootTest; | ||
import org.springframework.test.context.ActiveProfiles; | ||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; | ||
|
||
@ActiveProfiles("PostgresWal") | ||
@RunWith(SpringJUnit4ClassRunner.class) | ||
@SpringApplicationConfiguration(classes = PostgresWalCdcIntegrationTestConfiguration.class) | ||
@IntegrationTest | ||
@SpringBootTest(classes = PostgresWalCdcIntegrationTestConfiguration.class) | ||
public class PostgresWalCdcProcessorTest extends AbstractPostgresWalCdcProcessorTest { | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,38 @@ | ||
FROM postgres:9.6.5 | ||
FROM postgres:9.6 | ||
|
||
ENV PLUGIN_VERSION=v0.7.0 | ||
ENV WAL2JSON_COMMIT_ID=f68cb0096c669a2ee5a2d32b54a535513e3cb23b | ||
|
||
# Install the packages which will be required to get everything to compile | ||
RUN apt-get update \ | ||
&& apt-get install -f -y --no-install-recommends \ | ||
software-properties-common \ | ||
build-essential \ | ||
pkg-config \ | ||
git \ | ||
postgresql-server-dev-9.6 \ | ||
libproj-dev \ | ||
&& apt-get clean && apt-get update && apt-get install -f -y --no-install-recommends \ | ||
liblwgeom-dev \ | ||
&& add-apt-repository "deb http://ftp.debian.org/debian testing main contrib" \ | ||
&& apt-get install nano \ | ||
&& apt-get update && apt-get install -f -y --no-install-recommends \ | ||
libprotobuf-c-dev=1.2.* \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN git clone https://github.com/eulerto/wal2json -b master --single-branch \ | ||
&& cd /wal2json \ | ||
&& git checkout $WAL2JSON_COMMIT_ID \ | ||
&& make && make install \ | ||
&& cd / \ | ||
&& rm -rf wal2json | ||
|
||
# Copy the custom configuration which will be passed down to the server (using a .sample file is the preferred way of doing it by | ||
# the base Docker image) | ||
COPY postgresql.conf.sample /usr/share/postgresql/postgresql.conf.sample | ||
|
||
# Copy the script which will initialize the replication permissions | ||
COPY docker-entrypoint-initdb.d /docker-entrypoint-initdb.d | ||
|
||
# Initialize schema | ||
COPY initialize-database.sql /docker-entrypoint-initdb.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
#! /bin/bash -e | ||
|
||
docker build -t test-eventuateio-local-postgres . | ||
docker build -t test-postgres-wal . |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.