зеркало из https://github.com/nextcloud/server.git
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:
Родитель
6f722119f7
Коммит
ae54cc05aa
|
@ -143,8 +143,22 @@ export const applyChangesToNextcloud = async function() {
|
||||||
'./dist',
|
'./dist',
|
||||||
'./lib',
|
'./lib',
|
||||||
'./ocs',
|
'./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
|
// Tar-streaming the above folders into the container
|
||||||
const serverTar = tar.c({ gzip: false }, folderPaths)
|
const serverTar = tar.c({ gzip: false }, folderPaths)
|
||||||
await container.putArchive(serverTar, {
|
await container.putArchive(serverTar, {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче