Skip to content

Conversation

@sebrandon1
Copy link
Contributor

@sebrandon1 sebrandon1 commented Nov 20, 2025

Adding a quick workaround shell script check that will check that the OCP mirrors are available prior to running the action and exit out gracefully. You can always disable this connectivity check with a flag.

Connectivity Check Improvements:

  • Added a check-connectivity.sh script to verify network access to the OpenShift Mirror before proceeding, with clear error messages on failure (scripts/check-connectivity.sh).
  • Updated action.yml to run the connectivity check by default, and added a new disableConnectivityCheck input to allow users to skip this check if desired (action.yml).
  • Updated documentation in README.md to describe the connectivity requirement, the new automatic check, and how to disable it if necessary (README.md).

Shell Script Linting Refactor:

  • Moved shell script linting logic from the GitHub Actions workflow to a lint target in the Makefile, and added a fix-lint target for easy formatting fixes (Makefile).
  • Updated the workflow to use make lint for shell script linting instead of inline commands (.github/workflows/pre-main.yml).

@sebrandon1 sebrandon1 self-assigned this Nov 20, 2025
@sebrandon1 sebrandon1 force-pushed the add_connectivity_check branch from dca85d2 to 0a9ca4c Compare November 20, 2025 23:43
@sebrandon1 sebrandon1 merged commit 5e9dc50 into main Nov 21, 2025
9 checks passed
@sebrandon1 sebrandon1 deleted the add_connectivity_check branch November 21, 2025 20:09
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