forked from TrueCloudLab/lego
fix: use new challtestsrv. (#735)
This commit is contained in:
parent
b05b54d1f6
commit
765b80cd41
3 changed files with 2 additions and 10 deletions
|
@ -26,12 +26,9 @@ before_install:
|
||||||
- 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 -
|
- 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 -
|
||||||
- chmod +x $GOPATH/bin/dep
|
- chmod +x $GOPATH/bin/dep
|
||||||
|
|
||||||
# Install Pebble
|
# Install Pebble and challtestsrv
|
||||||
- go get -u github.com/letsencrypt/pebble/...
|
- go get -u github.com/letsencrypt/pebble/...
|
||||||
|
|
||||||
# Install challtestsrv
|
|
||||||
- go get -u github.com/letsencrypt/boulder/test/challtestsrv/...
|
|
||||||
|
|
||||||
# Install linters and misspell
|
# Install linters and misspell
|
||||||
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.12.2
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.12.2
|
||||||
- golangci-lint --version
|
- golangci-lint --version
|
||||||
|
|
|
@ -20,7 +20,7 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
cmdNamePebble = "pebble"
|
cmdNamePebble = "pebble"
|
||||||
cmdNameChallSrv = "challtestsrv"
|
cmdNameChallSrv = "pebble-challtestsrv"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CmdOption struct {
|
type CmdOption struct {
|
||||||
|
|
|
@ -16,11 +16,6 @@ How to run:
|
||||||
go get -u github.com/letsencrypt/pebble/...
|
go get -u github.com/letsencrypt/pebble/...
|
||||||
```
|
```
|
||||||
|
|
||||||
- Install [challtestsrv](https://github.com/letsencrypt/boulder/tree/master/test/challtestsrv):
|
|
||||||
```bash
|
|
||||||
go get -u github.com/letsencrypt/boulder/test/challtestsrv/...
|
|
||||||
```
|
|
||||||
|
|
||||||
- Launch tests:
|
- Launch tests:
|
||||||
```bash
|
```bash
|
||||||
make e2e
|
make e2e
|
||||||
|
|
Loading…
Reference in a new issue