mirror of
https://github.com/azaion/detections.git
synced 2026-06-21 08:11:07 +00:00
Fixed permissions
This commit is contained in:
@@ -21,6 +21,7 @@ steps:
|
||||
commands:
|
||||
- cd e2e
|
||||
- mkdir -p fixtures results logs
|
||||
- chmod 777 results logs
|
||||
- if [ -d fixtures/classes.json ]; then rm -rf fixtures/classes.json; fi
|
||||
- if [ ! -f fixtures/classes.json ] && [ -f ../classes.json ]; then cp ../classes.json fixtures/classes.json; fi
|
||||
- test -f fixtures/classes.json
|
||||
|
||||
@@ -21,6 +21,9 @@ esac
|
||||
COMPOSE="docker compose -f docker-compose.test.yml --profile $PROFILE"
|
||||
LOG_TAIL="${E2E_LOG_TAIL:-100}"
|
||||
|
||||
mkdir -p results logs
|
||||
chmod 777 results logs
|
||||
|
||||
if [[ -d fixtures/classes.json ]]; then
|
||||
rm -rf fixtures/classes.json
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user