@@ -76,49 +76,49 @@ jobs:
7676 run : |
7777 task run:ci -v
7878
79- - uses : actions/upload-artifact@v4
80- if : always()
81- with :
82- name : resources_from_failed_tests
83- path : /tmp/e2e_failed__*
84- if-no-files-found : ignore
85-
86- - name : Save results
87- working-directory : ./tests/e2e/
88- if : always()
89- run : |
90- if [ -z "$SUMMARY" ]; then
91- SUMMARY=$(jq -n \
92- --arg csi "$CSI" \
93- --arg date "$DATE" \
94- --arg startTime "$START_TIME" \
95- --arg branch "$GITHUB_REF_NAME" \
96- --arg status ":question: UNKNOWN" \
97- --arg link "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" \
98- '{
99- CSI: $csi,
100- Date: $date,
101- StartTime: $startTime,
102- Branch: $branch,
103- Status: $status,
104- Link: $link
105- }'
106- )
107- fi
108- echo $SUMMARY
109-
110- hash=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32 | md5sum | awk '{print $1}')
111-
112- kubectl apply --filename - <<EOF
113- apiVersion: v1
114- kind: Secret
115- metadata:
116- name: "end-to-end-tests-report-$STORAGE_CLASS_NAME-$DATE-${hash:0:8}"
117- namespace: default
118- labels:
119- storageClass: "$STORAGE_CLASS_NAME"
120- type: Opaque
121- stringData:
122- summary: |
123- $(echo "$SUMMARY" | sed 's/^/ /')
124- EOF
79+ # - uses: actions/upload-artifact@v4
80+ # if: always()
81+ # with:
82+ # name: resources_from_failed_tests
83+ # path: /tmp/e2e_failed__*
84+ # if-no-files-found: ignore
85+
86+ # - name: Save results
87+ # working-directory: ./tests/e2e/
88+ # if: always()
89+ # run: |
90+ # if [ -z "$SUMMARY" ]; then
91+ # SUMMARY=$(jq -n \
92+ # --arg csi "$CSI" \
93+ # --arg date "$DATE" \
94+ # --arg startTime "$START_TIME" \
95+ # --arg branch "$GITHUB_REF_NAME" \
96+ # --arg status ":question: UNKNOWN" \
97+ # --arg link "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" \
98+ # '{
99+ # CSI: $csi,
100+ # Date: $date,
101+ # StartTime: $startTime,
102+ # Branch: $branch,
103+ # Status: $status,
104+ # Link: $link
105+ # }'
106+ # )
107+ # fi
108+ # echo $SUMMARY
109+
110+ # hash=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32 | md5sum | awk '{print $1}')
111+
112+ # kubectl apply --filename - <<EOF
113+ # apiVersion: v1
114+ # kind: Secret
115+ # metadata:
116+ # name: "end-to-end-tests-report-$STORAGE_CLASS_NAME-$DATE-${hash:0:8}"
117+ # namespace: default
118+ # labels:
119+ # storageClass: "$STORAGE_CLASS_NAME"
120+ # type: Opaque
121+ # stringData:
122+ # summary: |
123+ # $(echo "$SUMMARY" | sed 's/^/ /')
124+ # EOF
0 commit comments