mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-12 22:15:19 +00:00
Enable save of logs on failure
This commit is contained in:
parent
1f8dd7c327
commit
f6de3793e3
@ -75,9 +75,6 @@ if [ -f "$hwJsonFile" ]; then
|
||||
cp "$hwJsonFile" "$ciTestHwJsonFile"
|
||||
fi
|
||||
|
||||
# Can remove this once unzip is added to the image
|
||||
dnf install -y unzip &> /dev/null
|
||||
|
||||
# Step 2: Copy the platform cert to tcg folder and or upload it to the ACA
|
||||
if [[ ! -d $pcDir ]]; then
|
||||
pcDir=$profileDir/default/platformcerts
|
||||
|
4
.github/workflows/system_test.yml
vendored
4
.github/workflows/system_test.yml
vendored
@ -125,14 +125,14 @@ jobs:
|
||||
# run: |
|
||||
# .ci/system-tests/tests/rim_system_tests.sh
|
||||
- name: Copy System Test Log files
|
||||
continue-on-error: true
|
||||
if: always()
|
||||
shell: bash
|
||||
run: |
|
||||
echo "*** Extracting ACA and Provisioner.Net logs ..."
|
||||
docker exec hirs-aca1 bash -c "mkdir -p /HIRS/logs/aca/ && cp -arp /var/log/hirs/* /HIRS/logs/aca/"
|
||||
docker exec hirs-provisioner1-tpm2 bash -c "mkdir -p /HIRS/logs/provisioner/ && cp -ap hirs*.log /HIRS/logs/provisioner/ && chmod -R 777 /HIRS/logs"
|
||||
- name: Docker Compose Down
|
||||
continue-on-error: true
|
||||
if: always()e
|
||||
shell: bash
|
||||
run: |
|
||||
echo "*** Exiting and removing Docker containers and network ..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user