diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1b00ecf8..2453d245 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,6 +9,7 @@ jobs:
mongodb:
image: mongo:4.2.0
env:
+ # Following credentials are only used during testing in docker container
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
mongodb-ssl:
@@ -29,6 +30,7 @@ jobs:
args:
test -a --sourceroot mongodb --groups mongodb
env:
+ # Following credentials are only used during testing in docker container
MONGODB_HOST: mongodb
MONGODB_USER: admin
MONGODB_PASSWORD: admin
@@ -38,6 +40,7 @@ jobs:
args:
test -a --groups mongodb-ssl
env:
+ # Following credentials are only used during testing in docker container
WORKING_DIR: ./mongodb
MONGODB_HOST: mongodb-ssl
MONGODB_USER: C=US,ST=CA,L=San Francisco,O=Jaspersoft,OU=JSDev,CN=admin
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index bc4c561e..5462ca6f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,6 +12,7 @@ jobs:
mongodb:
image: mongo:4.2.0
env:
+ # Following credentials are only used during testing in docker container
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin
mongodb-ssl:
@@ -32,6 +33,7 @@ jobs:
args:
test -a --sourceroot mongodb --groups mongodb
env:
+ # Following credentials are only used during testing in docker container
MONGODB_HOST: mongodb
MONGODB_USER: admin
MONGODB_PASSWORD: admin
@@ -41,6 +43,7 @@ jobs:
args:
test -a --groups mongodb-ssl
env:
+ # Following credentials are only used during testing in docker container
WORKING_DIR: ./mongodb
MONGODB_HOST: mongodb-ssl
MONGODB_USER: C=US,ST=CA,L=San Francisco,O=Jaspersoft,OU=JSDev,CN=admin
diff --git a/mongodb/pom.xml b/mongodb/pom.xml
index 658902e5..b7050222 100644
--- a/mongodb/pom.xml
+++ b/mongodb/pom.xml
@@ -64,6 +64,7 @@
mongodb
mongo:4.2
+
admin
admin
@@ -86,6 +87,7 @@
+
${docker.container.mongodb.ip}
admin
@@ -150,6 +152,7 @@
+
${docker.container.mongodb-ssl.ip}
C=US,ST=CA,L=San Francisco,O=Jaspersoft,OU=JSDev,CN=admin