aboutsummaryrefslogtreecommitdiffstats
path: root/cypress/dockerNode.ts
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-08-31 15:09:42 +0200
committerJoas Schilling <coding@schilljs.com>2023-10-09 08:40:12 +0200
commitae54cc05aa635819b9e3e95a9f5ea78d1d6ce35d (patch)
tree86b1a795efbe69cbc3ef4700f8d7dd6a1e7356ec /cypress/dockerNode.ts
parent6f722119f78582700f029d57cc7811e8804475aa (diff)
downloadnextcloud-server-ae54cc05aa635819b9e3e95a9f5ea78d1d6ce35d.tar.gz
nextcloud-server-ae54cc05aa635819b9e3e95a9f5ea78d1d6ce35d.zip
fix(CI): Fix server setup in cypress by overwriting all files in shallow-server
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'cypress/dockerNode.ts')
-rw-r--r--cypress/dockerNode.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/cypress/dockerNode.ts b/cypress/dockerNode.ts
index af5619bbf80..23bed54b671 100644
--- a/cypress/dockerNode.ts
+++ b/cypress/dockerNode.ts
@@ -143,8 +143,22 @@ export const applyChangesToNextcloud = async function() {
'./dist',
'./lib',
'./ocs',
+ './ocs-provider',
+ './resources',
+ './console.php',
+ './cron.php',
+ './index.php',
+ './occ',
+ './public.php',
+ './remote.php',
+ './status.php',
+ './version.php',
]
+ folderPaths.forEach((path) => {
+ console.log(`├─ Copying ${path}`)
+ })
+
// Tar-streaming the above folders into the container
const serverTar = tar.c({ gzip: false }, folderPaths)
await container.putArchive(serverTar, {