mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-16 00:14:15 -05:00
ci: format shellscripts
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
fd9dfb500d
commit
106b738fab
29 changed files with 923 additions and 888 deletions
|
|
@ -3,20 +3,36 @@
|
|||
set -euo pipefail
|
||||
shopt -s inherit_errexit
|
||||
|
||||
LATEST_AZURE_RUNS=$(gh run list -R edgelesssys/constellation -w 'e2e Test Azure' --json databaseId -q '.[].databaseId')
|
||||
LATEST_AZURE_RUNS=$(
|
||||
gh run list \
|
||||
-R edgelesssys/constellation \
|
||||
-w 'e2e Test Azure' \
|
||||
--json databaseId \
|
||||
-q '.[].databaseId'
|
||||
)
|
||||
echo "${LATEST_AZURE_RUNS}"
|
||||
for RUN_ID in ${LATEST_AZURE_RUNS}
|
||||
do
|
||||
# Might fail, because no state was written, because e2e pipeline failed early
|
||||
# Or, because state was downloaded by earlier run of this script
|
||||
gh run download "${RUN_ID}" -R edgelesssys/constellation -n constellation-state.json -D azure/"${RUN_ID}" || true
|
||||
for RUN_ID in ${LATEST_AZURE_RUNS}; do
|
||||
# Might fail, because no state was written, because e2e pipeline failed early
|
||||
# Or, because state was downloaded by earlier run of this script
|
||||
gh run download "${RUN_ID}" \
|
||||
-R edgelesssys/constellation \
|
||||
-n constellation-state.json \
|
||||
-D azure/"${RUN_ID}" || true
|
||||
done
|
||||
|
||||
LATEST_GCP_RUNS=$(gh run list -R edgelesssys/constellation -w 'e2e Test GCP' --json databaseId -q '.[].databaseId')
|
||||
LATEST_GCP_RUNS=$(
|
||||
gh run list \
|
||||
-R edgelesssys/constellation \
|
||||
-w 'e2e Test GCP' \
|
||||
--json databaseId \
|
||||
-q '.[].databaseId'
|
||||
)
|
||||
echo "${LATEST_GCP_RUNS}"
|
||||
for RUN_ID in ${LATEST_GCP_RUNS}
|
||||
do
|
||||
# Might fail, because no state was written, because e2e pipeline failed early
|
||||
# Or, because state was downloaded by earlier run of this script
|
||||
gh run download "${RUN_ID}" -R edgelesssys/constellation -n constellation-state.json -D gcp/"${RUN_ID}" || true
|
||||
for RUN_ID in ${LATEST_GCP_RUNS}; do
|
||||
# Might fail, because no state was written, because e2e pipeline failed early
|
||||
# Or, because state was downloaded by earlier run of this script
|
||||
gh run download "${RUN_ID}" \
|
||||
-R edgelesssys/constellation \
|
||||
-n constellation-state.json \
|
||||
-D gcp/"${RUN_ID}" || true
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue