Skip to content
Merged
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
27 changes: 6 additions & 21 deletions .github/workflows/check-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,10 @@ jobs:
name: Check and Test
runs-on: 'ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
fetch-depth: 0

- name: Setup Node.js Environment
uses: actions/setup-node@v2
with:
node-version: ^14
cache: 'npm'

- name: Install npm@7
run: npm install -g npm@7

- name: Install Dependencies
run: npm ci

- name: Run Checks
run: npm run check

- name: Run Tests
run: npm run test
node-version: lts/jod
- run: npm ci
- run: npm run check
- run: npm test
12 changes: 6 additions & 6 deletions docker/replica-set/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '2'

services:
'mongodb-rs-1':
image: 'docker.io/bitnami/mongodb'
image: 'docker.io/bitnamilegacy/mongodb'
environment:
MONGODB_ADVERTISED_HOSTNAME: 'mongodb-rs-1'
MONGODB_REPLICA_SET_MODE: 'primary'
Expand All @@ -13,7 +13,7 @@ services:
- '28001:28001'

'mongodb-rs-2':
image: 'docker.io/bitnami/mongodb'
image: 'docker.io/bitnamilegacy/mongodb'
environment:
MONGODB_ADVERTISED_HOSTNAME: 'mongodb-rs-2'
MONGODB_REPLICA_SET_MODE: 'secondary'
Expand All @@ -26,7 +26,7 @@ services:
- '28002:28002'

'mongodb-rs-3':
image: 'docker.io/bitnami/mongodb'
image: 'docker.io/bitnamilegacy/mongodb'
environment:
MONGODB_ADVERTISED_HOSTNAME: 'mongodb-rs-3'
MONGODB_REPLICA_SET_MODE: 'secondary'
Expand All @@ -50,7 +50,7 @@ services:
- ./setup-tags.sh:/setup-tags.sh

'mongodb-rs-private-net-1':
image: 'docker.io/bitnami/mongodb'
image: 'docker.io/bitnamilegacy/mongodb'
environment:
MONGODB_ADVERTISED_HOSTNAME: 'mongodb-rs-private-net-1'
MONGODB_REPLICA_SET_MODE: 'primary'
Expand All @@ -61,7 +61,7 @@ services:
- '28004:28004'

'mongodb-rs-private-net-2':
image: 'docker.io/bitnami/mongodb'
image: 'docker.io/bitnamilegacy/mongodb'
environment:
MONGODB_ADVERTISED_HOSTNAME: 'mongodb-rs-private-net-2'
MONGODB_REPLICA_SET_MODE: 'secondary'
Expand All @@ -72,7 +72,7 @@ services:
MONGODB_INITIAL_PRIMARY_ROOT_PASSWORD: 'password123'

'mongodb-rs-private-net-3':
image: 'docker.io/bitnami/mongodb'
image: 'docker.io/bitnamilegacy/mongodb'
environment:
MONGODB_ADVERTISED_HOSTNAME: 'mongodb-rs-private-net-3'
MONGODB_REPLICA_SET_MODE: 'secondary'
Expand Down
6 changes: 3 additions & 3 deletions docker/sharded/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '2'
services:
mongodb-sharded:
# TODO: https://jira.mongodb.org/browse/COMPASS-7265
image: 'docker.io/bitnami/mongodb-sharded:6.0.10'
image: 'docker.io/bitnamilegacy/mongodb-sharded:6.0.10'
environment:
- MONGODB_ADVERTISED_HOSTNAME=mongodb-sharded
- MONGODB_SHARDING_MODE=mongos
Expand All @@ -16,7 +16,7 @@ services:

mongodb-shard0:
# TODO: https://jira.mongodb.org/browse/COMPASS-7265
image: 'docker.io/bitnami/mongodb-sharded:6.0.10'
image: 'docker.io/bitnamilegacy/mongodb-sharded:6.0.10'
environment:
- MONGODB_ADVERTISED_HOSTNAME=mongodb-shard0
- MONGODB_SHARDING_MODE=shardsvr
Expand All @@ -28,7 +28,7 @@ services:

mongodb-cfg:
# TODO: https://jira.mongodb.org/browse/COMPASS-7265
image: 'docker.io/bitnami/mongodb-sharded:6.0.10'
image: 'docker.io/bitnamilegacy/mongodb-sharded:6.0.10'
environment:
- MONGODB_ADVERTISED_HOSTNAME=mongodb-cfg
- MONGODB_SHARDING_MODE=configsvr
Expand Down
6 changes: 3 additions & 3 deletions docker/ssh/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ services:
mongo:
image: mongo
'mongodb-rs-ssh-1':
image: 'docker.io/bitnami/mongodb'
image: 'docker.io/bitnamilegacy/mongodb'
environment:
MONGODB_ADVERTISED_HOSTNAME: 'mongodb-rs-ssh-1'
MONGODB_REPLICA_SET_MODE: 'primary'
MONGODB_ROOT_PASSWORD: 'password123'
MONGODB_REPLICA_SET_KEY: 'replicasetkey123'
MONGODB_PORT_NUMBER: '28001'
'mongodb-rs-ssh-2':
image: 'docker.io/bitnami/mongodb'
image: 'docker.io/bitnamilegacy/mongodb'
environment:
MONGODB_ADVERTISED_HOSTNAME: 'mongodb-rs-ssh-2'
MONGODB_REPLICA_SET_MODE: 'secondary'
Expand All @@ -21,7 +21,7 @@ services:
MONGODB_INITIAL_PRIMARY_PORT_NUMBER: '28001'
MONGODB_INITIAL_PRIMARY_ROOT_PASSWORD: 'password123'
'mongodb-rs-ssh-3':
image: 'docker.io/bitnami/mongodb'
image: 'docker.io/bitnamilegacy/mongodb'
environment:
MONGODB_ADVERTISED_HOSTNAME: 'mongodb-rs-ssh-3'
MONGODB_REPLICA_SET_MODE: 'secondary'
Expand Down
Loading