Uploaded image for project: 'Red Hat OpenShift Control Planes'
  1. Red Hat OpenShift Control Planes
  2. CNTRLPLANE-2533

Publish HyperShift documentation to production on PR merge

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • HyperShift
    • None
    • None
    • None
    • None

      Context

      CNTRLPLANE-2531 adds documentation preview builds for PRs. However, when a PR with docs changes is merged, the production documentation site (hypershift.pages.dev) is not automatically updated.

      Acceptance Criteria

      • When a PR with docs/ changes is merged to main, a postsubmit job triggers automatically
      • The job builds MkDocs documentation and deploys to the production Cloudflare Pages site
      • A comment is posted on the merged PR confirming the docs are now live at https://hypershift.pages.dev

      Implementation

      Add postsubmit CI configuration to openshift/release repository:

      • Reuse hypershift-docs-build step from CNTRLPLANE-2531
      • Create hypershift-docs-deploy-cloudflare-production step (deploys to main branch)
      • Create hypershift-docs-publish-comment step (posts "now live" comment)
      • Add postsubmit job to hypershift ci-operator config

              asegurap1@redhat.com Antoni Segura Puimedon
              asegurap1@redhat.com Antoni Segura Puimedon
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: