Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Use go modules #179

Merged
merged 1 commit into from
Mar 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.10
- image: circleci/golang:1.12

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
Expand All @@ -20,7 +20,6 @@ jobs:
working_directory: /go/src/github.com/Azure/aad-pod-identity
steps:
- checkout

# specify any bash command here prefixed with `run: `
- run: go get -v -t -d ./...
- run: go test -v $(go list ./... | grep -v test/e2e)
- run: make check-mod
- run: make unit-test
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
FROM golang:1.11 AS build
RUN go get github.com/golang/dep/cmd/dep
ENV GO111MODULE=on
WORKDIR /go/src/github.com/Azure/aad-pod-identity
COPY Gopkg.toml ./
COPY Gopkg.lock ./
RUN dep ensure --vendor-only
COPY . ./
ARG NMI_VERSION=0.0.0-dev
ARG MIC_VERSION=0.0.0-dev
Expand Down
Loading