CI: move grabpl build-frontend from grabpl to grafana (#53073)

* move grabpl build-frontend
This commit is contained in:
Kevin Minehart
2022-08-10 09:29:51 -05:00
committed by GitHub
parent 435aaf81d2
commit d117689aea
8 changed files with 143 additions and 9 deletions

View File

@ -406,12 +406,12 @@ def build_frontend_step(edition, ver_mode):
# TODO: Use percentage for num jobs
if ver_mode == 'release':
cmds = [
'./bin/grabpl build-frontend --jobs 8 ' + \
'./bin/build build-frontend --jobs 8 ' + \
'--edition {} ${{DRONE_TAG}}'.format(edition),
]
else:
cmds = [
'./bin/grabpl build-frontend --jobs 8 --edition {} '.format(edition) + \
'./bin/build build-frontend --jobs 8 --edition {} '.format(edition) + \
'--build-id {}'.format(build_no),
]
@ -422,6 +422,7 @@ def build_frontend_step(edition, ver_mode):
'NODE_OPTIONS': '--max_old_space_size=8192',
},
'depends_on': [
'compile-build-cmd',
'gen-version',
'yarn-install',
],