fix(process-compose)

closes #6071
This commit is contained in:
Jacob Heider 2024-05-06 18:18:04 -04:00
parent 8ec83543b8
commit d85a96c48f
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -28,7 +28,7 @@ provides:
test: test:
env: env:
PC_DISABLE_TUI: false PC_DISABLE_TUI: false
PC_PORT_NUM: $(pkgx get-port) PC_PORT_NUM: $(pkgx get-port | tail -n1)
dependencies: dependencies:
pkgx.sh: ^1 pkgx.sh: ^1
script: script:
@ -45,6 +45,9 @@ test:
hello: hello:
condition: process_completed condition: process_completed
- SETTINGS="$(process-compose info | sed '/^Settings/!d;s/^Settings. *//')" - SETTINGS="$(process-compose info | sed '/^Settings/!d;s/^Settings. *//')"
- mkdir -p "$(dirname "$SETTINGS")" - |
- touch "$SETTINGS" if test -n "$SETTINGS"; then
mkdir -p "$(dirname "$SETTINGS")"
touch "$SETTINGS"
fi
- process-compose up - process-compose up