Skip to content

Commit

Permalink
testing atlasdb password
Browse files Browse the repository at this point in the history
  • Loading branch information
alondhe committed Sep 5, 2023
1 parent 5a0586c commit 1cea68f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 26 deletions.
29 changes: 4 additions & 25 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,8 @@ jobs:
run: docker-compose --env-file $ENV_FILE up -d
- name: Build atlasdb profile
run: docker-compose --env-file $ENV_FILE --profile atlasdb up -d
#- name: Build content profile
# run: docker-compose --env-file $ENV_FILE --profile content up -d
#- name: Build hades profile
# run: docker-compose --env-file $ENV_FILE --profile hades up -d
#- name: Build atlas profile
# run: docker-compose --env-file $ENV_FILE --profile atlas-from-image up -d
#- name: Test atlasdb
# run: |
# sudo apt-get update
# sudo apt-get install --yes --no-install-recommends postgresql-client
# pg_isready -d postgres -h 127.0.0.1 -p 5432 -U postgres
- name: Build webapi profile, sleep 3 mins
- name: Test atlasdb
run: |
docker-compose --env-file $ENV_FILE --profile webapi-from-image up -d
sleep 180
docker logs ohdsi-webapi
#- name: Test content container
# run: curl -s $LOCALHOST_URL
#- name: Test HADES
# run: curl -s $LOCALHOST_URL
#- name: Test Atlas
# run: curl -s $LOCALHOST_URL/atlas/#/home
#- name: Test WebAPI
# run: curl -s $LOCALHOST_URL/WebAPI/info
- name: Test traefik container
run: docker logs traefik
sudo apt-get update
sudo apt-get install --yes --no-install-recommends postgresql-client
PGPASSWORD=mypass psql -h 127.0.0.1 -p 5432 -U postgres -c "select * from webapi.source limit 1"
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ services:

broadsea-atlasdb:
profiles: [ "default", "atlasdb" ]
image: ohdsi/broadsea-atlasdb:2.1.0
image: ohdsi/broadsea-atlasdb:2.1.0-secret
container_name: broadsea-atlasdb
platform: linux/amd64
cpus: 2
Expand Down

0 comments on commit 1cea68f

Please sign in to comment.