Skip to content

Commit 11c45f4

Browse files
authored
Merge pull request #44 from AkihiroSuda/dev
update deps; fix Makefile
2 parents 329e079 + 2167485 commit 11c45f4

File tree

6 files changed

+78
-410
lines changed

6 files changed

+78
-410
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ on:
88
jobs:
99
project:
1010
name: Project Checks
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
timeout-minutes: 20
1313
steps:
1414
- uses: actions/setup-go@v2
1515
with:
16-
go-version: 1.17.x
16+
go-version: 1.19.x
1717
- uses: actions/checkout@v3
1818
with:
1919
path: src/github.com/containerd/fuse-overlayfs-snapshotter
@@ -23,24 +23,24 @@ jobs:
2323
working-directory: src/github.com/containerd/fuse-overlayfs-snapshotter
2424

2525
test:
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-22.04
2727
timeout-minutes: 30
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
fuse-overlayfs: [v1.0.0, v1.8.2, main]
31+
fuse-overlayfs: [v1.0.0, v1.9, main]
3232
env:
3333
FUSEOVERLAYFS_COMMIT: "${{ matrix.fuse-overlayfs }}"
3434
steps:
3535
- uses: actions/checkout@v3
3636
- run: make test
3737

3838
cross:
39-
runs-on: ubuntu-20.04
39+
runs-on: ubuntu-22.04
4040
timeout-minutes: 30
4141
steps:
4242
- uses: actions/setup-go@v2
4343
with:
44-
go-version: 1.17.x
44+
go-version: 1.19.x
4545
- uses: actions/checkout@v3
4646
- run: make artifacts

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ env:
88
GO111MODULE: on
99
jobs:
1010
release:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
timeout-minutes: 20
1313
steps:
1414
- uses: actions/setup-go@v2
1515
with:
16-
go-version: 1.17.x
16+
go-version: 1.19.x
1717
- uses: actions/checkout@v3
1818
with:
1919
path: go/src/github.com/containerd/fuse-overlayfs-snapshotter

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
ARG FUSEOVERLAYFS_COMMIT=master
16-
ARG ROOTLESSKIT_COMMIT=v0.14.6
15+
ARG FUSEOVERLAYFS_COMMIT=main
16+
ARG ROOTLESSKIT_COMMIT=v1.0.1
1717

18-
ARG GO_VERSION=1.17
18+
ARG GO_VERSION=1.19
1919
ARG DEBIAN_VERSION=11
20-
ARG ALPINE_VERSION=3.15
20+
ARG ALPINE_VERSION=3.16
2121

2222
FROM golang:${GO_VERSION}-alpine AS containerd-fuse-overlayfs-test
2323
COPY . /go/src/github.com/containerd/fuse-overlayfs-snapshotter

Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,18 @@ ARTIFACT_NAME=containerd-fuse-overlayfs-$(VERSION_TRIMMED)
8484

8585
artifacts: clean
8686
$(MKDIR) -p _output
87-
GOOS=linux GOARCH=amd64 make
87+
GOOS=linux GOARCH=amd64 make -B
8888
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-amd64.tar.gz $(CURDIR)/bin/*
89-
GOOS=linux GOARCH=arm64 make
89+
GOOS=linux GOARCH=arm64 make -B
9090
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-arm64.tar.gz $(CURDIR)/bin/*
91-
GOOS=linux GOARCH=arm GOARM=7 make
91+
GOOS=linux GOARCH=arm GOARM=7 make -B
9292
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-arm-v7.tar.gz $(CURDIR)/bin/*
93-
GOOS=linux GOARCH=ppc64le make
93+
GOOS=linux GOARCH=ppc64le make -B
9494
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-ppc64le.tar.gz $(CURDIR)/bin/*
95-
GOOS=linux GOARCH=s390x make
95+
GOOS=linux GOARCH=s390x make -B
9696
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-s390x.tar.gz $(CURDIR)/bin/*
97+
GOOS=linux GOARCH=riscv64 make -B
98+
$(TAR) $(TAR_FLAGS) -czvf _output/$(ARTIFACT_NAME)-linux-riscv64.tar.gz $(CURDIR)/bin/*
9799

98100
.PHONY: \
99101
$(TARGET_BIN) \

go.mod

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,37 @@
11
module github.com/containerd/fuse-overlayfs-snapshotter
22

3-
go 1.16
3+
go 1.19
44

55
require (
6-
github.com/containerd/containerd v1.6.6
7-
github.com/containerd/continuity v0.2.2
8-
github.com/coreos/go-systemd/v22 v22.3.2
9-
github.com/sirupsen/logrus v1.8.1
10-
google.golang.org/grpc v1.43.0
6+
github.com/containerd/containerd v1.6.9
7+
github.com/containerd/continuity v0.3.0
8+
github.com/coreos/go-systemd/v22 v22.5.0
9+
github.com/sirupsen/logrus v1.9.0
10+
google.golang.org/grpc v1.50.1
11+
)
12+
13+
require (
14+
github.com/Microsoft/go-winio v0.5.2 // indirect
15+
github.com/Microsoft/hcsshim v0.9.4 // indirect
16+
github.com/containerd/cgroups v1.0.3 // indirect
17+
github.com/containerd/ttrpc v1.1.0 // indirect
18+
github.com/containerd/typeurl v1.0.2 // indirect
19+
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
20+
github.com/gogo/protobuf v1.3.2 // indirect
21+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
22+
github.com/golang/protobuf v1.5.2 // indirect
23+
github.com/google/go-cmp v0.5.6 // indirect
24+
github.com/moby/sys/mountinfo v0.5.0 // indirect
25+
github.com/opencontainers/go-digest v1.0.0 // indirect
26+
github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect
27+
github.com/pkg/errors v0.9.1 // indirect
28+
go.etcd.io/bbolt v1.3.6 // indirect
29+
go.opencensus.io v0.23.0 // indirect
30+
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
31+
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
32+
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
33+
golang.org/x/text v0.3.7 // indirect
34+
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect
35+
google.golang.org/protobuf v1.28.0 // indirect
36+
gotest.tools/v3 v3.0.3 // indirect
1137
)

0 commit comments

Comments
 (0)