aboutsummaryrefslogtreecommitdiffstats
path: root/cypress/dockerNode.ts
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2024-11-25 12:42:51 +0100
committerLouis Chemineau <louis@chmn.me>2024-11-25 16:22:09 +0100
commitebda7b45f64bbdb74b8e664f15c0f876d1a45117 (patch)
treebdc62596da86064767bd6a6c4e4d5468493ae04f /cypress/dockerNode.ts
parent3822db51742eb12c67b525cab80ec0699e011684 (diff)
downloadnextcloud-server-ebda7b45f64bbdb74b8e664f15c0f876d1a45117.tar.gz
nextcloud-server-ebda7b45f64bbdb74b8e664f15c0f876d1a45117.zip
chore: Update @nextcloud/cypress to v1.0.0-beta.11artonge/chore/update_nc_cypress_beta.11
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'cypress/dockerNode.ts')
-rw-r--r--cypress/dockerNode.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress/dockerNode.ts b/cypress/dockerNode.ts
index 71644ae7399..bc58e707939 100644
--- a/cypress/dockerNode.ts
+++ b/cypress/dockerNode.ts
@@ -9,13 +9,13 @@
import Docker from 'dockerode'
import waitOn from 'wait-on'
import { c as createTar } from 'tar'
-import path from 'path'
+import path, { basename } from 'path'
import { execSync } from 'child_process'
import { existsSync } from 'fs'
export const docker = new Docker()
-const CONTAINER_NAME = 'nextcloud-cypress-tests-server'
+const CONTAINER_NAME = `nextcloud-cypress-tests_${basename(process.cwd()).replace(' ', '')}`
const SERVER_IMAGE = 'ghcr.io/nextcloud/continuous-integration-shallow-server'
/**