Skip to content

Commit e7a90b9

Browse files
committed
chore: migrate to go module (v3.0.0)
- chore: update dependencies: use version with go modules. - chore: remove dep. - chore: update backoff imports. - chore: init go module. - chore: update CI. - chore: mod v3 - chore: update docker image.
1 parent 99bf9f4 commit e7a90b9

File tree

2,562 files changed

+880
-712689
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,562 files changed

+880
-712689
lines changed

.travis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,13 @@ addons:
1919
- xn--lg-bja9b.wtf
2020

2121
env:
22-
- MEMCACHED_HOSTS=localhost:11211
22+
- MEMCACHED_HOSTS=localhost:11211 GO111MODULE=on
2323

2424
before_install:
2525
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_26c593b079d9_key -iv $encrypted_26c593b079d9_iv -in .gitcookies.enc -out .gitcookies -d || true'
2626

27-
# Download and install dep
28-
- curl -sI https://github.com/golang/dep/releases/latest | grep -Fi Location | tr -d '\r' | sed "s/tag/download/g" | awk -F " " '{ print $2 "/dep-linux-amd64"}' | wget --output-document=$GOPATH/bin/dep -i -
29-
- chmod +x $GOPATH/bin/dep
30-
3127
# Install Pebble and challtestsrv
32-
- go get -u github.com/letsencrypt/pebble/...
28+
- GO111MODULE=off go get -u github.com/letsencrypt/pebble/...
3329

3430
# Install linters and misspell
3531
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.17.1
@@ -41,7 +37,7 @@ before_install:
4137

4238
install:
4339
- echo "TRAVIS_GO_VERSION=$TRAVIS_GO_VERSION"
44-
- dep status -v
40+
- go mod download
4541

4642
before_script:
4743
- make validate-doc

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [v3.0.0] - 2019-08-05
4+
5+
### Changed:
6+
- migrate to go module (new import github.com/go-acme/lego/v3/)
7+
- update DNS clients
8+
39
## [v2.7.2] - 2019-07-30
410

511
### Fixed:

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
FROM golang:alpine3.9 as builder
1+
FROM golang:1.12-alpine3.10 as builder
22

3-
RUN apk --update upgrade \
4-
&& apk --no-cache --no-progress add make git
3+
RUN apk --no-cache --no-progress add make git
54

65
WORKDIR /go/src/github.com/go-acme/lego
76
COPY . .
87
RUN make build
98

10-
FROM alpine:3.9
9+
FROM alpine:3.10
1110
RUN apk update \
1211
&& apk add --no-cache ca-certificates tzdata \
1312
&& update-ca-certificates

0 commit comments

Comments
 (0)