Skip to content

Commit

Permalink
default source dir
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Dec 7, 2023
1 parent 2718dc0 commit eddcaf4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
image: opengisch/signalo:${DOCKER_TAG:-unstable}
working_dir: /usr/src
volumes:
- ${SOURCE_DIR}:/usr/src
- ${SOURCE_DIR:-..}:/usr/src
ports:
# making the postgres database accessible for debugging
- ${SIGNALO_PG_PORT:-5432}:${SIGNALO_PG_PORT:-5432}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/project-translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ jobs:
- name: Start Docker compose
run: |
export SOURCE_DIR=$(pwd)
docker compose --profile qgis up --build -d
docker compose exec signalo init_db.sh wait
- name: Translate
run: |
export SOURCE_DIR=$(pwd)
docker compose run qgis sh -c 'xvfb-run /usr/src/scripts/project-translation-create-source.py'
- name: Push to TX
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ jobs:

- name: Docker build
run: |
export SOURCE_DIR=$(pwd)
docker compose --profile qgis --profile schemaspy up --build -d
docker compose exec signalo init_db.sh wait
- name: create dumps
run: |
export SOURCE_DIR=$(pwd)
docker compose exec signalo pg_dump --format custom --exclude-schema=public --blobs --compress 5 --file signalo-${{ github.event.release.tag_name }}-db-dump.backup signalo
docker compose exec signalo pg_dump --format plain --exclude-schema=public --file signalo-${{ github.event.release.tag_name }}-db-dump.sql signalo
docker compose exec signalo pg_dump --format plain --schema=signalo_app --file signalo-${{ github.event.release.tag_name }}-db-app.sql signalo
Expand All @@ -45,7 +43,6 @@ jobs:
- name: translate project
run: |
./tx pull -a
export SOURCE_DIR=$(pwd)
docker compose run qgis sh -c 'xvfb-run /usr/src/scripts/project-translation-compile.sh'
rm project/signalo_*.ts # do not package ts files
Expand Down

0 comments on commit eddcaf4

Please sign in to comment.