Commit Graph

895 Commits

Author SHA1 Message Date
idafurjes
d2c8b24d72
Upgrade go to version 1.17.2 in ci-build (#42323) 2021-11-25 18:03:42 +01:00
Dimitris Sotirakis
db122e9b2c
CI: Run e2e tests in parallel using multiple suites (#41748)
* Split suite1 to multiple e2e test suites

* Update drone yaml

* Add missing arg

* Extract cypress install step

* Change image on e2e tests step

* Sync with main

* Add cypress cache volume

* Try with grafana/ci-e2e:12.19.0-1 image

* Update grabpl version to 2.7.2

* Revert a11y failure back to 'always'
2021-11-24 11:20:11 +01:00
Leonard Gram
d624230b5d
Packaging: removes an unused dependency (#42071)
* Packaging: removes an unused dependency

libfontconfig1 was used by phantomjs but we aren't using phantomjs
anymore

* Packaging: removes further libfontconfig1 references
2021-11-24 10:45:29 +01:00
Marcus Efraimsson
6b79393ccc
Chore: Split nightly docker image scan into separate pipelines (#42097)
Split the nightly Docker scan job into separate pipelines, one for each 
image, to easier understand which images fails/includes high/critical 
vulnerabilities.
2021-11-23 11:43:00 +01:00
Dimitris Sotirakis
e3bb53b64d
CI: Remove Linux grabpl step dependency from Windows builds (#42069)
* Remove Linux grabpl download step from Windows oss builds

* Remove Linux grabpl download step from Windows enterprise builds
2021-11-23 09:57:16 +01:00
idafurjes
5ac1dc1008
Bump grabpl version to 2.7.1 (#42089) 2021-11-22 17:37:51 +01:00
Dimitris Sotirakis
bec3cc4634
Make integration tests depend on initialize for enterprise-release-* branches (#42004) 2021-11-19 21:50:34 +01:00
Dave Henderson
fc7277920c
Dockerfile: Bump Go and Alpine versions (#41922)
* Dockerifle: Bump Go and Alpine versions

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* Updating .drone.yml with 'make drone'

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2021-11-19 18:59:24 +01:00
malcolmholmes
8ccd7599bd
Releasing: start splitting out publish phase (#41959) 2021-11-19 11:39:10 +00:00
Dimitris Sotirakis
42c51747ed
Refactor drone yaml (#41937) 2021-11-19 11:35:57 +01:00
Dimitris Sotirakis
0462577f3d
Install netcat to build-container and update the version (#41825) 2021-11-19 09:17:29 +01:00
Josh Hunt
3b497f3e8d
Chore: Move babel config to a root babel.config.json (#41615)
* Chore: Move babel config to a root babel.config.json

* Re-add babel cache settings to webpack

* Re-add production browserlist in babel config

* re-add babel hot refresh config

* fix storybook
2021-11-18 16:38:58 +00:00
Dimitris Sotirakis
7dcc5ca199
Make initialize depend on clone, only on enterprise pipelines (#41909) 2021-11-18 18:10:25 +02:00
Dimitris Sotirakis
e8a2a82d5c
Run integration tests after initialize (#41906) 2021-11-18 17:59:22 +02:00
Dimitris Sotirakis
53dc388dcf
Disable lint-drone from release pipelines (#41899) 2021-11-18 17:32:45 +02:00
Dimitris Sotirakis
c82a15eafb
Update grabpl version to 2.6.1 (#41892) 2021-11-18 15:56:49 +01:00
Joan López de la Franca Beltran
d49230d291
Grafana CLI Wire Runner (#41012)
* Set up Wire build graph

* Remove enterprise Wire set

* Move runner package outside commands

* Update Makefile (gen-go path)

* Minor prettier fix

* Include new Wire enterprise file into .gitignore

* Update Wire deps

* Update the grabpl version

Co-authored-by: Dan Cech <dcech@grafana.com>
2021-11-17 20:43:09 +01:00
Dimitris Sotirakis
b8dd9fdd4a
CI: Make build, test and integration tests steps run in parallel (#40794)
* Make build and test steps run in parallel

* Make tests and builds run on different pipelines

* Make test-backend depend on initialize

* Rename

* Create standalone integration tests pipeline (#41730)

* Remove unused variables
2021-11-17 11:25:55 +02:00
Hugo Häggmark
b4faee786f
Chore: re-enable pa11y-ci for PRs (#41723)
* Chore: re-enable pa11y-ci for PRs

* Chore: update signature

* Chore: revert wait times

* Chore: use same hash as docker image
2021-11-17 06:03:09 +01:00
Dimitris Sotirakis
86d79e4625
Add grabpl step only if platform=linux (#41732) 2021-11-16 11:46:44 +01:00
Dimitris Sotirakis
99900cbdd8
CI: Make grabpl and lint-drone standalone steps (#41644)
* Extract grabpl download as separate step

* Change image to alpine

* Change image to curlimage

* Change image to alpine-curl

* Extract lint-drone step

* Add lint-drone to release and main pipelines

* Rename lint_drone to lint_drone_step

* Sign drone
2021-11-15 17:14:33 +00:00
Hugo Häggmark
f3f441f4ec
Chore: removes vulnarabilities from echo (#41671) 2021-11-15 10:24:17 +01:00
Hugo Häggmark
16578b0af0
Chore: Fix broken pa11y-ci (#41597)
* Chore: Fix broken pa11y-ci

* Chore: using npx instead

* Chore: testing with prebuilt image

* Chore: testing bin path

* Chore: trying

* Chore: another try

* Update puppeteer image

* Chore: updating image

* Chore: removes yarn version printout

* Chore: removes yarn version printout

Co-authored-by: dsotirakis <sotirakis.dim@gmail.com>
2021-11-15 08:49:39 +01:00
Jack Westbrook
5fad5511e9
Build: Enable persistent cache for faster Webpack builds (#41430)
* build(webpack): enable caching for development and production builds

* build(webpack): introduce unminified production build script

* build(typescript): introduce incremental flag to cache typechecking

* chore(git): ignore typescript cache file

* chore(webpack): bump dependencies to latest
2021-11-11 14:32:34 +01:00
Jack Westbrook
c712c31721
Build: Use SWC to speed up Sass template builds (#41425)
* build(themes): use SWC to speed up template builds

* chore: remove superfluous dev deps
2021-11-11 14:03:53 +01:00
Jack Westbrook
8c98f24777
Chore: Fix failing frontend-metrics script (#41599) 2021-11-11 13:41:15 +01:00
Hugo Häggmark
0e12293971
Chore: Removes pa11y-ci as dependency and use dlx instead (#41591) 2021-11-11 12:54:08 +01:00
Dimitris Sotirakis
13df0901a8
Remove build-deploy.sh (#41586) 2021-11-11 09:23:12 +01:00
Dimitris Sotirakis
b79eab8455
Make script not fail if reports/docs directory doesn't exist (#41527) 2021-11-10 18:07:39 +02:00
Ashley Harrison
ed030f9c21
Chore: Set min node version in package.json to 16 (#41423)
* Update package.json

* Update build-container version

* Sign drone

* Update developer-guide

* kick drone

Co-authored-by: dsotirakis <sotirakis.dim@gmail.com>
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
Co-authored-by: kay delaney <kay@grafana.com>
2021-11-10 14:23:10 +00:00
dsotirakis
a3f6982476 Merge test a11y steps on starlark files 2021-11-10 14:35:03 +02:00
Artur Wierzbicki
f45eb309ef
Live: move centrifuge service to a web worker (#41090)
* Fix: make webpack pickup workers written in TS

* Add comlink to dependencies

* Temporary fix: copy paste `toDataQueryError` from @grafana/runtime to avoid web dependencies

* Implemented comlink-based centrifuge worker & worker proxy

* Temporary fix: implement comlink transferHandlers for subscriptions and streamingdataframes

* Move liveTimer filtering from CentrifugeService into GrafanaLiveService

* Switch from CentrifugeService to CentrifugeServiceWorkerProxy in GrafanaLive

* Naming fix

* Refactor: move liveTimer-based data filtering from GrafanaLiveService to CentrifugeServiceWorker

* observe dataStream on an async scheduler

* Fix: - Unsubscribe is now propagated from the main thread to the worker, - improve worker&workerProxy types

* Fix: Prettify types

* Fix: Add error & complete observers

* Docs: Add comment explaining the `subscriberTransferHandler`

* Fix: Replace `StreamingDataFrameHandler` with explicitly converting StreamingDataFrame to a DataFrameDTO

* Refactor: move liveTimer filtering to service.ts to make it easy to implement a `live-service-web-worker` feature flag

* Feat: add `live-service-web-worker` feature flag

* Fix: extract toDataQueryError.ts to a separate file within `@grafana-runtime` to avoid having a dependency from webworker to the whole package (@grafana-runtime/index.ts)

* Update public/app/features/dashboard/dashgrid/liveTimer.ts

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>

* Fix: fixed default import class in worker file

* Fix: cast worker as Endpoint

* Migrate from worker-loader to webpack native worker support v1 - broken prod build

* Fix: Use custom path in HtmlWebpackPlugin

* Fix: Loading workers from CDNs

* Fix: Avoid issues with jest ESM support by mocking `createWorker` files

* Fix: move the custom mockWorker rendering layout to `test/mocks`

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-11-09 21:05:01 +04:00
Dimitris Sotirakis
ad4fc4d87e
Remove FocusConvey check (#41165) 2021-11-09 12:38:51 +01:00
Leon Sorokin
f0a108afb3
MarketTrend: add new alpha panel (#40909) 2021-11-05 18:01:26 -07:00
Josh Hunt
14ddb2939c
Chore: Enable strict Typescript checks (#41198)
* Chore: Enable strict Typescript checking

* Chore: Remove old strict budget checks
2021-11-02 15:23:44 +00:00
Dimitris Sotirakis
d85b4dc7a8
CI: Update grafana/build-container version (#41191)
* Update node and yarn versions

* Update drone yaml
2021-11-02 13:52:16 +00:00
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