Commit Graph

859 Commits

Author SHA1 Message Date
Josh Hunt
cb948d10e0
CloudWatch: Fix strict Typescript errors (#41160)
* CloudWatch: Fix strict typscript errors

* Update public/app/plugins/datasource/cloudwatch/components/ConfigEditor.tsx

Co-authored-by: Sarah Zinger <sarahzinger@users.noreply.github.com>

* Chore: reduce strict error

* Update ci-check-strict.sh

Co-authored-by: Sarah Zinger <sarahzinger@users.noreply.github.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-11-02 13:16:46 +00:00
dsotirakis
778c860b3c Revert: Remove FocusConvey check 2021-11-01 20:07:28 +02:00
dsotirakis
96541cf8d6 Remove FocusConvey check 2021-11-01 20:02:02 +02:00
Dimitris Sotirakis
5e813ea454
Add isl and expat libs as tarballs explicitly (#41138) 2021-11-01 15:12:16 +02:00
kay delaney
209122347c
Chore: Fix broken enterprise builds (#41025) 2021-10-28 10:51:12 +01:00
kay delaney
3a7c5a0755
Chore: Switch yarn 2 to plug-n-play strategy (#40300) 2021-10-27 14:21:07 +01:00
Dimitris Sotirakis
624d7631e6
Build/CI: Make integration-tests depend on initialize (#40782)
* Make integration tests depend on initialize

* Reorder steps for better visualisation
2021-10-21 22:28:57 +02:00
Dimitris Sotirakis
bb738e35cf
Chore: Move Grafana version generator in initialize step (#40604)
* Move gen-version

* Small dependencies reorder

* Update grabpl version
2021-10-21 09:59:12 +03:00
Andres Martinez Gotor
302fef394a
Chore: remove strict errors for azure-monitor (#40675) 2021-10-20 16:34:24 +02:00
Dimitris Sotirakis
ba60bec11b
Remove git reset - replace with git stash (#40669) 2021-10-20 11:39:46 +03:00
Dimitris Sotirakis
0efe2e3acc
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
2021-10-19 19:54:33 +03:00
Kevin Minehart
9c2d70ce0f
Packaging: Dependency updates (#40534)
* update loki

* install openssl from alpine's edge repository

* extracttraceid moved to tracing package

* remove exit if warning limit is exceeded

* disable flaky libraryelements test
2021-10-18 19:50:10 +02:00
Ashley Harrison
f7cbb298f7
Update ci-frontend-metrics.sh (#40569) 2021-10-18 13:17:02 +01:00
Ashley Harrison
99c51a491b
Update ci-frontend-metrics.sh (#40562) 2021-10-18 11:49:19 +01:00
Gábor Farkas
1f44023ebe
Loki: fix typescript-strict-mode error (#40566)
* loki: fix typescript-strict error

* loki: fix typescript-strict-mode error
2021-10-18 12:35:56 +02:00
Piotr Jamróz
2de769420e
Chore: Reduce strict error in DataSourceHttpSettings.onChange callback (#40497)
* Reduce strict TS errors

* Update ERROR_COUNT_LIMIT after merging from main

* Update number of errors
2021-10-18 10:40:43 +02:00
Marcus Andersson
80a7401cfb
Chore: replaced the @grafana/api-extractor with the @microsoft/api-extractor (#40519)
* removed the @grafana/api-extractor and replaced it with the @microsoft/api-extractor.

* increased the limit.
2021-10-18 09:16:36 +02:00
Giordano Ricci
63fc12d186
Elasticsearch: Fix some strict typescript errors (#40517)
* Elasticsearch: Fix some strict typescript errors

* Fix tests

* Reduce strict error count

* actually fix tests
2021-10-15 16:20:20 +01:00
Gábor Farkas
8e070d6858
influxdb: config page: typescript-fix for strict-mode (#40465) 2021-10-15 11:29:41 +02:00
Hugo Häggmark
09bb890092
WIP Chore: reduce strict errors (#40462)
* Chore: reduce strict error in ngReact

* Chore: reduce strict errors for ShareModal

* Chore: reduce strict errors in VersioHistory

* Chore: reduce strict error in ExpressionDatasource

* Chore: reduce strict error in DashboardWatcher

* Chore: reduce strict error in PluginPage

* Chore: reduce strict errors for guard

* Chore: update threshold

* Chore: reduce strict errors in Graph

* Chore: reduce threshold

* Apply suggestions from code review

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* Chore: reduce strict errors in TimeSeries

* Chore: reduce threshold

* Chore: reduce strict errors in polyfill

* Chore: reduce threshold

* Chore: update after PR comments

* Update public/app/features/plugins/PluginPage.tsx

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* Update public/app/features/plugins/PluginPage.tsx

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* Chore: changes after PR comments

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-10-15 08:57:55 +02:00
Dimitris Sotirakis
89e7a56714
Makefile: Force use drone-cli 1.4.0 version (#40385)
* Force use drone-cli 1.4.0

* Small modifications to prevent null generation

* Sign drone

* Use bingo to declare drone-cli version

* Update message in Makefile

* Update to latest grabpl version
2021-10-14 16:02:45 +02:00
Hugo Häggmark
31d50f931d
Chore: Reduces strict errors in DashboardPickerByID (#40431)
* Chore: Reduces strict errors in DashboardPickerByID

* Chore: updates after PR comments

* Chore: fix for undefined strict error
2021-10-14 10:20:04 +02:00
Jack Westbrook
084a9b7d1a
Chore: Fix frontend metrics (#40325)
* build(yarn): add yarn-outdated plugin for checking outdated dependencies

* refactor(frontend-metrics): update dep and vulnerablity commands to work with yarn berry

* feat(frontend-metrics): introduce critical vulnerabilities count

* feat(frontend-metrics): echo out critical vulnerabilities
2021-10-12 15:45:03 +02:00
Dimitris Sotirakis
cc67b1802c
Remove unused push_to_deployment_tools step (#40308) 2021-10-12 09:44:52 +03:00
Domas
5267ea35ea
alias react-hook-form in webpack config (#40284) 2021-10-11 15:24:03 +02:00
Dimitris Sotirakis
5bf37d36e7
Build Pipeline: Split to test-backend and test-backend-integration steps (#40215)
* Split to test-backend and test-backend-integration

* Sign drone
2021-10-11 12:23:55 +03:00
Dimitris Sotirakis
08a20e2247
Update grabpl version to 2.5.1 (#40218) 2021-10-11 09:41:19 +03:00
kay delaney
b2e94d0733
Chore: Migrate yarn from v1 to v2 (#39082)
* Chore: Migrate yarn from v1 to v2

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-10-08 15:19:10 +01:00
sam boyer
0fe200ce41
Do codegen and check no-diff of all (non-blacklisted) CUE->TS codegen during CI (#39922)
* Add file blacklist to `grafana-cli cue gen-ts` cmd

* Add CI step checking all cuetsification is done

* Add dummy command to make the next one fail

* Generate drone bits

* Check diff output failure

* Echo list of untracked files, for failure locality

* Move git cleanness checking into script

* Blacklist of cue files is complete and correct

* Remove news panel plugin from cuetsify blacklist

* Dummy commit, check that untracked gen still fail

* Tie off remaining errors

* Re-add barchart to blacklist
* Remove file left around by earlier pipeline
* Commit generated news models.gen.ts

* Include eslint as part of cuetsified output gen

* Update pkg/cmd/grafana-cli/commands/cuetsify_command.go

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* Update scripts/drone/steps/lib.star

Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com>

* Update drone.yml

* Last fix on .drone.yml

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com>
2021-10-08 08:47:55 -04:00
Ashley Harrison
2f731d42f3
NewsPanel: Prevent Date and title collapsing to single row (#40016) 2021-10-06 11:14:37 +01:00
Dimitris Sotirakis
ccd6a2eae3
Remove dockerize leftovers (#39960) 2021-10-06 11:37:42 +03:00
Dimitris Sotirakis
33c4893a59
Upgrade to grabpl 2.4.8 (#39885) 2021-10-01 09:33:33 +02:00
Dimitris Sotirakis
b7a68a9516
Put make gen-go in initialize step (#39854) 2021-09-30 15:39:48 +02:00
Dimitris Sotirakis
4017c5c800
Build: Separate frontend linting from frontend testing (#39808)
* Create new lint-frontend step

* Use lint-frontend step / separate from test-frontend

* Fix typo
2021-09-30 09:56:08 +02:00
Torkel Ödegaard
bc01c9cdbc
Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
Dimitris Sotirakis
f860becc88
Chore: Move jwilder/dockerize installation to build-container (#39581)
* Move dockerize to build-container

* Sync drone

* Fix command to not point in bin dir

* Update build container version
2021-09-23 23:41:34 +02:00
Maria Alexandra
1e946316e0
Pipeline: Fix flakiness on Pa11y CI (#39358)
* Pipeline: Add wait prop into pa11y configuration for all the pages

* Pa11y: Use e2e instance to generate html report local environment

* Pipeline: use pa11y-ci hash commit

* Pipeline: Update Pa11y thresholds

* Update package.json

* Update yarn.lock

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-09-23 15:02:30 +02:00
Ashley Harrison
e2c87caff0
Chore: Remove postcss-browser-reporter (#39409) 2021-09-20 13:38:23 +02:00
Maria Alexandra
ef36bbbfbd
Pipeline: Make Pa11y ci not mandatory on PR stage (#39285) 2021-09-17 17:47:00 +02:00
Ashley Harrison
52d7358d83
Chore: More TypeScript strict fixes (#39300)
* Chore: More TypeScript strict fixes

* Chore: Use filter instead of reduce to fix TypeScript error

* Chore: Retype AzureResultFormat as string

* Chore: Account for getBlocks() poor typings of reduce

* Chore: Need to explicitly check for undefined here since '' is falsey
2021-09-17 09:47:23 +01:00
Dominik Prokop
5eb46281a4
Publishing packages: Add grafana/schema (#39317) 2021-09-17 10:14:28 +02:00
Ashley Harrison
d0ae3a324f
Update ci-check-strict.sh (#39298) 2021-09-16 16:51:35 +01:00
Dimitris Sotirakis
ed810da1f6
Update to grabpl 2.4.6 (#39177) 2021-09-14 16:21:04 +02:00
Maria Alexandra
1edd415ddf
Accessibility checks: Phase 2 - Adding Pa11y CI PR stage (#38556)
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-09-14 13:23:17 +02:00
Ryan McKinley
ddd110d0b2
Geomap: include sample geojson files (#39057) 2021-09-10 09:05:03 -07:00
Alexander Emelin
2a6871d64e
Chore: build on armv6 to catch 32-bit CPU problems (#39078) 2021-09-10 17:10:47 +03:00
Carl Bergquist
c979b5d868
Upgrade the build pipeline to 2.4.5 (#39080)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-09-10 13:21:44 +02:00
Dimitris Sotirakis
5f10843203
Chore: Rename scripts/star dir to scripts/drone (#38910)
* Rename scripts/star dir to scripts/drone

* Update CODEOWNERS after paths change
2021-09-07 12:15:04 +03:00
Dimitris Sotirakis
2316c3942b
Chore: Tidy up starlark files into folders (#38874)
* Tidy up starlark files into folders

* Rename steps

* Make sure lib.star only contain steps - added services.star and utils.star
2021-09-07 10:21:49 +03:00
Ivana Huckova
d5956ce4b7
Loki: Fix error handling, remove legacy condition (#38633)
* Fix error handling, remove legacy condition

* Fix strict errors in Loki and lower error count

* Update
2021-09-06 15:28:54 +02:00