ci: fix Gitea artifact and npm audit handling
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s
GeoIntel release gates / AI image, SBOM and container scan (push) Canceled after 0s
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s
GeoIntel release gates / AI image, SBOM and container scan (push) Canceled after 0s
This commit is contained in:
@@ -57,7 +57,7 @@ jobs:
|
||||
docker compose config > artifacts/docker-compose.resolved.yml
|
||||
- name: Publish quality evidence
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@c6a3b2bd78b3985e4b2f15397fec357f0fd808de
|
||||
with:
|
||||
name: quality-evidence
|
||||
path: |
|
||||
@@ -92,11 +92,17 @@ jobs:
|
||||
- name: Audit locked frontend dependencies
|
||||
working-directory: frontend
|
||||
run: |
|
||||
set +e
|
||||
npm ci
|
||||
npm audit --audit-level=high --json > ../artifacts/npm-audit.json
|
||||
install_status="$?"
|
||||
if [ "$install_status" -ne 0 ]; then exit "$install_status"; fi
|
||||
npm audit --audit-level=high --json | tee ../artifacts/npm-audit.json
|
||||
audit_status="${PIPESTATUS[0]}"
|
||||
set -e
|
||||
exit "$audit_status"
|
||||
- name: Publish dependency evidence
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@c6a3b2bd78b3985e4b2f15397fec357f0fd808de
|
||||
with:
|
||||
name: dependency-audits
|
||||
path: |
|
||||
@@ -138,7 +144,7 @@ jobs:
|
||||
run: bash scripts/scan_container_image.sh "geointel-ci:$RELEASE_SHA-gis"
|
||||
- name: Publish GIS container evidence
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@c6a3b2bd78b3985e4b2f15397fec357f0fd808de
|
||||
with:
|
||||
name: container-gis-evidence
|
||||
path: |
|
||||
@@ -181,7 +187,7 @@ jobs:
|
||||
run: bash scripts/scan_container_image.sh "geointel-ci:$RELEASE_SHA-ai"
|
||||
- name: Publish AI container evidence
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
uses: actions/upload-artifact@c6a3b2bd78b3985e4b2f15397fec357f0fd808de
|
||||
with:
|
||||
name: container-ai-evidence
|
||||
path: |
|
||||
|
||||
Reference in New Issue
Block a user