Skip to content

Commit

Permalink
JAMES-4102 Fix build migrating Zenko cloudserv S3 test image from reg…
Browse files Browse the repository at this point in the history
…istry.scality.com to ghcr.io (#2599)

Upgrading as well from 8.7.25 to latest 8.80.41
  • Loading branch information
Arsnael authored Jan 15, 2025
1 parent f0abcc2 commit 967a7d9
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:
- "15672:15672"
s3:
image: registry.scality.com/cloudserver/cloudserver:8.7.25
image: ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a
container_name: s3.docker.test
environment:
- SCALITY_ACCESS_KEY_ID=accessKey1
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/servers/pages/distributed/run/run-docker.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ You need a running *rabbitmq* in docker which connects to *james* network. To ac

You need a running *Zenko Cloudserver* objectstorage in docker which connects to *james* network. To achieve this run:

$ docker run -d --network james --env 'REMOTE_MANAGEMENT_DISABLE=1' --env 'SCALITY_ACCESS_KEY_ID=accessKey1' --env 'SCALITY_SECRET_ACCESS_KEY=secretKey1' --name=s3 registry.scality.com/cloudserver/cloudserver:8.7.25
$ docker run -d --network james --env 'REMOTE_MANAGEMENT_DISABLE=1' --env 'SCALITY_ACCESS_KEY_ID=accessKey1' --env 'SCALITY_SECRET_ACCESS_KEY=secretKey1' --name=s3 ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a

You need a running *OpenSearch* in docker which connects to *james* network. To achieve this run:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/servers/pages/distributed/run/run-java.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ running. You can either install the servers or launch them via docker:
$ docker run -d -p 9042:9042 --name=cassandra cassandra:4.1.5
$ docker run -d --network james -p 9200:9200 --name=opensearch --env 'discovery.type=single-node' opensearchproject/opensearch:2.14.0
$ docker run -d -p 5672:5672 -p 15672:15672 --name=rabbitmq rabbitmq:3.13.3-management
$ docker run -d --env 'REMOTE_MANAGEMENT_DISABLE=1' --env 'SCALITY_ACCESS_KEY_ID=accessKey1' --env 'SCALITY_SECRET_ACCESS_KEY=secretKey1' --name=s3 registry.scality.com/cloudserver/cloudserver:8.7.25
$ docker run -d --env 'REMOTE_MANAGEMENT_DISABLE=1' --env 'SCALITY_ACCESS_KEY_ID=accessKey1' --env 'SCALITY_SECRET_ACCESS_KEY=secretKey1' --name=s3 ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a
----

Once everything is set up, you just have to run the jar with:
Expand Down
2 changes: 1 addition & 1 deletion server/apps/distributed-app/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Third party compulsory dependencies:
$ docker run -d --network james -p 9042:9042 --name=cassandra cassandra:4.1.5
$ docker run -d --network james -p 9200:9200 --name=opensearch --env 'discovery.type=single-node' --env 'DISABLE_SECURITY_PLUGIN=true' --env 'DISABLE_INSTALL_DEMO_CONFIG=true' opensearchproject/opensearch:2.14.0
$ docker run -d --network james -p 5672:5672 -p 15672:15672 --name=rabbitmq rabbitmq:3.13.3-management
$ docker run -d --network james -p 8000:8000 --env 'REMOTE_MANAGEMENT_DISABLE=1' --env 'SCALITY_ACCESS_KEY_ID=accessKey1' --env 'SCALITY_SECRET_ACCESS_KEY=secretKey1' --name=s3 registry.scality.com/cloudserver/cloudserver:8.7.25
$ docker run -d --network james -p 8000:8000 --env 'REMOTE_MANAGEMENT_DISABLE=1' --env 'SCALITY_ACCESS_KEY_ID=accessKey1' --env 'SCALITY_SECRET_ACCESS_KEY=secretKey1' --name=s3 ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a
----

== Docker distribution
Expand Down
2 changes: 1 addition & 1 deletion server/apps/distributed-app/docker-compose-with-pulsar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
- james

s3:
image: registry.scality.com/cloudserver/cloudserver:8.7.25
image: ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a #v8.80.41
container_name: s3.docker.test
environment:
- SCALITY_ACCESS_KEY_ID=accessKey1
Expand Down
2 changes: 1 addition & 1 deletion server/apps/distributed-app/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ services:
- james

s3:
image: registry.scality.com/cloudserver/cloudserver:8.7.25
image: ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a #v8.80.41
container_name: s3.docker.test
environment:
- SCALITY_ACCESS_KEY_ID=accessKey1
Expand Down
2 changes: 1 addition & 1 deletion server/apps/distributed-pop3-app/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Third party compulsory dependencies:
----
$ docker run -d --network james -p 9042:9042 --name=cassandra cassandra:4.1.5
$ docker run -d --network james -p 5672:5672 -p 15672:15672 --name=rabbitmq rabbitmq:3.13.3-management
$ docker run -d --network james --env 'REMOTE_MANAGEMENT_DISABLE=1' --env 'SCALITY_ACCESS_KEY_ID=accessKey1' --env 'SCALITY_SECRET_ACCESS_KEY=secretKey1' --name=s3 registry.scality.com/cloudserver/cloudserver:8.7.25
$ docker run -d --network james --env 'REMOTE_MANAGEMENT_DISABLE=1' --env 'SCALITY_ACCESS_KEY_ID=accessKey1' --env 'SCALITY_SECRET_ACCESS_KEY=secretKey1' --name=s3 ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a
----

== Docker distribution
Expand Down
2 changes: 1 addition & 1 deletion server/apps/distributed-pop3-app/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ services:
- james

s3:
image: registry.scality.com/cloudserver/cloudserver:8.7.25
image: ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a #v8.80.41
container_name: s3.docker.test
environment:
- SCALITY_ACCESS_KEY_ID=accessKey1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

public class DockerAwsS3Container {

private static final String AWS_S3_DOCKER_IMAGE = "registry.scality.com/cloudserver/cloudserver:8.7.25";
private static final String AWS_S3_DOCKER_IMAGE = "ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a"; //v8.80.41
private static final int AWS_S3_PORT = 8000;
private static final int ONE_TIME = 1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ You need to have a Cassandra, OpenSearch, S3 and RabbitMQ instance running. You
$ docker run -d -p 9042:9042 --name=cassandra cassandra:4.1.5
$ docker run -d --network james -p 9200:9200 --name=opensearch --env 'discovery.type=single-node' opensearchproject/opensearch:2.14.0
$ docker run -d -p 5672:5672 -p 15672:15672 --name=rabbitmq rabbitmq:3.13.3-management
$ docker run -d --env 'REMOTE_MANAGEMENT_DISABLE=1' --env 'SCALITY_ACCESS_KEY_ID=accessKey1' --env 'SCALITY_SECRET_ACCESS_KEY=secretKey1' --name=s3 registry.scality.com/cloudserver/cloudserver:8.7.25
$ docker run -d --env 'REMOTE_MANAGEMENT_DISABLE=1' --env 'SCALITY_ACCESS_KEY_ID=accessKey1' --env 'SCALITY_SECRET_ACCESS_KEY=secretKey1' --name=s3 ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a
```

Once everything is set up, you just have to run the jar with:
Expand Down
2 changes: 1 addition & 1 deletion third-party/clamav/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ services:
- james

s3:
image: registry.scality.com/cloudserver/cloudserver:8.7.25
image: ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a #v8.80.41
container_name: s3.docker.test
environment:
- SCALITY_ACCESS_KEY_ID=accessKey1
Expand Down
2 changes: 1 addition & 1 deletion third-party/rspamd/docker-compose-distributed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ services:
- james

s3:
image: registry.scality.com/cloudserver/cloudserver:8.7.25
image: ghcr.io/scality/cloudserver:8cbe2c066b3505b26d339dc67315d1041b8c7f3a #v8.80.41
container_name: s3.docker.test
environment:
- SCALITY_ACCESS_KEY_ID=accessKey1
Expand Down

0 comments on commit 967a7d9

Please sign in to comment.