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

Update tooling in Cluster CAPI Operator

XMLWordPrintable

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

      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.

            ddonati@redhat.com Damiano Donati
            joelspeed Joel Speed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: