Skip to content

Commit

Permalink
Set POSTGRES_PASSWORD for tests, also start qwc-config-db-migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Oct 26, 2023
1 parent 2ad99b6 commit 8deab37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
sed -i 's|host=qwc-postgis|host=localhost|g' pg_service-write.conf
sed -i 's|port=5432|port=5439|g' pg_service-write.conf
cp pg_service-write.conf ~/.pg_service.conf
docker-compose -f docker-compose-example.yml up -d qwc-postgis
sed -Ei "s|^(\s*POSTGRES_PASSWORD:).*$|\1 'waej7WuoOoth0wor'|" docker-compose-example.yml
docker-compose -f docker-compose-example.yml up -d qwc-postgis qwc-config-db-migrate qwc-qgis-server
- name: Setting up Python
uses: actions/setup-python@v2
Expand Down Expand Up @@ -58,4 +59,4 @@ jobs:
name: sourcepole/${{ github.event.repository.name }}
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
tags: "${{ steps.get_tag.outputs.tag }}"
tags: "${{ steps.get_tag.outputs.tag }}"

0 comments on commit 8deab37

Please sign in to comment.