Add dependencies (#56666)

This commit is contained in:
Dimitris Sotirakis
2022-10-11 10:05:13 +03:00
committed by GitHub
parent 53baecd71f
commit 811f6054c8
4 changed files with 80 additions and 18 deletions

View File

@@ -1,6 +1,8 @@
load(
'scripts/drone/steps/lib.star',
'identify_runner_step',
'clone_enterprise_step',
'init_enterprise_step',
'download_grabpl_step',
'yarn_install_step',
'betterer_frontend_step',
@@ -14,13 +16,16 @@ load(
def test_frontend(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(),
download_grabpl_step(),
yarn_install_step(),
]
])
test_steps = [
betterer_frontend_step(),
betterer_frontend_step(edition),
test_frontend_step(),
]
pipeline_name = '{}-test-frontend'.format(ver_mode)