Skip to content

Commit

Permalink
Push artifacts after each end-to-end deployment regardless of success
Browse files Browse the repository at this point in the history
  • Loading branch information
gbryant-arm committed Jul 6, 2023
1 parent f87d1bf commit f25103b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,12 @@ jobs:
# Check results
file prediction.0.jpg | grep "JPEG image data"
rm prediction.0.jpg
uses: actions/upload-artifact@v3
with:
name: linux-vod-wasm
path: |
policy.json
server.log
- name: Set up sandbox environment
run: |
git clone --recursive https://github.com/veracruz-project/native-module-sandboxer -b $NATIVE_MODULE_SANDBOXER_TAG
Expand All @@ -222,11 +228,9 @@ jobs:
POLICY_GENERATOR_PATH="artifacts/generate-policy" CLIENT_PATH="artifacts/veracruz-client" SERVER_PATH="artifacts/linux-veracruz-server" RUNTIME_MANAGER_PATH="artifacts/linux-runtime-manager" NATIVE_MODULE_SANDBOXER_PATH="native-module-sandboxer/build/native-module-sandboxer" CA_CERT_CONF_PATH="artifacts/ca-cert.conf" CERT_CONF_PATH="artifacts/cert.conf" PROXY_CLEANUP_SCRIPT_PATH="artifacts/proxy_cleanup.sh" SERVER_LOG="server.log" POLICY_PATH="policy.json" ./deploy_linux_pnm.sh
# Check results
file prediction.0.jpg | grep "JPEG image data"
- name: Upload VOD artifacts
id: upload-vod-artifacts
uses: actions/upload-artifact@v3
with:
name: linux-vod
name: linux-vod-pnm
path: |
policy.json
server.log
Expand Down

0 comments on commit f25103b

Please sign in to comment.