File tree Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,29 @@ dist: trusty
2
2
sudo : required
3
3
language : go
4
4
go :
5
- - 1.9.x
5
+ - 1.10.x
6
+ - 1.11.x
7
+
6
8
go_import_path : github.com/containerd/zfs
9
+
7
10
install :
8
11
- 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
9
12
# until containerd v1.0.0 GA, we don't pin containerd version.
10
13
- mkdir -p $GOPATH/src/github.com/containerd && cd $GOPATH/src/github.com/containerd && git clone https://github.com/containerd/containerd.git
11
14
- 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
12
15
- cd $GOPATH/src/github.com/containerd/zfs
13
16
- 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
+
14
23
script :
24
+ - DCO_VERBOSITY=-q ../project/script/validate/dco
25
+ - ../project/script/validate/fileheader ../project/
15
26
- go test -race -covermode=atomic -c .
16
27
- sudo ./zfs.test -test.root -test.v -test.coverprofile=coverage.txt
28
+
17
29
after_success :
18
30
- bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change @@ -36,3 +36,13 @@ $ zfs create -o mountpoint=/var/lib/containerd/io.containerd.snapshotter.v1.zfs
36
36
2 . Start containerd.
37
37
38
38
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.
Original file line number Diff line number Diff line change 1
1
// +build linux freebsd
2
2
3
+ /*
4
+ Copyright The containerd Authors.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License");
7
+ you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ */
18
+
3
19
package zfs
4
20
5
21
import (
Original file line number Diff line number Diff line change 1
1
// +build linux
2
2
3
+ /*
4
+ Copyright The containerd Authors.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License");
7
+ you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
17
+ */
18
+
3
19
package zfs
4
20
5
21
import (
You can’t perform that action at this time.
0 commit comments