Skip to content

Commit

Permalink
Merge pull request #12532 from simondeziel/import-from-incus
Browse files Browse the repository at this point in the history
Import from incus
  • Loading branch information
tomponline authored Nov 17, 2023
2 parents 9565508 + 30a77ed commit 2b14e89
Show file tree
Hide file tree
Showing 9 changed files with 162 additions and 104 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,14 @@ jobs:

- name: Install Go (tip)
run: |
curl -sSfL https://storage.googleapis.com/go-build-snap/go/linux-amd64/$(git ls-remote https://github.com/golang/go.git HEAD | awk '{print $1;}').tar.gz -o gotip.tar.gz
set -eux
HEAD="$(git ls-remote https://github.com/golang/go.git HEAD | awk '{print $1}')"
# Tarballs can take time to become available
curl --retry 3 --retry-all-errors --retry-delay 30 -sSfL "https://storage.googleapis.com/go-build-snap/go/linux-amd64/${HEAD}.tar.gz" -o gotip.tar.gz
ls -lah gotip.tar.gz
mkdir -p ~/sdk/gotip
tar -C ~/sdk/gotip -xzf gotip.tar.gz
rm gotip.tar.gz
~/sdk/gotip/bin/go version
echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
if: matrix.go == 'tip'
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ ifneq "$(LXD_OFFLINE)" ""
exit 1
endif
go get -t -v -d -u ./...
go mod tidy
go get github.com/mdlayher/[email protected]
go get github.com/openfga/[email protected]
go mod tidy --go=1.20
go get toolchain@none

cd test/mini-oidc && go get -t -v -d -u ./...
cd test/mini-oidc && go mod tidy --go=1.20
Expand Down
38 changes: 19 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/Rican7/retry v0.3.1
github.com/armon/go-proxyproto v0.0.0-20210323213023-7e956b284f0a
github.com/armon/go-proxyproto v0.1.0
github.com/canonical/candid v1.12.2
github.com/canonical/go-dqlite v1.21.0
github.com/checkpoint-restore/go-criu/v6 v6.3.0
Expand All @@ -20,7 +20,7 @@ require (
github.com/gorilla/mux v1.8.1
github.com/gorilla/websocket v1.5.1
github.com/gosexy/gettext v0.0.0-20160830220431-74466a0a0c4a
github.com/grafana/dskit v0.0.0-20231104112041-b3823cb5cdb4
github.com/grafana/dskit v0.0.0-20231117140239-de89bac58c7d
github.com/j-keck/arping v1.0.3
github.com/jaypipes/pcidb v1.0.0
github.com/jochenvg/go-udev v0.0.0-20171110120927-d6b62d56d37b
Expand All @@ -33,12 +33,12 @@ require (
github.com/mdlayher/ndp v1.0.1
github.com/mdlayher/netx v0.0.0-20230430222610-7e21880baee8
github.com/mdlayher/vsock v1.2.1
github.com/miekg/dns v1.1.56
github.com/miekg/dns v1.1.57
github.com/minio/madmin-go v1.7.5
github.com/minio/minio-go/v7 v7.0.63
github.com/mitchellh/mapstructure v1.5.0
github.com/olekukonko/tablewriter v0.0.5
github.com/openfga/go-sdk v0.2.3
github.com/openfga/go-sdk v0.2.2
github.com/osrg/gobgp/v3 v3.20.0
github.com/pkg/sftp v1.13.6
github.com/pkg/xattr v0.4.9
Expand All @@ -48,13 +48,13 @@ require (
github.com/stretchr/testify v1.8.4
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635
github.com/vishvananda/netlink v1.2.1-beta.2
github.com/zitadel/oidc/v2 v2.11.0
github.com/zitadel/oidc/v2 v2.12.0
go.starlark.net v0.0.0-20231101134539-556fd59b42f6
golang.org/x/crypto v0.14.0
golang.org/x/oauth2 v0.13.0
golang.org/x/crypto v0.15.0
golang.org/x/oauth2 v0.14.0
golang.org/x/sync v0.5.0
golang.org/x/sys v0.14.0
golang.org/x/term v0.13.0
golang.org/x/term v0.14.0
golang.org/x/text v0.14.0
google.golang.org/protobuf v1.31.0
gopkg.in/juju/environschema.v1 v1.0.1
Expand All @@ -73,7 +73,7 @@ require (
github.com/eapache/channels v1.1.0 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.1 // indirect
github.com/go-logr/logr v1.3.0 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-macaroon-bakery/macaroonpb v1.0.0 // indirect
Expand All @@ -97,14 +97,14 @@ require (
github.com/juju/webbrowser v1.0.0 // indirect
github.com/julienschmidt/httprouter v1.3.0 // indirect
github.com/k-sone/critbitgo v1.4.0 // indirect
github.com/klauspost/compress v1.17.2 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/klauspost/compress v1.17.3 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
github.com/kr/fs v0.1.0 // indirect
github.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mdlayher/socket v0.5.0 // indirect
github.com/mdlayher/socket v0.4.1 // indirect
github.com/minio/md5-simd v1.1.2 // indirect
github.com/minio/sha256-simd v1.0.1 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
Expand Down Expand Up @@ -139,17 +139,17 @@ require (
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/vishvananda/netns v0.0.4 // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
go.opentelemetry.io/otel v1.19.0 // indirect
go.opentelemetry.io/otel/metric v1.19.0 // indirect
go.opentelemetry.io/otel/trace v1.19.0 // indirect
go.opentelemetry.io/otel v1.21.0 // indirect
go.opentelemetry.io/otel/metric v1.21.0 // indirect
go.opentelemetry.io/otel/trace v1.21.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/tools v0.14.0 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/tools v0.15.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/grpc v1.59.0 // indirect
gopkg.in/errgo.v1 v1.0.1 // indirect
gopkg.in/httprequest.v1 v1.2.1 // indirect
Expand Down
Loading

0 comments on commit 2b14e89

Please sign in to comment.