forked from hswaw/hscloud
Serge Bazanski
97b5cd7b58
This is a mega-change, but attempting to split this up further is probably not worth the effort. Summary: 1. Bump up bazel, rules_go, and others. 2. Switch to new go target naming (bye bye go_default_library) 3. Move go deps to go.mod/go.sum, use make gazelle generate from that 4. Bump up Python deps a bit And also whatever was required to actually get things to work - loads of small useless changes. Tested to work on NixOS and Ubuntu 20.04: $ bazel build //... $ bazel test //... Change-Id: I8364bdaa1406b9ae4d0385a6b607f3e7989f98a9 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1583 Reviewed-by: q3k <q3k@hackerspace.pl>
270 lines
13 KiB
Modula-2
270 lines
13 KiB
Modula-2
module code.hackerspace.pl/hscloud
|
|
|
|
go 1.19
|
|
|
|
// Kubernetes is not fully consumable as a module, fix that
|
|
replace (
|
|
k8s.io/api => k8s.io/api v0.24.2
|
|
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.24.2
|
|
k8s.io/apimachinery => k8s.io/apimachinery v0.24.2
|
|
k8s.io/apiserver => k8s.io/apiserver v0.24.2
|
|
k8s.io/cli-runtime => k8s.io/cli-runtime v0.24.2
|
|
k8s.io/client-go => k8s.io/client-go v0.24.2
|
|
k8s.io/cloud-provider => k8s.io/cloud-provider v0.24.2
|
|
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.24.2
|
|
k8s.io/code-generator => k8s.io/code-generator v0.24.2
|
|
k8s.io/component-base => k8s.io/component-base v0.24.2
|
|
k8s.io/component-helpers => k8s.io/component-helpers v0.24.2
|
|
k8s.io/controller-manager => k8s.io/controller-manager v0.24.2
|
|
k8s.io/cri-api => k8s.io/cri-api v0.24.2
|
|
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.24.2
|
|
k8s.io/dynamic-resource-allocation => k8s.io/dynamic-resource-allocation v0.24.0-beta.0
|
|
k8s.io/kms => k8s.io/kms v0.24.0-beta.0
|
|
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.24.2
|
|
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.24.2
|
|
k8s.io/kube-proxy => k8s.io/kube-proxy v0.24.2
|
|
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.24.2
|
|
k8s.io/kubectl => k8s.io/kubectl v0.24.2
|
|
k8s.io/kubelet => k8s.io/kubelet v0.24.2
|
|
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.24.2
|
|
k8s.io/metrics => k8s.io/metrics v0.24.2
|
|
k8s.io/mount-utils => k8s.io/mount-utils v0.24.2
|
|
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.24.2
|
|
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.24.2
|
|
)
|
|
|
|
// Pin down gettext-go (broke at 1.0.0)
|
|
replace github.com/chai2010/gettext-go => github.com/chai2010/gettext-go v0.1.0
|
|
|
|
// Pin down go-jsonnet (need to upgrade kargongips against new API)
|
|
replace github.com/google/go-jsonnet => github.com/google/go-jsonnet v0.12.1
|
|
|
|
// Gets vendored in 1.5.10.
|
|
replace github.com/cloudflare/cfrpki => github.com/cloudflare/cfrpki v1.2.1
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.3.2
|
|
github.com/SebastiaanKlippert/go-wkhtmltopdf v1.9.0
|
|
github.com/arran4/golang-ical v0.0.0-20230425234049-f69e132f2b0c
|
|
github.com/boltdb/bolt v1.3.1
|
|
github.com/cenkalti/backoff v2.2.1+incompatible
|
|
github.com/cloudflare/cfrpki v0.0.0-00010101000000-000000000000
|
|
github.com/cloudflare/cfssl v1.6.4
|
|
github.com/coreos/go-oidc v2.2.1+incompatible
|
|
github.com/dgraph-io/ristretto v0.1.1
|
|
github.com/digitalocean/go-netbox v0.0.2
|
|
github.com/dustin/go-humanize v1.0.1
|
|
github.com/elazarl/go-bindata-assetfs v1.0.1
|
|
github.com/evanphx/json-patch v4.12.0+incompatible
|
|
github.com/fvbommel/sortorder v1.1.0
|
|
github.com/gabriel-vasile/mimetype v1.4.2
|
|
github.com/gchaincl/sqlhooks v1.3.0
|
|
github.com/genuinetools/reg v0.16.1
|
|
github.com/ghodss/yaml v1.0.0
|
|
github.com/go-git/go-git/v5 v5.8.0
|
|
github.com/go-ldap/ldap/v3 v3.4.5
|
|
github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible
|
|
github.com/go-test/deep v1.1.0
|
|
github.com/gogo/protobuf v1.3.2
|
|
github.com/golang-collections/go-datastructures v0.0.0-20150211160725-59788d5eb259
|
|
github.com/golang-migrate/migrate/v4 v4.16.2
|
|
github.com/golang/glog v1.1.1
|
|
github.com/golang/protobuf v1.5.3
|
|
github.com/google/gnostic v0.5.7-v3refs
|
|
github.com/google/go-cmp v0.5.9
|
|
github.com/google/go-jsonnet v0.20.0
|
|
github.com/gorilla/sessions v1.2.1
|
|
github.com/grpc-ecosystem/grpc-gateway v1.16.0
|
|
github.com/itchyny/gojq v0.12.13
|
|
github.com/jmoiron/sqlx v1.3.5
|
|
github.com/kevinburke/go-bindata v3.23.0+incompatible
|
|
github.com/lib/pq v1.10.9
|
|
github.com/mattn/go-isatty v0.0.19
|
|
github.com/mattn/go-sqlite3 v1.14.17
|
|
github.com/minio/minio-go/v7 v7.0.61
|
|
github.com/piranha/gostatic v0.0.0-20230302053144-bf366bcf14fd
|
|
github.com/q3k/cursedjsonrpc v2.1.2+incompatible
|
|
github.com/russross/blackfriday/v2 v2.1.0
|
|
github.com/sergi/go-diff v1.3.1
|
|
github.com/sethvargo/go-password v0.2.0
|
|
github.com/shirou/gopsutil v3.21.11+incompatible
|
|
github.com/sirupsen/logrus v1.9.3
|
|
github.com/spf13/cobra v1.7.0
|
|
github.com/spf13/pflag v1.0.5
|
|
github.com/stretchr/testify v1.8.4
|
|
github.com/ulule/limiter/v3 v3.11.2
|
|
github.com/ziutek/telnet v0.0.0-20180329124119-c3b780dc415b
|
|
golang.org/x/crypto v0.11.0
|
|
golang.org/x/image v0.9.0
|
|
golang.org/x/net v0.12.0
|
|
golang.org/x/oauth2 v0.10.0
|
|
google.golang.org/grpc v1.56.2
|
|
google.golang.org/protobuf v1.31.0
|
|
gopkg.in/irc.v3 v3.1.4
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
k8s.io/api v0.24.2
|
|
k8s.io/apiextensions-apiserver v0.0.0
|
|
k8s.io/apimachinery v0.24.2
|
|
k8s.io/client-go v0.24.2
|
|
k8s.io/klog v1.0.0
|
|
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42
|
|
k8s.io/kubectl v0.0.0
|
|
k8s.io/kubernetes v1.25.0-alpha.0
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go/compute v1.20.1 // indirect
|
|
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
|
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
|
|
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
|
|
github.com/Azure/go-autorest/autorest v0.11.27 // indirect
|
|
github.com/Azure/go-autorest/autorest/adal v0.9.20 // indirect
|
|
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
|
|
github.com/Azure/go-autorest/logger v0.2.1 // indirect
|
|
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
|
|
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
|
|
github.com/MakeNowJust/heredoc v1.0.0 // indirect
|
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
|
github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 // indirect
|
|
github.com/acomagu/bufpipe v1.0.4 // indirect
|
|
github.com/alecthomas/chroma/v2 v2.5.0 // indirect
|
|
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bmatcuk/doublestar/v4 v4.6.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
github.com/chai2010/gettext-go v1.0.2 // indirect
|
|
github.com/cloudflare/circl v1.3.3 // indirect
|
|
github.com/cloudflare/gortr v0.9.5 // indirect
|
|
github.com/cockroachdb/cockroach-go/v2 v2.1.1 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/daviddengcn/go-colortext v1.0.0 // indirect
|
|
github.com/dlclark/regexp2 v1.8.1 // indirect
|
|
github.com/docker/cli v0.0.0-20190913211141-95327f4e6241 // indirect
|
|
github.com/docker/distribution v2.8.2+incompatible // indirect
|
|
github.com/docker/docker v20.10.24+incompatible // indirect
|
|
github.com/docker/docker-credential-helpers v0.6.3 // indirect
|
|
github.com/docker/go-connections v0.4.0 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect
|
|
github.com/emicklei/go-restful v2.9.5+incompatible // indirect
|
|
github.com/emirpasic/gods v1.18.1 // indirect
|
|
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
|
|
github.com/fatih/camelcase v1.0.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.6.0 // indirect
|
|
github.com/getsentry/sentry-go v0.11.0 // indirect
|
|
github.com/go-asn1-ber/asn1-ber v1.5.4 // indirect
|
|
github.com/go-errors/errors v1.4.2 // indirect
|
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
|
github.com/go-git/go-billy/v5 v5.4.1 // indirect
|
|
github.com/go-logr/logr v1.2.3 // indirect
|
|
github.com/go-ole/go-ole v1.2.6 // indirect
|
|
github.com/go-openapi/analysis v0.20.1 // indirect
|
|
github.com/go-openapi/errors v0.20.1 // indirect
|
|
github.com/go-openapi/jsonpointer v0.19.6 // indirect
|
|
github.com/go-openapi/jsonreference v0.20.1 // indirect
|
|
github.com/go-openapi/loads v0.20.3 // indirect
|
|
github.com/go-openapi/runtime v0.20.0 // indirect
|
|
github.com/go-openapi/spec v0.20.4 // indirect
|
|
github.com/go-openapi/strfmt v0.20.3 // indirect
|
|
github.com/go-openapi/swag v0.22.3 // indirect
|
|
github.com/go-openapi/validate v0.20.3 // indirect
|
|
github.com/go-stack/stack v1.8.1 // indirect
|
|
github.com/golang-jwt/jwt/v4 v4.4.2 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/google/btree v1.1.2 // indirect
|
|
github.com/google/certificate-transparency-go v1.1.4 // indirect
|
|
github.com/google/gofuzz v1.1.0 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
|
github.com/google/uuid v1.3.0 // indirect
|
|
github.com/gorilla/securecookie v1.1.1 // indirect
|
|
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
|
github.com/imdario/mergo v0.3.15 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/itchyny/timefmt-go v0.1.5 // indirect
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
github.com/jessevdk/go-flags v1.5.0 // indirect
|
|
github.com/jonboulle/clockwork v0.3.0 // indirect
|
|
github.com/josharian/intern v1.0.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
|
github.com/klauspost/compress v1.16.7 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
|
|
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
|
|
github.com/lithammer/dedent v1.1.0 // indirect
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
|
github.com/mattn/go-runewidth v0.0.14 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect
|
|
github.com/minio/md5-simd v1.1.2 // indirect
|
|
github.com/minio/sha256-simd v1.0.1 // indirect
|
|
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
|
|
github.com/mitchellh/mapstructure v1.4.2 // indirect
|
|
github.com/moby/spdystream v0.2.0 // indirect
|
|
github.com/moby/term v0.5.0 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
|
|
github.com/oklog/ulid v1.3.1 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.0.2 // indirect
|
|
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
|
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
|
|
github.com/peterhellberg/link v1.0.0 // indirect
|
|
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/pquerna/cachecontrol v0.1.0 // indirect
|
|
github.com/prometheus/client_golang v1.13.0 // indirect
|
|
github.com/prometheus/client_model v0.2.0 // indirect
|
|
github.com/prometheus/common v0.37.0 // indirect
|
|
github.com/prometheus/procfs v0.8.0 // indirect
|
|
github.com/rivo/uniseg v0.4.4 // indirect
|
|
github.com/rs/cors v1.8.2 // indirect
|
|
github.com/rs/xid v1.5.0 // indirect
|
|
github.com/russross/blackfriday v1.5.2 // indirect
|
|
github.com/skeema/knownhosts v1.1.1 // indirect
|
|
github.com/technoweenie/multipartstreamer v1.0.1 // indirect
|
|
github.com/uber/jaeger-client-go v2.23.1+incompatible // indirect
|
|
github.com/uber/jaeger-lib v2.2.0+incompatible // indirect
|
|
github.com/weppos/publicsuffix-go v0.15.1-0.20210511084619-b1f36a2d6c0b // indirect
|
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
|
github.com/xlab/treeprint v1.1.0 // indirect
|
|
github.com/yuin/goldmark v1.5.4 // indirect
|
|
github.com/yuin/goldmark-highlighting/v2 v2.0.0-20220924101305-151362477c87 // indirect
|
|
github.com/yusufpapurcu/wmi v1.2.3 // indirect
|
|
github.com/zmap/zcrypto v0.0.0-20210511125630-18f1e0152cfc // indirect
|
|
github.com/zmap/zlint/v3 v3.1.0 // indirect
|
|
go.mongodb.org/mongo-driver v1.7.5 // indirect
|
|
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
|
|
go.uber.org/atomic v1.10.0 // indirect
|
|
golang.org/x/mod v0.10.0 // indirect
|
|
golang.org/x/sys v0.10.0 // indirect
|
|
golang.org/x/term v0.10.0 // indirect
|
|
golang.org/x/text v0.11.0 // indirect
|
|
golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect
|
|
golang.org/x/tools v0.9.1 // indirect
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
|
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
k8s.io/cli-runtime v0.24.2 // indirect
|
|
k8s.io/component-base v0.24.2 // indirect
|
|
k8s.io/component-helpers v0.24.2 // indirect
|
|
k8s.io/klog/v2 v2.90.1 // indirect
|
|
k8s.io/metrics v0.24.2 // indirect
|
|
k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect
|
|
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
|
sigs.k8s.io/kustomize/api v0.11.4 // indirect
|
|
sigs.k8s.io/kustomize/kustomize/v4 v4.5.4 // indirect
|
|
sigs.k8s.io/kustomize/kyaml v0.13.6 // indirect
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
|
|
sigs.k8s.io/yaml v1.3.0 // indirect
|
|
)
|