Revert "introduce ci env variable"

This reverts commit cf7aaa8ca7.
This commit is contained in:
Ralf Haferkamp
2026-04-28 12:22:07 +02:00
committed by Ralf Haferkamp
parent 8b4e4f0137
commit 6ecc223d8b
2 changed files with 1 additions and 2 deletions

View File

@@ -2316,7 +2316,6 @@ def opencloudServer(storage = "decomposed", depends_on = [], deploy_type = "", e
user = "0:0"
container_name = OC_SERVER_NAME
environment = {
"OC_CI_ENVIRONMENT": "true",
"OC_URL": OC_URL,
"OC_CONFIG_DIR": "/root/.opencloud/config", # needed for checking config later
"STORAGE_USERS_DRIVER": "%s" % storage,

View File

@@ -16,7 +16,7 @@ func main() {
// INFO: this is a hotfix, we need to replace suture and wait for nats to
// gracefully shutdown using rungroups
// see https://github.com/opencloud-eu/opencloud/issues/2282
if os.Getenv("OC_CI_ENVIRONMENT") == "true" {
if os.Getenv("TEST_SERVER_URL") == "" {
fmt.Println("Waiting for 30 seconds before exiting...")
time.Sleep(30 * time.Second)
fmt.Println("Exiting...")