Ver código fonte

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

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v28.0.0beta1
Joas Schilling 10 meses atrás
pai
commit
ae54cc05aa
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 14 adições e 0 exclusões
  1. 14
    0
      cypress/dockerNode.ts

+ 14
- 0
cypress/dockerNode.ts Ver arquivo

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

Carregando…
Cancelar
Salvar