Revert: Remove FocusConvey check

This commit is contained in:
dsotirakis 2021-11-01 20:07:28 +02:00
parent 96541cf8d6
commit 778c860b3c
2 changed files with 14 additions and 1 deletions

View File

@ -76,6 +76,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-frontend
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition oss
depends_on:
- lint-backend
@ -347,6 +348,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-frontend
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition oss
depends_on:
- lint-backend
@ -799,6 +801,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-frontend
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition oss
depends_on:
- lint-backend
@ -1176,6 +1179,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-frontend
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition enterprise
depends_on:
- lint-backend
@ -1288,6 +1292,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-backend-enterprise2
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition enterprise2
depends_on:
- lint-backend
@ -1730,6 +1735,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-frontend
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition oss
depends_on:
- lint-backend
@ -2096,6 +2102,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-frontend
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition enterprise
depends_on:
- lint-backend
@ -2208,6 +2215,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-backend-enterprise2
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition enterprise2
depends_on:
- lint-backend
@ -2647,6 +2655,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-frontend
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition oss
depends_on:
- lint-backend
@ -2985,6 +2994,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-frontend
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition enterprise
depends_on:
- lint-backend
@ -3095,6 +3105,7 @@ steps:
image: grafana/build-container:1.4.3
name: lint-backend-enterprise2
- commands:
- '[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1'
- ./bin/grabpl test-backend --edition enterprise2
depends_on:
- lint-backend
@ -3438,6 +3449,6 @@ kind: secret
name: drone_token
---
kind: signature
hmac: 7f5e6041ab60e051c2dd6858adff840fa77e57ac9a7befc73aaab28f588c2318
hmac: c8c7de29c5b4390cab96212211d21c14defa84d3029560e6b19c47a1377a6137
...

View File

@ -374,6 +374,8 @@ def test_backend_step(edition):
'lint-backend',
],
'commands': [
# First make sure that there are no tests with FocusConvey
'[ $(grep FocusConvey -R pkg | wc -l) -eq "0" ] || exit 1',
'./bin/grabpl test-backend --edition {}'.format(edition),
],
}