Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some contrib projects depbot warnings #283

Merged
merged 5 commits into from
Jan 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,20 @@ env:
jobs:
contrib-ut:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.16.x, 1.17.x]
env:
DOCKER: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: cache go mod
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
path: /go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/contrib/nydus-snapshotter/go.sum', '**/contrib/nydusify/go.sum', '**/contrib/ctr-remote/go.sum', '**/contrib/docker-nydus-graphdriver/go.sum', '**/contrib/nydus-overlayfs/go.sum') }}
restore-keys: |
${{ runner.os }}-go
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,18 @@ jobs:
configs
build-contrib:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.17.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: cache go mod
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
path: /go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/contrib/nydus-snapshotter/go.sum', '**/contrib/nydusify/go.sum', '**/contrib/ctr-remote/go.sum', '**/contrib/docker-nydus-graphdriver/go.sum', '**/contrib/nydus-overlayfs/go.sum') }}
restore-keys: |
${{ runner.os }}-go
Expand Down
5 changes: 1 addition & 4 deletions contrib/ctr-remote/commands/rpull.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ After pulling an image, it should be ready to use the same reference in a run co
}
config.FetchConfig = fc

if err := pull(ctx, client, ref, config); err != nil {
return err
}
return nil
return pull(ctx, client, ref, config)
},
}

Expand Down
6 changes: 4 additions & 2 deletions contrib/ctr-remote/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ module github.com/dragonflyoss/image-service/contrib/ctr-remote
go 1.16

require (
github.com/containerd/containerd v1.5.9
github.com/containerd/containerd v1.6.0-beta.4
github.com/dragonflyoss/image-service/contrib/nydus-snapshotter v0.0.0-20210812024946-ec518a7d1cb8
github.com/opencontainers/image-spec v1.0.2
github.com/opencontainers/image-spec v1.0.2-0.20211117181255-693428a734f5
github.com/urfave/cli v1.22.5
)

replace github.com/opencontainers/runc => github.com/opencontainers/runc v1.0.3
277 changes: 240 additions & 37 deletions contrib/ctr-remote/go.sum

Large diffs are not rendered by default.

23 changes: 13 additions & 10 deletions contrib/docker-nydus-graphdriver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@ module github.com/dragonflyoss/image-service/contrib/nydus_graphdriver
go 1.15

require (
github.com/containerd/containerd v1.5.4 // indirect
github.com/containerd/containerd v1.6.0-beta.4 // indirect
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect
github.com/docker/docker v20.10.7+incompatible
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-plugins-helpers v0.0.0-20200102110956-c9a8a2d92ccc
github.com/moby/sys/mount v0.2.0 // indirect
github.com/moby/sys/mountinfo v0.4.1
github.com/opencontainers/selinux v1.8.0
github.com/docker/docker v20.10.3-0.20211206061157-934f955e3d62+incompatible
github.com/docker/go-plugins-helpers v0.0.0-20211224144127-6eecb7beb651
github.com/moby/sys/mount v0.3.0 // indirect
github.com/moby/sys/mountinfo v0.5.0
github.com/opencontainers/selinux v1.8.2
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.8.1
github.com/vbatts/tar-split v0.11.1 // indirect
golang.org/x/net v0.0.0-20210525063256-abc453219eb5 // indirect
golang.org/x/sys v0.0.0-20210608053332-aa57babbf139
google.golang.org/grpc v1.38.0 // indirect
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359
)

replace (
github.com/containerd/go-runc => github.com/containerd/go-runc v1.0.0
github.com/opencontainers/image-spec => github.com/opencontainers/image-spec v1.0.2
github.com/opencontainers/runc => github.com/opencontainers/runc v1.0.3
)
Loading