Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBZ-8487 Remove MongoDB initiator images #407

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions README-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

Starting with version 1.9 Debezium provides multi platform Docker iamges for `linux/amd64`
and `linux/arm64`.
Debeziums own Postgres and MongoDB builds are also available as multi platform, as long
Debeziums own Postgres builds are also available as multi platform, as long
as their base images support multi platform builds (see `build-all-multiplatform.sh`).

## Running the build

You can build Debezium, Mongo and Postgres multi platform images using the `build-all-multiplatform.sh` script.
You can build Debezium and Postgres multi platform images using the `build-all-multiplatform.sh` script.

Before running the build, you need a `buildx` instance configured. You can create an instance like this:

Expand Down Expand Up @@ -74,7 +74,7 @@ appropriate runner. Note that the scripts expects the registry listening on http

## Building single images

You can build a single images running either `./build-mongo-multiplatform.sh` or `./build-postgres-multiplatform.sh`
You can build a single images running `./build-postgres-multiplatform.sh`

Both of this scripts works with the env variables described above and expect two arguments:

Expand All @@ -85,7 +85,6 @@ Examples:

```bash
./build-postgres-multiarch.sh 14-alpine "linux/amd64,linux/arm64"
./build-mongo-multiarch.sh 3.2 "linux/amd64"
```

For building a single Debezium version for multiple platforms, you can run
Expand Down
10 changes: 1 addition & 9 deletions build-all-multiplatform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

COMPONENTS=$*
if [ -z "$COMPONENTS" ]; then
COMPONENTS="mongo postgres debezium"
COMPONENTS="postgres debezium"
fi;

if [ -z "$MULTIPLATFORM_PLATFORMS" ]; then
Expand All @@ -29,17 +29,9 @@ function shouldBuild() {
# with multi platform build
DEBEZIUM_SINGLEPLATFORM_VERSIONS="1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8"

MONGO_MULTIPLATFORM_VERSIONS="5.0 6.0 7.0"

POSTGRES_VERSIONS="12 13 14"
POSTGRES_MULTIPLATFORM_VERSIONS="15 16 17 12-alpine 13-alpine 14-alpine 15-alpine 16-alpine 17-alpine"

if shouldBuild "mongo"; then
for MONGO_VERSION in $MONGO_MULTIPLATFORM_VERSIONS; do
./build-mongo-multiplatform.sh "$MONGO_VERSION" "${MULTIPLATFORM_PLATFORMS}"
done
fi;

if shouldBuild "postgres"; then
for POSTGRES_VERSION in $POSTGRES_VERSIONS; do
./build-postgres-multiplatform.sh "$POSTGRES_VERSION" "linux/amd64"
Expand Down
5 changes: 0 additions & 5 deletions build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,8 @@ DEBEZIUM_VERSION="3.0"
if [ -z "$DEBEZIUM_VERSIONS" ]; then
DEBEZIUM_VERSIONS="$DEBEZIUM_VERSION"
fi
MONGO_VERSIONS="5.0 6.0 7.0"
POSTGRES_VERSIONS="12 12-alpine 13 13-alpine 14 14-alpine 15 15-alpine 16 16-alpine 17 17-alpine"

for MONGO_VERSION in $MONGO_VERSIONS; do
./build-mongo.sh "$MONGO_VERSION"
done

for POSTGRES_VERSION in $POSTGRES_VERSIONS; do
./build-postgres.sh "$POSTGRES_VERSION"
done
Expand Down
47 changes: 0 additions & 47 deletions build-mongo-multiplatform.sh

This file was deleted.

31 changes: 0 additions & 31 deletions build-mongo.sh

This file was deleted.

10 changes: 0 additions & 10 deletions mongo-initiator/3.2/Dockerfile

This file was deleted.

26 changes: 0 additions & 26 deletions mongo-initiator/3.2/README.md

This file was deleted.

177 changes: 0 additions & 177 deletions mongo-initiator/3.2/docker-entrypoint.sh

This file was deleted.

10 changes: 0 additions & 10 deletions mongo-initiator/3.4/Dockerfile

This file was deleted.

Loading
Loading