Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: no darwin intel (#11625)

Danny Xue854fac8f3ef
diff --git a/backend/resources/mongoutil/build_mongoutil.sh b/backend/resources/mongoutil/build_mongoutil.sh
index bebe61e86a..07aedc0afd 100755
--- a/backend/resources/mongoutil/build_mongoutil.sh
+++ b/backend/resources/mongoutil/build_mongoutil.sh
@@ -29,7 +29,6 @@ pack(){
rm $1
}
-pack mongosh-1.6.1-darwin-x64.zip darwin amd64
pack mongosh-1.6.1-darwin-arm64.zip darwin arm64
pack mongosh-1.6.1-linux-x64.tgz linux amd64
pack mongosh-1.6.1-linux-arm64.tgz linux arm64
diff --git a/backend/resources/mongoutil/resources_darwin_amd64.go b/backend/resources/mongoutil/resources_darwin_amd64.go
deleted file mode 100644
index 795459e65f..0000000000
--- a/backend/resources/mongoutil/resources_darwin_amd64.go
+++ /dev/null
@@ -1,6 +0,0 @@
-package mongoutil
-
-import "embed"
-
-//go:embed mongoutil-1.6.1-darwin-amd64.txz
-var resources embed.FS
diff --git a/backend/resources/mysql/resources_darwin_amd64.go b/backend/resources/mysql/resources_darwin_amd64.go
deleted file mode 100644
index e6a0a9cb44..0000000000
--- a/backend/resources/mysql/resources_darwin_amd64.go
+++ /dev/null
@@ -1,13 +0,0 @@
-//go:build mysql
-
-package mysql
-
-import "embed"
-
-//go:generate ./fetch_mysql.sh mysql-8.0.33-macos13-x86_64.tar.gz
-
-// To use this package in testing, download the MySQL binary first:
-// go generate -tags mysql ./...
-//
-//go:embed mysql-8.0.33-macos13-x86_64.tar.gz
-var resources embed.FS
diff --git a/backend/resources/mysqlutil/build_mysqlutil.sh b/backend/resources/mysqlutil/build_mysqlutil.sh
index 471b743a22..b16e6eb7be 100755
--- a/backend/resources/mysqlutil/build_mysqlutil.sh
+++ b/backend/resources/mysqlutil/build_mysqlutil.sh
@@ -19,12 +19,10 @@ pack(){
cd ..
}
-GOOS=darwin GOARCH=amd64 go generate --tags mysql ../mysql/...
GOOS=darwin GOARCH=arm64 go generate --tags mysql ../mysql/...
GOOS=linux GOARCH=amd64 go generate --tags mysql ../mysql/...
GOOS=linux GOARCH=arm64 go generate --tags mysql ../mysql/...
-pack ../mysql/mysql-8.0.33-macos13-x86_64.tar.gz darwin amd64
pack ../mysql/mysql-8.0.33-macos13-arm64.tar.gz darwin arm64
pack ../mysql/mysql-8.0.33-linux-glibc2.17-x86_64-minimal.tar.xz linux amd64
pack ../mysql/mysql-8.0.33-linux-glibc2.17-aarch64.tar.gz linux arm64
diff --git a/backend/resources/mysqlutil/resources_darwin_amd64.go b/backend/resources/mysqlutil/resources_darwin_amd64.go
deleted file mode 100644
index ca12ad3584..0000000000
--- a/backend/resources/mysqlutil/resources_darwin_amd64.go
+++ /dev/null
@@ -1,6 +0,0 @@
-package mysqlutil
-
-import "embed"
-
-//go:embed mysqlutil-8.0.33-darwin-amd64.tar.gz
-var resources embed.FS
diff --git a/backend/resources/postgres/resources_darwin_amd64.go b/backend/resources/postgres/resources_darwin_amd64.go
deleted file mode 100644
index 3f84347ca5..0000000000
--- a/backend/resources/postgres/resources_darwin_amd64.go
+++ /dev/null
@@ -1,8 +0,0 @@
-package postgres
-
-import "embed"
-
-// HACK: tmp hack to use darwin/amd64 plaform binaries, assumed Rosetta2 has been installed
-//
-//go:embed postgres-darwin-amd64.txz
-var resources embed.FS