[CI] Fix Allure report generation (missing xargs in action base image) (#73225)
* [CI] Fix Allure report generation (missing xargs in action image)
simple-elf/allure-report-action is a Dockerfile action rebuilt from the
floating amazoncorretto:8 base on every run. That base image stopped
shipping findutils, so xargs went missing and the bundled allure
launcher aborted ("xargs is not available") without producing a report,
failing the "Generate Allure Report" step with:
cp: cannot stat './allure-report/.': No such file or directory
Pinning the action tag does not help (v1.14's Dockerfile lacks the fix,
and no fixed tag is released yet). Pin instead to the upstream commit
that adds findutils to the Dockerfile (simple-elf/allure-report-action#78,
fixes #77), applied in both tests.yaml and nightly.yaml.
* [CI] Reference v1.15 tag now that upstream released the fix
simple-elf/allure-report-action v1.15 is cut at the exact commit already
pinned here (adds findutils to the Dockerfile). Update the inline comment
to the version tag so the pin is self-documenting and Dependabot-trackable;
the SHA is unchanged.diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml
index acf8a89..d76c140 100644
--- a/.github/workflows/nightly.yaml
+++ b/.github/workflows/nightly.yaml
@@ -365,7 +365,7 @@
path: gh-pages
- name: Generate Allure Report
- uses: simple-elf/allure-report-action@v1.14
+ uses: simple-elf/allure-report-action@385367cde61ac68c2568a117f7579f7f148dc459 # v1.15
with:
allure_results: junit-results
allure_report: allure-report
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index d9ea81f..65e7064 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -1323,7 +1323,7 @@
path: gh-pages
- name: Generate Allure Report
- uses: simple-elf/allure-report-action@v1.14
+ uses: simple-elf/allure-report-action@385367cde61ac68c2568a117f7579f7f148dc459 # v1.15
with:
allure_results: junit-results
allure_report: allure-report