Update docker-compose with absolute paths for test environment
Some checks are pending
CI / check-phpdoc (push) Waiting to run
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
Some checks are pending
CI / check-phpdoc (push) Waiting to run
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
This commit is contained in:
parent
a2e49deb04
commit
206382ff29
1 changed files with 17 additions and 0 deletions
17
.github/workflows/ncc_workflow.yml
vendored
17
.github/workflows/ncc_workflow.yml
vendored
|
@ -329,6 +329,23 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
ncc package install --package="release/net.nosial.socialbox.ncc" --build-source --reinstall -y --log-level debug
|
ncc package install --package="release/net.nosial.socialbox.ncc" --build-source --reinstall -y --log-level debug
|
||||||
|
|
||||||
|
- name: Update docker-compose with absolute paths
|
||||||
|
run: |
|
||||||
|
WORKSPACE=$(pwd)
|
||||||
|
echo "Working directory: $WORKSPACE"
|
||||||
|
|
||||||
|
# Use absolute paths in docker-compose.test.yml
|
||||||
|
sed -i "s|\\./tests/docker/coffee/config|$WORKSPACE/tests/docker/coffee/config|g" docker-compose.test.yml
|
||||||
|
sed -i "s|\\./tests/docker/coffee/data|$WORKSPACE/tests/docker/coffee/data|g" docker-compose.test.yml
|
||||||
|
sed -i "s|\\./tests/docker/coffee/logs|$WORKSPACE/tests/docker/coffee/logs|g" docker-compose.test.yml
|
||||||
|
sed -i "s|\\./tests/docker/teapot/config|$WORKSPACE/tests/docker/teapot/config|g" docker-compose.test.yml
|
||||||
|
sed -i "s|\\./tests/docker/teapot/data|$WORKSPACE/tests/docker/teapot/data|g" docker-compose.test.yml
|
||||||
|
sed -i "s|\\./tests/docker/teapot/logs|$WORKSPACE/tests/docker/teapot/logs|g" docker-compose.test.yml
|
||||||
|
sed -i "s|\\./docker/redis.conf|$WORKSPACE/docker/redis.conf|g" docker-compose.test.yml
|
||||||
|
|
||||||
|
# Show changes
|
||||||
|
grep -A 3 "volumes:" docker-compose.test.yml
|
||||||
|
|
||||||
- name: Build test environment
|
- name: Build test environment
|
||||||
run: |
|
run: |
|
||||||
docker-compose -f docker-compose.test.yml build
|
docker-compose -f docker-compose.test.yml build
|
||||||
|
|
Loading…
Add table
Reference in a new issue