Skip to content

Oc login retry#2632

Merged
JacobWang-bc merged 22 commits into
devfrom
oc-login-retry
Jun 9, 2026
Merged

Oc login retry#2632
JacobWang-bc merged 22 commits into
devfrom
oc-login-retry

Conversation

@JacobWang-bc

Copy link
Copy Markdown
Collaborator

Summary

  • Added shared GitHub composite actions for OpenShift login, OpenShift CLI installation, image build/scan/push, deployment rollout, and deploy request validation.
  • Refactored deploy workflows to reuse the shared actions and reduce duplicated deployment logic.
  • Improved Deploy All orchestration with request validation, safer phase conditions, max-parallel limits, and environment-specific DB secret mapping.
  • Standardized OpenShift login retry behavior across deploy workflows.
  • Kept Docker build retry support, but removed ACR login/backup/push retry logic after deciding it was unnecessary.
  • Replaced the Red Hat OpenShift tools installer with a local pinned oc installer in newer deploy flows.
  • Updated GitHub Actions versions such as checkout/cache/SARIF upload where applicable.
  • Removed unused CHES secrets from service workflow calls.
  • Increased API deploy rollout timeout from 600s to 1200s to handle slower OpenShift rollouts caused by PVC attachment delays.
  • Updated CI/CD documentation for the new deploy flow behavior.

JacobWang-bc and others added 22 commits June 5, 2026 12:00
Replace all inline 'oc login' commands across 12 workflow files with
the reusable .github/actions/openshift-login composite action, which
provides automatic retry support (3 attempts, 10s interval).

Also adds actions/checkout@v4 to manual-rollback.yml which previously
lacked it (required for referencing local composite actions).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…, and frontend to ensure proper execution based on previous job results
@JacobWang-bc JacobWang-bc merged commit bb950e1 into dev Jun 9, 2026
56 checks passed
@JacobWang-bc JacobWang-bc added the devops DevOps templates, documentation, configuration, tools. label Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops DevOps templates, documentation, configuration, tools.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant