Skip to content

Commit 2f23511

Browse files
committed
Add common project content/checks to zfs
Signed-off-by: Phil Estes <[email protected]>
1 parent c6182c4 commit 2f23511

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

.travis.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,29 @@ dist: trusty
22
sudo: required
33
language: go
44
go:
5-
- 1.9.x
5+
- 1.10.x
6+
- 1.11.x
7+
68
go_import_path: github.com/containerd/zfs
9+
710
install:
811
- sudo apt-add-repository -y ppa:zfs-native/stable && sudo apt-get update && sudo apt-get -y install linux-headers-$(uname -r) && sudo apt-get -y install ubuntu-zfs && sudo modprobe zfs
912
# until containerd v1.0.0 GA, we don't pin containerd version.
1013
- mkdir -p $GOPATH/src/github.com/containerd && cd $GOPATH/src/github.com/containerd && git clone https://github.com/containerd/containerd.git
1114
- mkdir -p $GOPATH/src/github.com/mistifyio && cd $GOPATH/src/github.com/mistifyio && git clone https://github.com/mistifyio/go-zfs.git && cd go-zfs && git checkout 386bffe89f421c8509066037225e1c0fda6b4933
1215
- cd $GOPATH/src/github.com/containerd/zfs
1316
- go get -t ./...
17+
- go get -u github.com/vbatts/git-validation
18+
- go get -u github.com/kunalkushwaha/ltag
19+
20+
before_script:
21+
- pushd ..; git clone https://github.com/containerd/project; popd
22+
1423
script:
24+
- DCO_VERBOSITY=-q ../project/script/validate/dco
25+
- ../project/script/validate/fileheader ../project/
1526
- go test -race -covermode=atomic -c .
1627
- sudo ./zfs.test -test.root -test.v -test.coverprofile=coverage.txt
28+
1729
after_success:
1830
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,13 @@ $ zfs create -o mountpoint=/var/lib/containerd/io.containerd.snapshotter.v1.zfs
3636
2. Start containerd.
3737

3838
3. e.g. `ctr pull --snapshotter=zfs ...`
39+
40+
## Project details
41+
42+
The zfs plugin is a containerd sub-project, licensed under the [Apache 2.0 license](./LICENSE).
43+
As a containerd sub-project, you will find the:
44+
* [Project governance](https://github.com/containerd/project/blob/master/GOVERNANCE.md),
45+
* [Maintainers](https://github.com/containerd/project/blob/master/MAINTAINERS),
46+
* and [Contributing guidelines](https://github.com/containerd/project/blob/master/CONTRIBUTING.md)
47+
48+
information in our [`containerd/project`](https://github.com/containerd/project) repository.

0 commit comments

Comments
 (0)