Switch to golang modules

Bug #1922235 reported by Maysa de Macedo Souza on 2021-04-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Daniel Mellado

Bug Description

Right now we don't support golang modules in kuryr-cni so we need to build with `GO111MODULE=off`[1]. Going forward we should start using modules, to keep parity with how other CNIs are built.

[1] https://github.com/openstack/kuryr-kubernetes/blob/0ece1e0c6afbebbcba627387afea017ba38889de/cni.Dockerfile#L6

tags: added: low-hanging-fruit
description: updated
Changed in kuryr-kubernetes:
assignee: nobody → Sunday Mgbogu (digitalsimboja)
Changed in kuryr-kubernetes:
status: New → In Progress
Changed in kuryr-kubernetes:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr-kubernetes (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr-kubernetes (master)

Reviewed: https://review.opendev.org/c/openstack/kuryr-kubernetes/+/787690
Committed: https://opendev.org/openstack/kuryr-kubernetes/commit/df36329238aaee51718b64936d1a663251a5c304
Submitter: "Zuul (22348)"
Branch: master

commit df36329238aaee51718b64936d1a663251a5c304
Author: Daniel Mellado <email address hidden>
Date: Fri Apr 23 10:41:26 2021 +0200

    Migrate kuryr-cni to go.mod

    This commit migrates kuryr_cni to use go mod and updates its Dockerfile.

    Closes-Bug: #1922235
    Change-Id: If8b7c0350c0dcfd3de2735aff2efe9c86bbd4e58

Changed in kuryr-kubernetes:
status: In Progress → Fix Released
Changed in kuryr-kubernetes:
assignee: Sunday Mgbogu (digitalsimboja) → Daniel Mellado (daniel-mellado)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers