Skip to content

Commit

Permalink
fix(CI): Fix server setup in cypress by overwriting all files in shal…
Browse files Browse the repository at this point in the history
…low-server

Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen authored and kesselb committed Sep 18, 2023
1 parent 9ea9743 commit db74f0a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions cypress/dockerNode.ts
Expand Up @@ -142,9 +142,24 @@ export const applyChangesToNextcloud = async function() {
'./core',
'./dist',
'./lib',
'./ocm-provider',
'./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, {
Expand Down

0 comments on commit db74f0a

Please sign in to comment.