Skip to content

Commit

Permalink
Merge pull request #40181 from nextcloud/bugfix/noid/copy-all-source-…
Browse files Browse the repository at this point in the history
…files-in-cypress
  • Loading branch information
kesselb authored Oct 9, 2023
2 parents 2b7d01a + ae54cc0 commit 14ed18c
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 14ed18c

Please sign in to comment.