Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-2632

Gitlab to Github - Day 2 - migrate app-interface pipelines

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Core UI
    • Strategic Investments
    • 13
    • False
    • Hide

      None

      Show
      None
    • False
    • pr-checks & product builds are in place, fedramp build and product deployment are underway. next step: QE PLs (smoke-tests)
    • OCMUI Core Sprint 265, OCMUI Core Sprint 266

      adapt and attach existing gitlab pipelines to the new github repo.

      details

      build + test

      • add new job template definitions, based on the global github templates, duplicating existing ones (the gitlab templates will be removed at a later phase)
      • add new jobs, calling the newly created github templates, duplicating existing ones (the gitlab jobs will be removed at later phase)
      • update project/group keys in the jobs config' project field to the github keys (or duplicate the entire definition, if possible)
      • update repo URL in the OCM app landlord code-component definition (or duplicate the entire definition, if possible)
      • manually create GH webhooks for initial configuration of ci-ext hosted jobs; read this guide wait! our GH repo is private, so CI should probably remain on ci-int! read this section

      existing jobs to migrate:

      • pr-check jobs for topic/long-lived branches (push to quay)
      • build-deploy jobs for long-lived branches (push to quay)
      • FedRAMP jobs (push to insights)
      • cypress E2E smoke-test pipeline jobs
      • cypress E2E smoke-test image builder job

      deploy

      observability

      • update prometheus rules (1, 2, 3), to reference the newly created github job keys (check if this is necessary - these configs might be obsolete)

      Q & A

      • is there any change necessary in the OCM app config' field codeComponents.gitlabSync?
        looks like it was added to aid FedRAMP somehow, for mirroring the repo (see this revision), but the source and target are the same.. wat

        no, there's no change necessary - apparently the target refers to a separate gitlab instance, used solely for FedRAMP. tho, we may have to add the same codeComponents.gitlabSync field to the newly added codeComponent

      • is the prometheus rules change necessary? what are they used for? what is prometheus? does it not refer to old, obsolete jobs?

      references

              emalka@redhat.com Lee M
              emingora Enrique Mingorance Cano
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: