From 8deab372c0014a11c43f08fa74e44d5633e3d496 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 26 Oct 2023 12:46:25 +0200 Subject: [PATCH] Set POSTGRES_PASSWORD for tests, also start qwc-config-db-migrate --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce6053e..9292b6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 }}" \ No newline at end of file + tags: "${{ steps.get_tag.outputs.tag }}"