[AAE-7986] Migrate ADF from Travis to Github actions (#8050)

* rebased

* [ci:force]
This commit is contained in:
Marco Carrozzo
2022-12-15 10:27:04 +01:00
committed by GitHub
parent 812352ecdc
commit 70e6d642f3
23 changed files with 933 additions and 53 deletions

View File

@@ -44,11 +44,11 @@ async function uploadScreenshot(retryCount, suffixFileName) {
suffixFileName = suffixFileName.replace(/\//g, '-');
fs.renameSync(path.resolve(__dirname, '../../e2e-output/'), path.resolve(__dirname, `../../e2e-output-${retryCount}/`))
fs.renameSync(path.resolve(__dirname, '../../e2e-output/'), path.resolve(__dirname, `../../e2e-output-${retryCount}-${process.env.GH_ACTION_RETRY_COUNT}/`))
const child_process = require("child_process");
child_process.execSync(` tar -czvf ../e2e-result-${suffixFileName}-${retryCount}.tar .`, {
cwd: path.resolve(__dirname, `../../e2e-output-${retryCount}/`)
cwd: path.resolve(__dirname, `../../e2e-output-${retryCount}-${process.env.GH_ACTION_RETRY_COUNT}/`)
});
let pathFile = path.join(__dirname, `../../e2e-result-${suffixFileName}-${retryCount}.tar`);