Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-1812

Update tooling in Machine API Provider GCP

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Normal
    • None
    • None
    • CLOUD Sprint 230, CLOUD Sprint 231, CLOUD Sprint 232

    Description

      Background

      Currently our approach to manage and update auxiliary tooling (such as envtest, controller-gen, etc) is inconsistent. Fine pattern was introduced in CPMS repo, which relies on golang toolchain for update, vendor and run this auxiliary tooling.

      For CPMS context see:

      https://github.com/openshift/cluster-control-plane-machine-set-operator/blob/main/tools/tools.go

      https://github.com/openshift/cluster-control-plane-machine-set-operator/blob/main/go.mod#L24

      https://github.com/openshift/cluster-control-plane-machine-set-operator/blob/main/Makefile#L19

      Steps

      • Align envtest, controller-gen and other tooling management with pattern introduced within CPMS repo
      • Introduce additional test which compares envtest version (if envtest is in use within particular repo) with using k8s related libraries version. This will help to not forget to update envtest and other aux tools during dependency bumps.

      Attachments

        Activity

          People

            rmanak@redhat.com Radek Manak
            joelspeed Joel Speed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: