From e9ce946fe097762a0f65665a3020147472981473 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Tue, 28 Apr 2026 16:22:30 +0200 Subject: [PATCH] Revert "introduce ci env variable" This reverts commit 01686db6d938a0b55bf9fee0645a516fe65f3a4c. --- .woodpecker.star | 1 - opencloud/cmd/opencloud/main.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.woodpecker.star b/.woodpecker.star index e9b4097d0..a54d8a478 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -2260,7 +2260,6 @@ def opencloudServer(storage = "decomposed", accounts_hash_difficulty = 4, depend 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, diff --git a/opencloud/cmd/opencloud/main.go b/opencloud/cmd/opencloud/main.go index 69aac9a23..4b2d7a29f 100644 --- a/opencloud/cmd/opencloud/main.go +++ b/opencloud/cmd/opencloud/main.go @@ -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...")