Skip to content

Commit

Permalink
fix directory permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-oleynik committed Dec 4, 2024
1 parent d22dade commit c0c3db5
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build_test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
ports:
- 5432:5432
steps:

- name: Checkout code
uses: actions/checkout@v3
with:
Expand All @@ -94,7 +94,7 @@ jobs:

- name: Install frontend dependencies
run: corepack enable && yarn install --immutable

- name: Build webknossos (webpack)
run: yarn build

Expand Down Expand Up @@ -124,8 +124,8 @@ jobs:
# docker compose up -d postgres
# sleep 3
# docker compose run compile tools/postgres/dbtool.js check-evolutions-schema


- name: Build webknossos (sbt)
run: |
if [ "${{ github.ref_name }}" == "master" ]; then
Expand All @@ -146,7 +146,7 @@ jobs:

- name: Lint backend code and check formatting
run: .github/not-on-master.sh sbt ";scapegoat; scalafmtCheck; util/scalafmtCheck; webknossosTracingstore/scalafmtCheck; webknossosDatastore/scalafmtCheck"

- name: Run backend tests
run: .github/not-on-master.sh sbt -v "testOnly backend.*"

Expand Down Expand Up @@ -175,30 +175,30 @@ jobs:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}

- name: Start webknossos, datastore, and tracingstore
run: |
mkdir -p fossildb/data && chown -R 999:999 fossildb/data
mkdir -p fossildb/backup && chown -R 999:999 fossildb/backup
mkdir -p fossildb/data && sudo chmod -R "0777" fossildb/data
mkdir -p fossildb/backup && sudo chmod -R "0777" fossildb/backup
docker compose up -d webknossos
docker compose up -d webknossos-datastore
docker compose up -d webknossos-tracingstore
- name: Run webknossos smoke test
uses: ./.github/actions/health_check_action
with:
with:
url: http://localhost:9000/api/health

- name: Run webknossos-datastore smoke test
uses: ./.github/actions/health_check_action
with:
with:
url: http://localhost:9090/data/health

- name: Run webknossos-tracingstore smoke test
uses: ./.github/actions/health_check_action
with:
with:
url: http://localhost:9050/tracings/health

- name: Run end-to-end tests
uses: nick-invision/retry@v2
with:
Expand All @@ -218,7 +218,7 @@ jobs:
docker compose push webknossos
docker compose push webknossos-datastore
docker compose push webknossos-tracingstore
if [[ ${{ github.ref_type }} == "branch" ]]; then
docker tag scalableminds/webknossos:${DOCKER_TAG} scalableminds/webknossos:${NORMALIZED_BRANCH}
retry docker push scalableminds/webknossos:${NORMALIZED_BRANCH}
Expand Down

0 comments on commit c0c3db5

Please sign in to comment.