mirror of
https://github.com/deviantony/docker-elk.git
synced 2025-12-11 17:30:11 +01:00
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -165,7 +165,7 @@ jobs:
|
||||
|
||||
- name: Collect troubleshooting data
|
||||
id: debug-data
|
||||
if: always()
|
||||
if: failure()
|
||||
run: |
|
||||
declare debug_data_dir="$(mktemp -d)"
|
||||
|
||||
@@ -194,7 +194,7 @@ jobs:
|
||||
echo "path=${debug_data_dir}" >>"$GITHUB_OUTPUT"
|
||||
|
||||
- name: Upload collected troubleshooting data
|
||||
if: always() && steps.debug-data.path
|
||||
if: always() && steps.debug-data.outputs.path
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: debug-data
|
||||
|
||||
@@ -17,7 +17,7 @@ services:
|
||||
init: true
|
||||
volumes:
|
||||
- ./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:/state:Z
|
||||
environment:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
source "${BASH_SOURCE[0]%/*}"/helpers.sh
|
||||
source "${BASH_SOURCE[0]%/*}"/lib.sh
|
||||
|
||||
|
||||
# --------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user