remove unnecessary engine-stop (#188)

* remove unnecessary engine-stop

Signed-off-by: kpenfound <kyle@dagger.io>

* add deprecationMessage

Signed-off-by: kpenfound <kyle@dagger.io>

---------

Signed-off-by: kpenfound <kyle@dagger.io>
This commit is contained in:
Kyle Penfound 2025-09-16 14:49:30 -04:00 committed by GitHub
parent 4e0ad19142
commit c8eadbd788
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 13 deletions

View file

@ -33,9 +33,9 @@ inputs:
required: false
default: ""
engine-stop:
description: "Whether to stop the Dagger Engine after this run"
description: "Deprecated"
deprecationMessage: "engine-stop is now a no-op and will be removed in a future release"
required: false
default: "true"
call:
description: "Function and arguments for dagger call"
required: false
@ -128,11 +128,3 @@ runs:
if [[ -n "$trace_url" ]]; then
echo "traceURL=$trace_url" >> "$GITHUB_OUTPUT"
fi
- if: (inputs.call != '' || inputs.args != '') && inputs.engine-stop == 'true'
shell: bash
run: |
mapfile -t containers < <(docker ps --filter name="dagger-engine-*" -q)
if [[ "${#containers[@]}" -gt 0 ]]; then
docker stop -t 300 "${containers[@]}";
fi