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")
diff --git a/build/sqlboiler/BUILD b/build/sqlboiler/BUILD
deleted file mode 100644
index e9ec548..0000000
--- a/build/sqlboiler/BUILD
+++ /dev/null
@@ -1,4 +0,0 @@
-exports_files([
-    "dbconfig.yml",
-    "sqlboiler.toml",
-])
diff --git a/build/sqlboiler/README.md b/build/sqlboiler/README.md
deleted file mode 100644
index bb61463..0000000
--- a/build/sqlboiler/README.md
+++ /dev/null
@@ -1,59 +0,0 @@
-##SQLboiler
-
-This rule allows to generate sqlboiler models and ORM code for golang from a stack of SQL migrations.
-
-It uses `sql-migrate`, `sqlboiler` and `sqlboiker-crdb`.
-
-###How to use
-
-Create a package and create a `0_initial.sql` file with the following template:
-
-```
--- +migrate Up
-
-Your initial SQL goes here
-
--- +migrate Down
-
-```
-
-Then create a `BUILD` file with the following rules:
-
-```
-load("//build/sqlboiler:sqlboiler.bzl", "go_sqlboiler_library", "sqlboiler")
-load("@io_bazel_rules_go//go:def.bzl", "go_library")
-
-# gazelle:ignore .
-
-sqlboiler(
-    name = "sqlboiler",
-    srcs = glob(["*.sql"]),
-    tables = [
-        <your table names>
-    ],
-)
-
-go_sqlboiler_library(
-    name = "sqlboiler_lib",
-    importpath = "git.monogon.dev/source/nexantic.git/<target>",
-    sqlboiler = ":sqlboiler",
-)
-
-go_library(
-    name = "go_default_library",
-    embed = [":sqlboiler_lib"],
-    importpath = "git.monogon.dev/source/nexantic.git/<target>",
-    visibility = ["//visibility:public"],
-)
-
-```
-
-Replace `target` with your intended importpath and add all created tables to the `tables` argument of the sqlboiler rule.
-
-Running the tasks will apply the migrations to a temporary database using `sql-migrate` and generate sqlboiler code from it.
-The code will be importable from the specified `importpath`.
-
-When making changes to the schema please generate new migrations using the `<n>_<description>.sql` pattern for file names.
-The migrations will automatically be applied and the models updated.
-
-Make sure to also update the `tables` argument when creating new tables in migrations.
diff --git a/build/sqlboiler/dbconfig.yml b/build/sqlboiler/dbconfig.yml
deleted file mode 100644
index 8a2d3b4..0000000
--- a/build/sqlboiler/dbconfig.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-development:
-  dialect: postgres
-  datasource: dbname=_dbname_ sslmode=disable port=26257 user=root
-  dir: migrations
-  table: migrations
diff --git a/build/sqlboiler/sqlboiler.bzl b/build/sqlboiler/sqlboiler.bzl
deleted file mode 100644
index bfb4bf9..0000000
--- a/build/sqlboiler/sqlboiler.bzl
+++ /dev/null
@@ -1,163 +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.
-
-load("@bazel_gazelle//:deps.bzl", "go_repository")
-load(
-    "@io_bazel_rules_go//go/private:rules/rule.bzl",
-    "go_rule",
-)
-load(
-    "@io_bazel_rules_go//go:def.bzl",
-    "GoLibrary",
-    "go_context",
-)
-
-# Default files generated by the sqlboiler + cockroach module
-SQLBOILER_FILES = [
-    "boil_main_test.go",
-    "boil_queries.go",
-    "boil_queries_test.go",
-    "boil_suites_test.go",
-    "boil_table_names.go",
-    "boil_types.go",
-    "crdb_main_test.go",
-    "crdb_suites_test.go",
-    "crdb_upsert.go",
-]
-
-def _sqlboiler_impl(ctx):
-    """Generate sqlboiler models from sql-migrate migrations"""
-
-    filesn = []
-    filesn += SQLBOILER_FILES
-
-    for table in ctx.attr.tables:
-        filesn += [
-            "{}.go".format(table),
-            "{}_test.go".format(table),
-        ]
-
-    outs = []
-    for file in filesn:
-        outs += [ctx.actions.declare_file(file)]
-
-    # run_shell does not so set -euo pipefail
-    command = "set -euo pipefail\n"
-
-    # Create random db name
-    command += "TMP_DB=$(cat /dev/urandom | tr -dc 'a-z' | fold -w 12 | head -n 1 ; echo)\n"
-    command += "echo DB name: $TMP_DB\n"
-
-    # Create DB and template configs
-    command += "/usr/bin/psql --host localhost --port 26257 --user root -c \"CREATE DATABASE $TMP_DB;\"\n"
-
-    command += "ln -s \"{}\" . \n".format(ctx.file.migrate_config.path)
-    command += "sed -i \"s/_dbname_/$TMP_DB/g\" \"{}\" \n".format(ctx.file.migrate_config.basename)
-
-    command += "ln -s {} . \n".format(ctx.file.boiler_config.path)
-    command += "sed -i \"s/_dbname_/$TMP_DB/g\" \"{}\" \n".format(ctx.file.boiler_config.basename)
-
-    # Copy in all sql files
-    command += "mkdir migrations\n"
-    for f in ctx.files.srcs:
-        command += "cp \"{}\" migrations/\n".format(f.path)
-
-    # Copy in adapter
-    command += "cp \"{}\" sqlboiler-crdb\n".format(ctx.file.adapter.path)
-
-    # Apply sql-migrate
-    command += "{} up --config \"{}\" \n".format(ctx.file.migrate.path, ctx.file.migrate_config.basename)
-
-    # Run sqlboiler
-    command += "{} --output \"{}\" --config \"{}\" --wipe crdb \n".format(
-        ctx.file.boiler.path,
-        outs[0].dirname,
-        ctx.file.boiler_config.basename,
-    )
-
-    ctx.actions.run_shell(
-        inputs = ctx.files.srcs + [
-            ctx.file.migrate_config,
-            ctx.file.boiler,
-            ctx.file.adapter,
-            ctx.file.migrate,
-            ctx.file.boiler_config,
-        ],
-        outputs = outs,
-        command = command,
-    )
-
-    return [DefaultInfo(files = depset(outs))]
-
-sqlboiler = rule(
-    implementation = _sqlboiler_impl,
-    attrs = {
-        "srcs": attr.label_list(mandatory = True, allow_files = [".sql"]),
-        "tables": attr.string_list(default = []),
-        "migrate_config": attr.label(allow_single_file = True, default = Label("//build/sqlboiler:dbconfig.yml")),
-        "boiler_config": attr.label(allow_single_file = True, default = Label("//build/sqlboiler:sqlboiler.toml")),
-        "boiler": attr.label(allow_single_file = True, default = Label("@com_github_volatiletech_sqlboiler_v4//:v4")),
-        "adapter": attr.label(allow_single_file = True, default = Label("@com_github_glerchundi_sqlboiler_crdb_v4//:v4")),
-        "migrate": attr.label(allow_single_file = True, default = Label("@com_github_rubenv_sql_migrate//sql-migrate:sql-migrate")),
-    },
-)
-
-def _sqlboiler_go_impl(ctx):
-    go = go_context(ctx)
-
-    source_files = []
-
-    # Don't include test files as they cannot be processed by go_library
-    for file in ctx.attr.sqlboiler.files.to_list():
-        if not "test" in file.path:
-            source_files += [file]
-
-    library = go.new_library(
-        go,
-        srcs = source_files,
-    )
-    source = go.library_to_source(go, ctx.attr, library, False)
-    providers = [library, source]
-    output_groups = {
-        "go_generated_srcs": source_files,
-    }
-
-    return providers + [OutputGroupInfo(**output_groups)]
-
-go_sqlboiler_library = go_rule(
-    _sqlboiler_go_impl,
-    attrs = {
-        "sqlboiler": attr.label(providers = [DefaultInfo]),
-        "importpath": attr.string(),
-        "deps": attr.label_list(
-            providers = [GoLibrary],
-            default = [
-                Label("@com_github_friendsofgo_errors//:go_default_library"),
-                Label("@com_github_lib_pq//:go_default_library"),
-                Label("@com_github_pkg_errors//:go_default_library"),
-                Label("@com_github_spf13_viper//:go_default_library"),
-                Label("@com_github_volatiletech_strmangle//:go_default_library"),
-                Label("@com_github_volatiletech_sqlboiler_v4//boil:go_default_library"),
-                Label("@com_github_volatiletech_sqlboiler_v4//drivers:go_default_library"),
-                Label("@com_github_volatiletech_sqlboiler_v4//queries:go_default_library"),
-                Label("@com_github_volatiletech_sqlboiler_v4//queries/qm:go_default_library"),
-                Label("@com_github_volatiletech_sqlboiler_v4//types:go_default_library"),
-                Label("@com_github_volatiletech_sqlboiler_v4//queries/qmhelper:go_default_library"),
-                Label("@com_github_volatiletech_null_v8//:go_default_library"),
-            ],
-        ),
-    },
-)
diff --git a/build/sqlboiler/sqlboiler.toml b/build/sqlboiler/sqlboiler.toml
deleted file mode 100644
index 551ce5e..0000000
--- a/build/sqlboiler/sqlboiler.toml
+++ /dev/null
@@ -1,9 +0,0 @@
-[crdb]
-  dbname = "_dbname_"
-  host   = "localhost"
-  port   = 26257
-  user   = "root"
-  pass   = ""
-  sslmode = "disable"
-  schema = "public"
-  blacklist = ["migrations"]
diff --git a/third_party/go/repositories.bzl b/third_party/go/repositories.bzl
index e9cfacf..2da5c0e 100644
--- a/third_party/go/repositories.bzl
+++ b/third_party/go/repositories.bzl
@@ -91,12 +91,6 @@
         sum = "h1:8GUt8eRujhVEGZFFEjBj46YV4rDjvGrNxb0KMWYkL2I=",
     )
     go_repository(
-        name = "com_github_armon_go_radix",
-        importpath = "github.com/armon/go-radix",
-        version = "v0.0.0-20180808171621-7fddfc383310",
-        sum = "h1:BUAU3CGlLvorLI26FmByPp2eC2qla6E1Tw+scpcg/to=",
-    )
-    go_repository(
         name = "com_github_asaskevich_govalidator",
         importpath = "github.com/asaskevich/govalidator",
         version = "v0.0.0-20190424111038-f61b66f89f4a",
@@ -393,12 +387,6 @@
         sum = "h1:uVsMphB1eRx7xB1njzL3fuMdWRN8HtVzoUOItHMwv5c=",
     )
     go_repository(
-        name = "com_github_denisenkom_go_mssqldb",
-        importpath = "github.com/denisenkom/go-mssqldb",
-        version = "v0.0.0-20200206145737-bbfc9a55622e",
-        sum = "h1:LzwWXEScfcTu7vUZNlDDWDARoSGEtvlDKK2BYHowNeE=",
-    )
-    go_repository(
         name = "com_github_dgrijalva_jwt_go",
         importpath = "github.com/dgrijalva/jwt-go",
         version = "v3.2.0+incompatible",
@@ -483,12 +471,6 @@
         sum = "h1:bV5JGEB1ouEzZa0hgVDFFiClrUEuGWRaAc/3mxR2QK0=",
     )
     go_repository(
-        name = "com_github_ericlagergren_decimal",
-        importpath = "github.com/ericlagergren/decimal",
-        version = "v0.0.0-20181231230500-73749d4874d5",
-        sum = "h1:HQGCJNlqt1dUs/BhtEKmqWd6LWS+DWYVxi9+Jo4r0jE=",
-    )
-    go_repository(
         name = "com_github_euank_go_kmsg_parser",
         importpath = "github.com/euank/go-kmsg-parser",
         version = "v2.0.0+incompatible",
@@ -531,12 +513,6 @@
         sum = "h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ=",
     )
     go_repository(
-        name = "com_github_friendsofgo_errors",
-        importpath = "github.com/friendsofgo/errors",
-        version = "v0.9.2",
-        sum = "h1:X6NYxef4efCBdwI7BgS820zFaN7Cphrmb+Pljdzjtgk=",
-    )
-    go_repository(
         name = "com_github_fullsailor_pkcs7",
         importpath = "github.com/fullsailor/pkcs7",
         version = "v0.0.0-20180613152042-8306686428a5",
@@ -549,12 +525,6 @@
         sum = "h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=",
     )
     go_repository(
-        name = "com_github_glerchundi_sqlboiler_crdb_v4",
-        importpath = "github.com/glerchundi/sqlboiler-crdb/v4",
-        version = "v4.0.0-20200507103349-d540ee52783e",
-        sum = "h1:p1FS4Qf4pgi/ntt4XI1n1rM7EAmOQLRmvPYNXtNlxWA=",
-    )
-    go_repository(
         name = "com_github_go_delve_delve",
         importpath = "github.com/go-delve/delve",
         version = "v1.4.1",
@@ -627,12 +597,6 @@
         sum = "h1:QhCBKRYqZR+SKo4gl1lPhPahope8/RLt6EVgY8X80w0=",
     )
     go_repository(
-        name = "com_github_go_sql_driver_mysql",
-        importpath = "github.com/go-sql-driver/mysql",
-        version = "v1.5.0",
-        sum = "h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs=",
-    )
-    go_repository(
         name = "com_github_go_stack_stack",
         importpath = "github.com/go-stack/stack",
         version = "v1.8.0",
@@ -651,12 +615,6 @@
         sum = "h1:JFTFz3HZTGmgMz4E1TabNBNJljROSYgja1b4l50FNVs=",
     )
     go_repository(
-        name = "com_github_gofrs_uuid",
-        importpath = "github.com/gofrs/uuid",
-        version = "v3.2.0+incompatible",
-        sum = "h1:y12jRkkFxsd7GpqdSZ+/KCs/fJbqpEXSGd4+jfEaewE=",
-    )
-    go_repository(
         name = "com_github_gogo_googleapis",
         importpath = "github.com/gogo/googleapis",
         version = "v1.3.2",
@@ -670,12 +628,6 @@
         sum = "h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls=",
     )
     go_repository(
-        name = "com_github_golang_sql_civil",
-        importpath = "github.com/golang-sql/civil",
-        version = "v0.0.0-20190719163853-cb61b32ac6fe",
-        sum = "h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY=",
-    )
-    go_repository(
         name = "com_github_golang_groupcache",
         importpath = "github.com/golang/groupcache",
         version = "v0.0.0-20191227052852-215e87163ea7",
@@ -987,12 +939,6 @@
         sum = "h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=",
     )
     go_repository(
-        name = "com_github_lib_pq",
-        importpath = "github.com/lib/pq",
-        version = "v1.2.1-0.20191011153232-f91d3411e481",
-        sum = "h1:r9fnMM01mkhtfe6QfLrr/90mBVLnJHge2jGeBvApOjk=",
-    )
-    go_repository(
         name = "com_github_liggitt_tabwriter",
         importpath = "github.com/liggitt/tabwriter",
         version = "v0.0.0-20181228230101-89fcab3d43de",
@@ -1013,8 +959,8 @@
     go_repository(
         name = "com_github_magiconair_properties",
         importpath = "github.com/magiconair/properties",
-        version = "v1.8.0",
-        sum = "h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=",
+        version = "v1.8.1",
+        sum = "h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4=",
     )
     go_repository(
         name = "com_github_mailru_easyjson",
@@ -1047,12 +993,6 @@
         sum = "h1:JhhFTIOslh5ZsPrpa3Wdg8bF0WI3b44EMblmU9wIsXc=",
     )
     go_repository(
-        name = "com_github_mattn_go_sqlite3",
-        importpath = "github.com/mattn/go-sqlite3",
-        version = "v1.12.0",
-        sum = "h1:u/x3mp++qUxvYfulZ4HKOvVO0JWhk7HtE8lWhbGz/Do=",
-    )
-    go_repository(
         name = "com_github_matttproud_golang_protobuf_extensions",
         importpath = "github.com/matttproud/golang_protobuf_extensions",
         version = "v1.0.1",
@@ -1102,12 +1042,6 @@
         sum = "h1:aKW/4cBs+yK6gpqU3K/oIwk9Q/XICqd3zOX/UFuvqmk=",
     )
     go_repository(
-        name = "com_github_mitchellh_cli",
-        importpath = "github.com/mitchellh/cli",
-        version = "v1.0.0",
-        sum = "h1:iGBIsUe3+HZ/AD/Vd7DErOt5sU9fa8Uj7A2s1aggv1Y=",
-    )
-    go_repository(
         name = "com_github_mitchellh_go_wordwrap",
         importpath = "github.com/mitchellh/go-wordwrap",
         version = "v1.0.0",
@@ -1262,12 +1196,6 @@
         sum = "h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=",
     )
     go_repository(
-        name = "com_github_posener_complete",
-        importpath = "github.com/posener/complete",
-        version = "v1.1.1",
-        sum = "h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5w=",
-    )
-    go_repository(
         name = "com_github_pquerna_cachecontrol",
         importpath = "github.com/pquerna/cachecontrol",
         version = "v0.0.0-20171018203845-0dec1b30a021",
@@ -1310,12 +1238,6 @@
         sum = "h1:jk4/Hud3TTdcrJgUOBgsqrZBarcxl6ADIjSC2iniwLY=",
     )
     go_repository(
-        name = "com_github_rubenv_sql_migrate",
-        importpath = "github.com/rubenv/sql-migrate",
-        version = "v0.0.0-20200429072036-ae26b214fa43",
-        sum = "h1:0i6uTtxUGc/jpK/CngM4T2S2NFnqYUUxH+lKDgBLw8U=",
-    )
-    go_repository(
         name = "com_github_russross_blackfriday",
         importpath = "github.com/russross/blackfriday",
         version = "v1.5.2",
@@ -1400,8 +1322,8 @@
     go_repository(
         name = "com_github_spf13_cast",
         importpath = "github.com/spf13/cast",
-        version = "v1.3.1",
-        sum = "h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng=",
+        version = "v1.3.0",
+        sum = "h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8=",
     )
     go_repository(
         name = "com_github_spf13_cobra",
@@ -1412,8 +1334,8 @@
     go_repository(
         name = "com_github_spf13_jwalterweatherman",
         importpath = "github.com/spf13/jwalterweatherman",
-        version = "v1.0.0",
-        sum = "h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk=",
+        version = "v1.1.0",
+        sum = "h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=",
     )
     go_repository(
         name = "com_github_spf13_pflag",
@@ -1424,8 +1346,8 @@
     go_repository(
         name = "com_github_spf13_viper",
         importpath = "github.com/spf13/viper",
-        version = "v1.6.3",
-        sum = "h1:pDDu1OyEDTKzpJwdq4TiuLyMsUgRa/BT5cn5O62NoHs=",
+        version = "v1.4.0",
+        sum = "h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU=",
     )
     go_repository(
         name = "com_github_stretchr_testify",
@@ -1434,12 +1356,6 @@
         sum = "h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=",
     )
     go_repository(
-        name = "com_github_subosito_gotenv",
-        importpath = "github.com/subosito/gotenv",
-        version = "v1.2.0",
-        sum = "h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=",
-    )
-    go_repository(
         name = "com_github_syndtr_gocapability",
         importpath = "github.com/syndtr/gocapability",
         version = "v0.0.0-20180916011248-d98352740cb2",
@@ -1482,36 +1398,6 @@
         sum = "h1:mjAZxE1nh8yvuwhGHpdDqdhtNu2dgbpk93TwoXuk5so=",
     )
     go_repository(
-        name = "com_github_volatiletech_inflect",
-        importpath = "github.com/volatiletech/inflect",
-        version = "v0.0.1",
-        sum = "h1:2a6FcMQyhmPZcLa+uet3VJ8gLn/9svWhJxJYwvE8KsU=",
-    )
-    go_repository(
-        name = "com_github_volatiletech_null_v8",
-        importpath = "github.com/volatiletech/null/v8",
-        version = "v8.1.0",
-        sum = "h1:eAO3I31A5R04usY5SKMMfDcOCnEGyT/T4wRI0JVGp4U=",
-    )
-    go_repository(
-        name = "com_github_volatiletech_randomize",
-        importpath = "github.com/volatiletech/randomize",
-        version = "v0.0.1",
-        sum = "h1:eE5yajattWqTB2/eN8df4dw+8jwAzBtbdo5sbWC4nMk=",
-    )
-    go_repository(
-        name = "com_github_volatiletech_sqlboiler_v4",
-        importpath = "github.com/volatiletech/sqlboiler/v4",
-        version = "v4.1.1",
-        sum = "h1:cmpaEri8whb5lRv6q2ycWtmiWd42llsrDaERk2BkWbE=",
-    )
-    go_repository(
-        name = "com_github_volatiletech_strmangle",
-        importpath = "github.com/volatiletech/strmangle",
-        version = "v0.0.1",
-        sum = "h1:UKQoHmY6be/R3tSvD2nQYrH41k43OJkidwEiC74KIzk=",
-    )
-    go_repository(
         name = "com_github_xiang90_probing",
         importpath = "github.com/xiang90/probing",
         version = "v0.0.0-20190116061207-43a291ad63a2",
@@ -1675,24 +1561,12 @@
         sum = "h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=",
     )
     go_repository(
-        name = "in_gopkg_gorp_v1",
-        importpath = "gopkg.in/gorp.v1",
-        version = "v1.7.2",
-        sum = "h1:j3DWlAyGVv8whO7AcIWznQ2Yj7yJkn34B8s63GViAAw=",
-    )
-    go_repository(
         name = "in_gopkg_inf_v0",
         importpath = "gopkg.in/inf.v0",
         version = "v0.9.1",
         sum = "h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=",
     )
     go_repository(
-        name = "in_gopkg_ini_v1",
-        importpath = "gopkg.in/ini.v1",
-        version = "v1.51.0",
-        sum = "h1:AQvPpx3LzTDM0AjnIRlVFwFFGC+npRopjZxLJj6gdno=",
-    )
-    go_repository(
         name = "in_gopkg_natefinch_lumberjack_v2",
         importpath = "gopkg.in/natefinch/lumberjack.v2",
         version = "v2.0.0",
diff --git a/third_party/go/shelf.pb.text b/third_party/go/shelf.pb.text
index 8e4c3dc..e87d2c4 100644
--- a/third_party/go/shelf.pb.text
+++ b/third_party/go/shelf.pb.text
@@ -118,13 +118,6 @@
   semver: "v0.0.0-20190430140413-ec5e00d3c878"
 >
 entry: <
-  import_path: "github.com/armon/go-radix"
-  version: "v0.0.0-20180808171621-7fddfc383310"
-  bazel_name: "com_github_armon_go_radix"
-  sum: "h1:BUAU3CGlLvorLI26FmByPp2eC2qla6E1Tw+scpcg/to="
-  semver: "v0.0.0-20180808171621-7fddfc383310"
->
-entry: <
   import_path: "github.com/asaskevich/govalidator"
   version: "v0.0.0-20190424111038-f61b66f89f4a"
   bazel_name: "com_github_asaskevich_govalidator"
@@ -615,13 +608,6 @@
   semver: "v0.0.0-20160507010035-511bcaf42ccd"
 >
 entry: <
-  import_path: "github.com/denisenkom/go-mssqldb"
-  version: "v0.0.0-20200206145737-bbfc9a55622e"
-  bazel_name: "com_github_denisenkom_go_mssqldb"
-  sum: "h1:LzwWXEScfcTu7vUZNlDDWDARoSGEtvlDKK2BYHowNeE="
-  semver: "v0.0.0-20200206145737-bbfc9a55622e"
->
-entry: <
   import_path: "github.com/dgrijalva/jwt-go"
   version: "v3.2.0+incompatible"
   bazel_name: "com_github_dgrijalva_jwt_go"
@@ -776,13 +762,6 @@
   semver: "v0.3.0-java"
 >
 entry: <
-  import_path: "github.com/ericlagergren/decimal"
-  version: "v0.0.0-20181231230500-73749d4874d5"
-  bazel_name: "com_github_ericlagergren_decimal"
-  sum: "h1:HQGCJNlqt1dUs/BhtEKmqWd6LWS+DWYVxi9+Jo4r0jE="
-  semver: "v0.0.0-20181231230500-73749d4874d5"
->
-entry: <
   import_path: "github.com/euank/go-kmsg-parser"
   version: "v2.0.0+incompatible"
   bazel_name: "com_github_euank_go_kmsg_parser"
@@ -839,13 +818,6 @@
   semver: "v0.0.0-20150515145356-3f9db97f8568"
 >
 entry: <
-  import_path: "github.com/friendsofgo/errors"
-  version: "v0.9.2"
-  bazel_name: "com_github_friendsofgo_errors"
-  sum: "h1:X6NYxef4efCBdwI7BgS820zFaN7Cphrmb+Pljdzjtgk="
-  semver: "v0.9.2"
->
-entry: <
   import_path: "github.com/fullsailor/pkcs7"
   version: "8306686428a5fe132eac8cb7c4848af725098bd4"
   bazel_name: "com_github_fullsailor_pkcs7"
@@ -860,13 +832,6 @@
   semver: "v1.0.0"
 >
 entry: <
-  import_path: "github.com/glerchundi/sqlboiler-crdb/v4"
-  version: "d540ee52783ebbbfe010acc5d91a9043d88de3fd"
-  bazel_name: "com_github_glerchundi_sqlboiler_crdb_v4"
-  sum: "h1:p1FS4Qf4pgi/ntt4XI1n1rM7EAmOQLRmvPYNXtNlxWA="
-  semver: "v4.0.0-20200507103349-d540ee52783e"
->
-entry: <
   import_path: "github.com/go-delve/delve"
   version: "v1.4.1"
   bazel_name: "com_github_go_delve_delve"
@@ -951,13 +916,6 @@
   semver: "v0.19.5"
 >
 entry: <
-  import_path: "github.com/go-sql-driver/mysql"
-  version: "v1.5.0"
-  bazel_name: "com_github_go_sql_driver_mysql"
-  sum: "h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs="
-  semver: "v1.5.0"
->
-entry: <
   import_path: "github.com/go-stack/stack"
   version: "v1.8.0"
   bazel_name: "com_github_go_stack_stack"
@@ -993,13 +951,6 @@
   semver: "v3.2.0+incompatible"
 >
 entry: <
-  import_path: "github.com/gofrs/uuid"
-  version: "v3.2.0+incompatible"
-  bazel_name: "com_github_gofrs_uuid"
-  sum: "h1:y12jRkkFxsd7GpqdSZ+/KCs/fJbqpEXSGd4+jfEaewE="
-  semver: "v3.2.0+incompatible"
->
-entry: <
   import_path: "github.com/gogo/googleapis"
   version: "d31c731455cb061f42baff3bda55bad0118b126b"
   bazel_name: "com_github_gogo_googleapis"
@@ -1028,13 +979,6 @@
   semver: "v1.3.1"
 >
 entry: <
-  import_path: "github.com/golang-sql/civil"
-  version: "v0.0.0-20190719163853-cb61b32ac6fe"
-  bazel_name: "com_github_golang_sql_civil"
-  sum: "h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY="
-  semver: "v0.0.0-20190719163853-cb61b32ac6fe"
->
-entry: <
   import_path: "github.com/golang/groupcache"
   version: "v0.0.0-20160516000752-02826c3e7903"
   bazel_name: "com_github_golang_groupcache"
@@ -1483,13 +1427,6 @@
   semver: "v0.1.0"
 >
 entry: <
-  import_path: "github.com/lib/pq"
-  version: "v1.2.1-0.20191011153232-f91d3411e481"
-  bazel_name: "com_github_lib_pq"
-  sum: "h1:r9fnMM01mkhtfe6QfLrr/90mBVLnJHge2jGeBvApOjk="
-  semver: "v1.2.1-0.20191011153232-f91d3411e481"
->
-entry: <
   import_path: "github.com/liggitt/tabwriter"
   version: "v0.0.0-20181228230101-89fcab3d43de"
   bazel_name: "com_github_liggitt_tabwriter"
@@ -1512,10 +1449,10 @@
 >
 entry: <
   import_path: "github.com/magiconair/properties"
-  version: "v1.8.0"
+  version: "v1.8.1"
   bazel_name: "com_github_magiconair_properties"
-  sum: "h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY="
-  semver: "v1.8.0"
+  sum: "h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4="
+  semver: "v1.8.1"
 >
 entry: <
   import_path: "github.com/mailru/easyjson"
@@ -1553,13 +1490,6 @@
   semver: "v1.0.5"
 >
 entry: <
-  import_path: "github.com/mattn/go-sqlite3"
-  version: "v1.12.0"
-  bazel_name: "com_github_mattn_go_sqlite3"
-  sum: "h1:u/x3mp++qUxvYfulZ4HKOvVO0JWhk7HtE8lWhbGz/Do="
-  semver: "v1.12.0"
->
-entry: <
   import_path: "github.com/matttproud/golang_protobuf_extensions"
   version: "c12348ce28de40eed0136aa2b644d0ee0650e56c"
   bazel_name: "com_github_matttproud_golang_protobuf_extensions"
@@ -1658,13 +1588,6 @@
   semver: "v2.1.2-0.20190413222219-f784269be439+incompatible"
 >
 entry: <
-  import_path: "github.com/mitchellh/cli"
-  version: "v1.0.0"
-  bazel_name: "com_github_mitchellh_cli"
-  sum: "h1:iGBIsUe3+HZ/AD/Vd7DErOt5sU9fa8Uj7A2s1aggv1Y="
-  semver: "v1.0.0"
->
-entry: <
   import_path: "github.com/mitchellh/go-wordwrap"
   version: "v1.0.0"
   bazel_name: "com_github_mitchellh_go_wordwrap"
@@ -1938,13 +1861,6 @@
   semver: "v0.9.1"
 >
 entry: <
-  import_path: "github.com/posener/complete"
-  version: "v1.1.1"
-  bazel_name: "com_github_posener_complete"
-  sum: "h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5w="
-  semver: "v1.1.1"
->
-entry: <
   import_path: "github.com/pquerna/cachecontrol"
   version: "v0.0.0-20171018203845-0dec1b30a021"
   bazel_name: "com_github_pquerna_cachecontrol"
@@ -2022,13 +1938,6 @@
   semver: "v1.1.0"
 >
 entry: <
-  import_path: "github.com/rubenv/sql-migrate"
-  version: "ae26b214fa431c314a5a9b986d5c90fb1719c68d"
-  bazel_name: "com_github_rubenv_sql_migrate"
-  sum: "h1:0i6uTtxUGc/jpK/CngM4T2S2NFnqYUUxH+lKDgBLw8U="
-  semver: "v0.0.0-20200429072036-ae26b214fa43"
->
-entry: <
   import_path: "github.com/russross/blackfriday"
   version: "05f3235734ad95d0016f6a23902f06461fcf567a"
   bazel_name: "com_github_russross_blackfriday"
@@ -2149,10 +2058,10 @@
 >
 entry: <
   import_path: "github.com/spf13/cast"
-  version: "v1.3.1"
+  version: "v1.3.0"
   bazel_name: "com_github_spf13_cast"
-  sum: "h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng="
-  semver: "v1.3.1"
+  sum: "h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8="
+  semver: "v1.3.0"
 >
 entry: <
   import_path: "github.com/spf13/cobra"
@@ -2170,10 +2079,10 @@
 >
 entry: <
   import_path: "github.com/spf13/jwalterweatherman"
-  version: "v1.0.0"
+  version: "v1.1.0"
   bazel_name: "com_github_spf13_jwalterweatherman"
-  sum: "h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk="
-  semver: "v1.0.0"
+  sum: "h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk="
+  semver: "v1.1.0"
 >
 entry: <
   import_path: "github.com/spf13/pflag"
@@ -2184,10 +2093,10 @@
 >
 entry: <
   import_path: "github.com/spf13/viper"
-  version: "v1.6.3"
+  version: "v1.4.0"
   bazel_name: "com_github_spf13_viper"
-  sum: "h1:pDDu1OyEDTKzpJwdq4TiuLyMsUgRa/BT5cn5O62NoHs="
-  semver: "v1.6.3"
+  sum: "h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU="
+  semver: "v1.4.0"
 >
 entry: <
   import_path: "github.com/stretchr/testify"
@@ -2204,13 +2113,6 @@
   semver: "v1.4.0"
 >
 entry: <
-  import_path: "github.com/subosito/gotenv"
-  version: "v1.2.0"
-  bazel_name: "com_github_subosito_gotenv"
-  sum: "h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s="
-  semver: "v1.2.0"
->
-entry: <
   import_path: "github.com/syndtr/gocapability"
   version: "d98352740cb2c55f81556b63d4a1ec64c5a319c2"
   bazel_name: "com_github_syndtr_gocapability"
@@ -2295,41 +2197,6 @@
   semver: "v0.0.0-20200520041808-52d707b772fe"
 >
 entry: <
-  import_path: "github.com/volatiletech/inflect"
-  version: "v0.0.1"
-  bazel_name: "com_github_volatiletech_inflect"
-  sum: "h1:2a6FcMQyhmPZcLa+uet3VJ8gLn/9svWhJxJYwvE8KsU="
-  semver: "v0.0.1"
->
-entry: <
-  import_path: "github.com/volatiletech/null/v8"
-  version: "v8.1.0"
-  bazel_name: "com_github_volatiletech_null_v8"
-  sum: "h1:eAO3I31A5R04usY5SKMMfDcOCnEGyT/T4wRI0JVGp4U="
-  semver: "v8.1.0"
->
-entry: <
-  import_path: "github.com/volatiletech/randomize"
-  version: "v0.0.1"
-  bazel_name: "com_github_volatiletech_randomize"
-  sum: "h1:eE5yajattWqTB2/eN8df4dw+8jwAzBtbdo5sbWC4nMk="
-  semver: "v0.0.1"
->
-entry: <
-  import_path: "github.com/volatiletech/sqlboiler/v4"
-  version: "v4.1.1"
-  bazel_name: "com_github_volatiletech_sqlboiler_v4"
-  sum: "h1:cmpaEri8whb5lRv6q2ycWtmiWd42llsrDaERk2BkWbE="
-  semver: "v4.1.1"
->
-entry: <
-  import_path: "github.com/volatiletech/strmangle"
-  version: "v0.0.1"
-  bazel_name: "com_github_volatiletech_strmangle"
-  sum: "h1:UKQoHmY6be/R3tSvD2nQYrH41k43OJkidwEiC74KIzk="
-  semver: "v0.0.1"
->
-entry: <
   import_path: "github.com/xiang90/probing"
   version: "v0.0.0-20190116061207-43a291ad63a2"
   bazel_name: "com_github_xiang90_probing"
@@ -2596,13 +2463,6 @@
   semver: "v1.4.7"
 >
 entry: <
-  import_path: "gopkg.in/gorp.v1"
-  version: "v1.7.2"
-  bazel_name: "in_gopkg_gorp_v1"
-  sum: "h1:j3DWlAyGVv8whO7AcIWznQ2Yj7yJkn34B8s63GViAAw="
-  semver: "v1.7.2"
->
-entry: <
   import_path: "gopkg.in/inf.v0"
   version: "d2d2541c53f18d2a059457998ce2876cc8e67cbf"
   bazel_name: "in_gopkg_inf_v0"
@@ -2617,13 +2477,6 @@
   semver: "v0.9.1"
 >
 entry: <
-  import_path: "gopkg.in/ini.v1"
-  version: "v1.51.0"
-  bazel_name: "in_gopkg_ini_v1"
-  sum: "h1:AQvPpx3LzTDM0AjnIRlVFwFFGC+npRopjZxLJj6gdno="
-  semver: "v1.51.0"
->
-entry: <
   import_path: "gopkg.in/natefinch/lumberjack.v2"
   version: "v2.0.0"
   bazel_name: "in_gopkg_natefinch_lumberjack_v2"