Add clone-enterprise and init-enterprise steps (#56662)

This commit is contained in:
Dimitris Sotirakis
2022-10-10 22:46:12 +03:00
committed by GitHub
parent 3f89de1747
commit eb077db2b0
3 changed files with 107 additions and 50 deletions

View File

@@ -6,6 +6,8 @@ load(
'test_backend_integration_step',
'verify_gen_cue_step',
'compile_build_cmd',
'clone_enterprise_step',
'init_enterprise_step',
)
load(
@@ -15,12 +17,15 @@ load(
def test_backend(trigger, ver_mode, edition="oss"):
environment = {'EDITION': edition}
init_steps = [
init_steps = []
if edition != 'oss':
init_steps.extend([clone_enterprise_step(ver_mode), init_enterprise_step(ver_mode),])
init_steps.extend([
identify_runner_step(),
compile_build_cmd(),
compile_build_cmd(edition),
verify_gen_cue_step(edition="oss"),
wire_install_step(),
]
])
test_steps = [
test_backend_step(edition),
test_backend_integration_step(edition),

View File

@@ -5,7 +5,6 @@ load(
'yarn_install_step',
'betterer_frontend_step',
'test_frontend_step',
'compile_build_cmd',
)
load(
@@ -19,7 +18,6 @@ def test_frontend(trigger, ver_mode, edition="oss"):
identify_runner_step(),
download_grabpl_step(),
yarn_install_step(),
compile_build_cmd(),
]
test_steps = [
betterer_frontend_step(),