Skip to content

ci: add --fail to curl and remove -f from rm to prevent silent CI failures#300

Merged
Wenzel merged 1 commit intointel:mainfrom
Wenzel:fix/ci-curl-fail-and-rm
Mar 3, 2026
Merged

ci: add --fail to curl and remove -f from rm to prevent silent CI failures#300
Wenzel merged 1 commit intointel:mainfrom
Wenzel:fix/ci-curl-fail-and-rm

Conversation

@Wenzel
Copy link
Contributor

@Wenzel Wenzel commented Mar 3, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CI workflow to avoid “successful” runs when external downloads fail, by making curl error out on HTTP failures and making cleanup steps fail if expected artifacts are missing.

Changes:

  • Add --fail to SIMICS dependency download curl commands.
  • Remove -f from an rm command so missing files are surfaced as CI errors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +56 to +58
curl --fail --noproxy -L -o "${HOME}/simics/ispm.tar.gz" \
"${{ env.PUBLIC_SIMICS_ISPM_URL }}" && \
curl --noproxy -L -o "${HOME}/simics/simics.ispm" \
curl --fail --noproxy -L -o "${HOME}/simics/simics.ispm" \
Copy link

Copilot AI Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curl --noproxy requires an argument (e.g., '*' or a comma-separated host list). As written, -L is being consumed as the --noproxy value, so redirects may not be followed and proxy-bypass behavior is unintended. Pass an explicit value to --noproxy (or remove it if not needed) so -L is parsed correctly.

Copilot uses AI. Check for mistakes.
@Wenzel Wenzel force-pushed the fix/ci-curl-fail-and-rm branch from 27c46c7 to ce5fb4a Compare March 3, 2026 17:32
@Wenzel Wenzel requested a review from Copilot March 3, 2026 17:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Wenzel Wenzel merged commit 8bc2dcc into intel:main Mar 3, 2026
28 checks passed
@Wenzel Wenzel deleted the fix/ci-curl-fail-and-rm branch March 3, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants