Skip to content

Commit

Permalink
Linter fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-i-berry committed Aug 20, 2024
1 parent b029bed commit a84a5ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ jobs:
working-directory: docker/tests
run: |
# create user for wis2downloader
sudo usermod -aG docker $(whoami)
sudo usermod -aG docker "$(whoami)"
docker compose build # build containers
mkdir ./data # make sure data directory exists
sudo chmod 770 ./data # update permissions so group read / write
- name: Run containers
working-directory: docker/tests
run: |
export DOCKER_GID="$(getent group docker | cut -d: -f3)"
DOCKER_GID="$(getent group docker | cut -d: -f3)"
export DOCKER_GID
docker compose up -d
- name: Run CLI tests
working-directory: docker/tests
Expand Down
5 changes: 0 additions & 5 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/bin/bash
echo "Download directory in container: $DOWNLOAD_DIR"

ls -althF
ls -althF /home/wis2downloader/app
ls -althF /home/wis2downloader/app/data

# ensure DOWNLOAD_DIR exists
if [ ! -d "$DOWNLOAD_DIR" ]; then
echo "Creating download directory: $DOWNLOAD_DIR"
Expand Down

0 comments on commit a84a5ff

Please sign in to comment.