Skip to content

Commit

Permalink
try fixing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRamosAcosta committed Jul 19, 2024
1 parent 079bc5f commit cb1e60c
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,20 @@ jobs:
container: node:lts
timeout-minutes: 10
services:
database:
db:
image: mongo:6.0.15-jammy
env:
MONGO_INITDB_ROOT_USERNAME: acid
MONGO_INITDB_ROOT_PASSWORD: password
MONGO_INITDB_DATABASE: develop
MONGO_INITDB_ROOT_USERNAME: acid
MONGO_INITDB_ROOT_PASSWORD: password
options: >-
--health-cmd "echo 'dgit stb.runCommand("ping").ok' | mongosh --quiet"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 27017:27017
volumes:
- ./init-aws.sh:/etc/localstack/init/ready.d/init-aws.sh
aws:
image: localstack/localstack
env:
Expand All @@ -87,15 +88,9 @@ jobs:
run: |
yarn test:ci --shard=${{ matrix.shard }}/${{ strategy.job-total }}
env:
DB_HOST: database
DB_USERNAME: acid
DB_PASSWORD: password
DB_DATABASE: develop
QUEUE_HOST: queue
QUEUE_USERNAME: acid
QUEUE_PASSWORD: password
DB_HOST: db
AWS_ENDPOINT: http://aws:4566
AWS_SQS_URL: http://sqs.eu-west-1.aws.localstack.cloud:4566/000000000000/localstack-queue
AWS_SQS_URL: http://sqs.eu-west-1.aws:4566/000000000000/localstack-queue

docker-build:
needs: skip-draft
Expand Down

0 comments on commit cb1e60c

Please sign in to comment.