Skip to content

Commit

Permalink
Merge pull request #664 from getodk/circleci-image
Browse files Browse the repository at this point in the history
Update image used for CircleCI
  • Loading branch information
matthew-white committed May 23, 2024
2 parents 1ef2c9c + b81fc33 commit e284e52
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2004:current

steps:
- checkout
Expand Down Expand Up @@ -37,4 +37,9 @@ jobs:
appropriate/curl -4 --insecure --retry 20 --retry-delay 2 --retry-connrefused https://localhost/v1/projects \
| tee /dev/tty \
| grep -q '\[\]'
docker compose exec -T service npx pm2 list | grep -c "online" | grep -q 4 || exit 1
- run:
name: Verify pm2
command: |
docker compose exec -T service npx pm2 list \
| tee /dev/tty \
| grep -c "online" | grep -q 4

0 comments on commit e284e52

Please sign in to comment.