parent
9afd2c1607
commit
ba06c5458a
|
@ -165,7 +165,7 @@ jobs:
|
||||||
|
|
||||||
- name: Collect troubleshooting data
|
- name: Collect troubleshooting data
|
||||||
id: debug-data
|
id: debug-data
|
||||||
if: always()
|
if: failure()
|
||||||
run: |
|
run: |
|
||||||
declare debug_data_dir="$(mktemp -d)"
|
declare debug_data_dir="$(mktemp -d)"
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ jobs:
|
||||||
echo "path=${debug_data_dir}" >>"$GITHUB_OUTPUT"
|
echo "path=${debug_data_dir}" >>"$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Upload collected troubleshooting data
|
- name: Upload collected troubleshooting data
|
||||||
if: always() && steps.debug-data.path
|
if: always() && steps.debug-data.outputs.path
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: debug-data
|
name: debug-data
|
||||||
|
|
|
@ -17,7 +17,7 @@ services:
|
||||||
init: true
|
init: true
|
||||||
volumes:
|
volumes:
|
||||||
- ./setup/entrypoint.sh:/entrypoint.sh:ro,Z
|
- ./setup/entrypoint.sh:/entrypoint.sh:ro,Z
|
||||||
- ./setup/helpers.sh:/helpers.sh:ro,Z
|
- ./setup/lib.sh:/lib.sh:ro,Z
|
||||||
- ./setup/roles:/roles:ro,Z
|
- ./setup/roles:/roles:ro,Z
|
||||||
- setup:/state:Z
|
- setup:/state:Z
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
set -eu
|
set -eu
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
source "${BASH_SOURCE[0]%/*}"/helpers.sh
|
source "${BASH_SOURCE[0]%/*}"/lib.sh
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------
|
# --------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue