sqlboiler: remove
We do not use any SQL anymore in this repository, so we do not need sqlboiler.
Test Plan: Refactor, covered by CI.
X-Origin-Diff: phab/D677
GitOrigin-RevId: 1ed24f3d57774be14e6611582f691e73b1106ea9
diff --git a/build/fietsje/BUILD.bazel b/build/fietsje/BUILD.bazel
index 70b6639..cf75cca 100644
--- a/build/fietsje/BUILD.bazel
+++ b/build/fietsje/BUILD.bazel
@@ -9,7 +9,6 @@
"deps_delve.go",
"deps_gvisor.go",
"deps_kubernetes.go",
- "deps_sqlboiler.go",
"main.go",
"planner.go",
"render.go",
diff --git a/build/fietsje/deps_cilium.go b/build/fietsje/deps_cilium.go
index d4d9e19..0a1252b 100644
--- a/build/fietsje/deps_cilium.go
+++ b/build/fietsje/deps_cilium.go
@@ -52,6 +52,7 @@
"github.com/kr/text",
"github.com/hashicorp/go-cleanhttp",
"github.com/hashicorp/serf",
+ "github.com/joho/godotenv",
"github.com/envoyproxy/protoc-gen-validate",
"github.com/hashicorp/go-rootcerts",
"github.com/armon/go-metrics",
diff --git a/build/fietsje/deps_kubernetes.go b/build/fietsje/deps_kubernetes.go
index be7355d..3626f68 100644
--- a/build/fietsje/deps_kubernetes.go
+++ b/build/fietsje/deps_kubernetes.go
@@ -111,12 +111,14 @@
"github.com/grpc-ecosystem/go-grpc-middleware",
"github.com/grpc-ecosystem/go-grpc-prometheus",
"github.com/grpc-ecosystem/grpc-gateway",
+ "github.com/hashicorp/hcl",
"github.com/hpcloud/tail",
"github.com/jonboulle/clockwork",
"github.com/karrick/godirwalk",
"github.com/liggitt/tabwriter",
"github.com/lithammer/dedent",
"github.com/mailru/easyjson",
+ "github.com/magiconair/properties",
"github.com/mattn/go-colorable",
"github.com/mattn/go-isatty",
"github.com/mattn/go-runewidth",
@@ -139,7 +141,11 @@
"github.com/russross/blackfriday",
"github.com/soheilhy/cmux",
"github.com/spf13/afero",
+ "github.com/spf13/cast",
+ "github.com/spf13/jwalterweatherman",
+ "github.com/spf13/cobra",
"github.com/spf13/pflag",
+ "github.com/spf13/viper",
"github.com/stretchr/testify",
"github.com/tmc/grpc-websocket-proxy",
"github.com/vishvananda/netlink",
diff --git a/build/fietsje/deps_sqlboiler.go b/build/fietsje/deps_sqlboiler.go
deleted file mode 100644
index dd0cb22..0000000
--- a/build/fietsje/deps_sqlboiler.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2020 The Monogon Project Authors.
-//
-// SPDX-License-Identifier: Apache-2.0
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package main
-
-func depsSQLBoiler(p *planner) {
- p.collect(
- "github.com/volatiletech/sqlboiler/v4", "v4.1.1",
- ).use(
- "github.com/denisenkom/go-mssqldb",
- "github.com/ericlagergren/decimal",
- "github.com/friendsofgo/errors",
- "github.com/go-sql-driver/mysql",
- "github.com/golang-sql/civil",
- "github.com/hashicorp/hcl",
- "github.com/lib/pq",
- "github.com/magiconair/properties",
- "github.com/spf13/cast",
- "github.com/spf13/cobra",
- "github.com/spf13/jwalterweatherman",
- "github.com/spf13/viper",
- "github.com/subosito/gotenv",
- "github.com/volatiletech/inflect",
- "github.com/volatiletech/null/v8",
- "github.com/volatiletech/randomize",
- "github.com/volatiletech/strmangle",
- "gopkg.in/ini.v1",
- )
- // required by //build/sqlboiler autogeneration
- p.collect(
- "github.com/glerchundi/sqlboiler-crdb/v4", "d540ee52783ebbbfe010acc5d91a9043d88de3fd",
- ).use(
- "github.com/gofrs/uuid",
- )
- p.collect(
- "github.com/rubenv/sql-migrate", "ae26b214fa431c314a5a9b986d5c90fb1719c68d",
- ).use(
- "github.com/armon/go-radix",
- "github.com/mattn/go-sqlite3",
- "github.com/mitchellh/cli",
- "github.com/posener/complete",
- "github.com/joho/godotenv",
- "gopkg.in/gorp.v1",
- )
-}
diff --git a/build/fietsje/main.go b/build/fietsje/main.go
index 5da9b49..f9671a3 100644
--- a/build/fietsje/main.go
+++ b/build/fietsje/main.go
@@ -66,7 +66,6 @@
depsContainerd(p)
depsGVisor(p)
depsCilium(p)
- depsSQLBoiler(p)
// our own deps, common
p.collectOverride("go.uber.org/zap", "v1.15.0")