Skip to content

Commit

Permalink
Merge pull request #32 from h3poteto/feature/mod
Browse files Browse the repository at this point in the history
Introduce go module instead of glide
  • Loading branch information
h3poteto committed Nov 2, 2019
2 parents 827f71a + 10f67f4 commit b34dd42
Show file tree
Hide file tree
Showing 5 changed files with 178 additions and 303 deletions.
14 changes: 5 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
language: go

env:
- GO111MODULE=on

go:
- 1.10.x
- 1.11.x
- 1.12.x

before_install:
- wget "https://github.com/Masterminds/glide/releases/download/v0.13.2/glide-v0.13.2-linux-amd64.tar.gz"
- mkdir -p $HOME/bin
- tar -vxz -C $HOME/bin --strip=1 -f glide-v0.13.2-linux-amd64.tar.gz
- export PATH="$HOME/bin:$PATH"
- 1.13.x

install:
- glide install
- go mod download

script:
- cd job && go test
272 changes: 0 additions & 272 deletions glide.lock

This file was deleted.

22 changes: 0 additions & 22 deletions glide.yaml

This file was deleted.

24 changes: 24 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
module github.com/h3poteto/kube-job

go 1.13

require (
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/fsnotify/fsnotify v1.4.8-0.20180830220226-ccc981bf8038 // indirect
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32
github.com/hashicorp/hcl v1.0.1-0.20180906183839-65a6292f0157 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/magiconair/properties v1.8.1-0.20190110142458-7757cc9fdb85 // indirect
github.com/mattn/go-shellwords v1.0.4-0.20181023065652-3c0603ff9671
github.com/pelletier/go-toml v1.2.1-0.20181124002727-27c6b39a135b // indirect
github.com/pkg/errors v0.8.2-0.20190109061628-ffb6e22f0193
github.com/sirupsen/logrus v1.3.0
github.com/spf13/afero v1.2.1 // indirect
github.com/spf13/cobra v0.0.4-0.20190109003409-7547e83b2d85
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/viper v1.3.2-0.20190127094459-d104d259b338
k8s.io/api v0.0.0-20191016110246-af539daaa43a
k8s.io/apimachinery v0.0.0-20191004115701-31ade1b30762
k8s.io/client-go v0.0.0-20191016110837-54936ba21026
k8s.io/klog v1.0.0 // indirect
)

0 comments on commit b34dd42

Please sign in to comment.