Skip to content

Commit

Permalink
feat: create dirs for testing in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Rouven Himmelstein committed Jan 23, 2024
1 parent d520c00 commit 06d665d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:

- name: Test the built image
run: |
mkdir -p config/ data/
chmod 777 config/ data/
bash test-image.sh
- name: Build and push container image
Expand Down
3 changes: 0 additions & 3 deletions test-image.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env bash

# Create config and data directories, ignore errors if they already exist
mkdir -p ./config ./data 2> /dev/null

# Spin up a new container
echo "🚀 Spinning up a test container"
docker-compose up -d
Expand Down

0 comments on commit 06d665d

Please sign in to comment.