From 06d665db0c703931c0857315b60764b998ba0caa Mon Sep 17 00:00:00 2001 From: Rouven Himmelstein Date: Tue, 23 Jan 2024 19:41:08 +0100 Subject: [PATCH] feat: create dirs for testing in pipeline --- .github/workflows/pipeline.yml | 2 ++ test-image.sh | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 9166411..58de88f 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -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 diff --git a/test-image.sh b/test-image.sh index aa94c5d..5a7466b 100755 --- a/test-image.sh +++ b/test-image.sh @@ -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