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 committed Oct 9, 2023
1 parent 6f72211 commit ae54cc0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cypress/dockerNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit ae54cc0

Please sign in to comment.