fix(CI): Fix server setup in cypress by overwriting all files in shallow-server

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2023-08-31 15:09:42 +02:00
parent 6f722119f7
commit ae54cc05aa
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205

View File

@ -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, {