Chore: Make test-frontend step depend on initialize step (#40616)

* Make test-frontend step depend on initialize

Debug

* Clean git tree dir

* Make build-frontend depend on lint-frontend

* Add actual steps back
This commit is contained in:
Dimitris Sotirakis
2021-10-19 19:54:33 +03:00
committed by GitHub
parent 44c4d5d6fc
commit 0efe2e3acc
2 changed files with 28 additions and 10 deletions
+3 -1
View File
@@ -388,7 +388,7 @@ def test_frontend_step():
'name': 'test-frontend',
'image': build_image,
'depends_on': [
'lint-frontend',
'initialize',
],
'environment': {
'TEST_MAX_WORKERS': '50%',
@@ -1010,6 +1010,8 @@ def ensure_cuetsified_step():
'validate-scuemata',
],
'commands': [
'# Make sure the git tree is clean.',
'git reset --hard',
'./bin/linux-amd64/grafana-cli cue gen-ts --grafana-root .',
'# The above command generates Typescript files (*.gen.ts) from all appropriate .cue files.',
'# It is required that the generated Typescript be in sync with the input CUE files.',