Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

No more nightly/preview collab anymore (#7112)

Conrad Irwindb99d4fef1b1
diff --git a/crates/collab/k8s/environments/nightly.sh b/crates/collab/k8s/environments/nightly.sh
deleted file mode 100644
index 49c562437be..00000000000
--- a/crates/collab/k8s/environments/nightly.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-ZED_ENVIRONMENT=nightly
-RUST_LOG=info
-INVITE_LINK_PREFIX=https://zed.dev/invites/
-DATABASE_MAX_CONNECTIONS=10
diff --git a/crates/collab/k8s/environments/preview.sh b/crates/collab/k8s/environments/preview.sh
deleted file mode 100644
index 132a1ef53c2..00000000000
--- a/crates/collab/k8s/environments/preview.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-ZED_ENVIRONMENT=preview
-RUST_LOG=info
-INVITE_LINK_PREFIX=https://zed.dev/invites/
-DATABASE_MAX_CONNECTIONS=10
diff --git a/script/deploy-collab b/script/deploy-collab
index 54442d5ddfc..7bda42c4249 100755
--- a/script/deploy-collab
+++ b/script/deploy-collab
@@ -4,7 +4,7 @@ set -eu
source script/lib/deploy-helpers.sh
if [[ $# < 2 ]]; then
- echo "Usage: $0 <production|preview|nightly|staging> <tag-name>"
+ echo "Usage: $0 <production|staging> <tag-name>"
exit 1
fi
environment=$1
diff --git a/script/deploy-postgrest b/script/deploy-postgrest
index f94a1402745..14fbd50e301 100755
--- a/script/deploy-postgrest
+++ b/script/deploy-postgrest
@@ -9,11 +9,6 @@ if [[ $# < 1 ]]; then
fi
environment=$1
-if [[ ${environment} == "preview" || ${environment} == "nightly" ]]; then
- echo "website does not exist in preview or nightly"
- exit 1
-fi
-
export_vars_for_environment ${environment}
export ZED_DO_CERTIFICATE_ID=$(doctl compute certificate list --format ID --no-header)
diff --git a/script/what-is-deployed b/script/what-is-deployed
index c0f9b234878..cbf73255dd8 100755
--- a/script/what-is-deployed
+++ b/script/what-is-deployed
@@ -4,7 +4,7 @@ set -eu
source script/lib/deploy-helpers.sh
if [[ $# < 1 ]]; then
- echo "Usage: $0 <production|preview|nightly|staging>"
+ echo "Usage: $0 <production|staging>"
exit 1
fi
environment=$1