Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace dep with go modules #5

Merged
merged 1 commit into from
Sep 11, 2019
Merged

replace dep with go modules #5

merged 1 commit into from
Sep 11, 2019

Conversation

edaniszewski
Copy link
Contributor

This PR:

  • replaces dep with go modules for project dependency management
  • updates various files and config accordingly

A future PR will update the Jenkins pipeline.

Copy link
Contributor

@lazypower lazypower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - minor nit for clarity on if we wanted to propigate a change a little wider than has been targeted.

@@ -5,7 +5,6 @@ pipeline {
agent any

environment {
PROJ_PATH = '/go/src/github.com/vapor-ware/sandbox-plugin'
IMAGE_NAME = 'vaporio/sandbox-plugin'
GOVERSION = '1.12'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you want to clean up the GOVERSION env var here as well since its embedded in the builder image?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup - I was planning on doing this in the follow up "update CI to latest and greatest" PR. Wanted to keep the work for transitioning to go modules separate from greater CI updates.

@@ -12,7 +12,7 @@ GIT_TAG ?= $(shell git describe --tags 2> /dev/null || true)
BUILD_DATE := $(shell date -u +%Y-%m-%dT%T 2> /dev/null)
GO_VERSION := $(shell go version | awk '{ print $$3 }')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@edaniszewski edaniszewski merged commit 572f2ee into v3/staging Sep 11, 2019
@edaniszewski edaniszewski deleted the v3/gomod branch September 11, 2019 20:19
edaniszewski added a commit that referenced this pull request May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants