Skip to content

Commit

Permalink
- add docker login for build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Sep 3, 2024
1 parent 1be7fab commit 35c2c90
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .circleci/build-and-test/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
- run:
name: Disable npm audit warnings in CI
command: npm set audit false

# This allows us to use the node orb to install packages within other commands
install-nodejs-packages: node/install-packages

docker-login:
steps:
- run:
name: Docker Login
command: |
echo "$CIRCI_DOCKER_LOGIN" | docker login https://tdp-docker.dev.raftlabs.tech -u tdp-circi --password-stdin
2 changes: 2 additions & 0 deletions .circleci/build-and-test/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
steps:
- checkout
- docker-compose-check
- docker-login
- docker-compose-up-backend
- run:
name: Run Unit Tests And Create Code Coverage Report
Expand Down Expand Up @@ -46,6 +47,7 @@
steps:
- checkout
- docker-compose-check
- docker-login
- docker-compose-up-backend
- docker-compose-up-frontend
- install-nodejs-machine
Expand Down

0 comments on commit 35c2c90

Please sign in to comment.