Commit Graph

914 Commits

Author SHA1 Message Date
Dimitris Sotirakis
139cd1d9fc [v8.3.x] Update grabpl version to 2.8.4 - modify commands (#43996) (#43999)
* Update grabpl version to 2.8.3 - modify commands (#43996)

(cherry picked from commit 787d55fb2d)

* Update grabpl to 2.8.4

* Sign drone
2022-01-17 13:43:04 +00:00
Dimitris Sotirakis
3878ff9324 [v8.3.x] chore(drone): switch to using cypress built image for e2e tests (#44050)
* chore(drone): switch to using cypress built image for e2e tests

(cherry picked from commit ec9d6b9ca9)

* Remove volumes - downgrade cypress version

Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2022-01-14 16:51:46 +02:00
Dimitris Sotirakis
ac031acdbe Update grabpl version to 2.8.2 (#43949) (#43954)
(cherry picked from commit 634ce4a98e)
2022-01-12 12:25:27 +01:00
Dimitris Sotirakis
6217739bc9 CI: Automate Grafana releases (#43897) (#43911)
* CI: Automate releases

* Update grabpl version

(cherry picked from commit 4f47832bac)
2022-01-12 10:40:11 +01:00
Dimitris Sotirakis
a4c660ca0e Update grabpl version to 2.8.1 (#43902) (#43917)
(cherry picked from commit ee0a30c8c2)
2022-01-11 20:42:38 +01:00
Dimitris Sotirakis
7e5bce7a91 Chore: Split release pipelines (#43419) (#43893)
* Split release pipelines

* Re-add pr and main pipelines

(cherry picked from commit f60a2e8152)
2022-01-11 10:54:32 +00:00
idafurjes
433f0570cf Chore: Upgrade go and alpine (#43801) (#43846)
* Upgrade go and alpine

* Bump grabpl version

* Bump alpine version

* Fix version of grabpl

* Bump alpine version

* Bump alpine in Dockerfiles

(cherry picked from commit 3ca58c0e0c)
2022-01-10 11:30:07 +01:00
Dimitris Sotirakis
51f516e16d Chore: Replace publish keyword with store (#43340) (#43814) 2022-01-10 10:24:01 +01:00
idafurjes
a3932327c2 Upgrade go version to 1.17.6 (#43797) (#43807)
(cherry picked from commit 4eacdf5f9e)
2022-01-07 16:28:15 +01:00
Grot (@grafanabot)
5c6ab44b41 Remove duplication (#43694) (#43786)
(cherry picked from commit beba5958a4)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2022-01-07 10:38:24 +01:00
Grot (@grafanabot)
f9a7ad06d7 Remove Github Packages publish step (#43453) (#43493)
(cherry picked from commit 59e153cde8)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-12-23 09:32:02 +01:00
Dimitris Sotirakis
1359a44c11 [v8.3.x] CI: Split pipelines on main builds (#43327)
* Split pipelines on main builds

* Add services to main-integration-tests
2021-12-20 09:54:27 +01:00
Marcus Efraimsson
e7680a0d65 Build: Speed up integration tests (#43045) (#43169)
Changes so that postgres/mysql services in Drone maps their data volumes
to tmpfs volumes (memory) to improve performance.

(cherry picked from commit 5bec46ce23)
2021-12-15 18:20:00 +01:00
Carl Bergquist
ebcab2136c Publish enterprise2 to correct bucket (#43115) (#43119)
(cherry picked from commit 198f947d0b)

Co-authored-by: malcolmholmes <42545407+malcolmholmes@users.noreply.github.com>
2021-12-14 19:01:47 +01:00
malcolmholmes
fe9b5e0739 Build: correctly identify upload bucket for CDN assets (#43099) 2021-12-14 14:53:44 +01:00
Carl Bergquist
92859ce0e5 Publish non-release CDN assets (#43087) (#43091)
(cherry picked from commit 555f5a49ce)

Co-authored-by: malcolmholmes <42545407+malcolmholmes@users.noreply.github.com>
2021-12-14 13:26:50 +01:00
malcolmholmes
b0152ff2f2 Build: Still auto-publish non-release artifacts (#43021) (#43074)
* Still auto-publish non-release artifacts

* Add version to prerelease bucket path

(cherry picked from commit 4a4d076bb1)
2021-12-14 10:00:44 +00:00
Marcus Andersson
4b9a0370d6 [v8.3.x] Build: Correct syntax for directing release builds (#42942)
* Build: don't run release builds on grafana/grafana repo (#42785)

(cherry picked from commit b6818718e9)

* Build: Correct syntax for directing release builds (#42789)

(cherry picked from commit 6a5416bcec)

Co-authored-by: malcolmholmes <42545407+malcolmholmes@users.noreply.github.com>
2021-12-09 16:17:03 +00:00
malcolmholmes
6828df7a93 Build: allow building releases from other repositories (#42914) (#42926)
* Allow building from other repositories

* Upgrade grabpl

* Update drone.yml

(cherry picked from commit de6148e5f1)
2021-12-09 14:23:33 +00:00
Dimitris Sotirakis
5f7ac314fd Remove e2e tests on enterprise2 (#42640) (#42649) 2021-12-02 14:52:00 +01:00
malcolmholmes
57b7c16bc9 Backport 42218 to v8.3.x (#42515)
* Package release before publishing (#42218)

* Package separately to publish

* Fix interpolation

* Windows format envvars

* More descriptive msg

* Won't publish from here

* Resolve docker issues in PR build

* Rename package docker step

* Correct npm release JSON structure

(cherry picked from commit 9c0a2a19fd)

* Use existing grabpl

* Update drone.yml
2021-11-30 13:31:45 +02:00
Marcus Andersson
739cac1ea0 Build: Increased the memory for the node process in the frontend build. (#42499) (#42508)
(cherry picked from commit 2a50c029b2)
2021-11-30 11:27:34 +01:00
ying-jeanne
88aec5dff9 Upgrade build-container to version 1.4.8 (#42373) (#42426)
* Upgrade build-container to version 1.4.8 (#42373)

* Upgrade build-container to version 1.4.8

* disable lint of mixin

Co-authored-by: Ying WANG <ying.wang@grafana.com>

* change signature

Co-authored-by: idafurjes <36131195+idafurjes@users.noreply.github.com>
2021-11-29 12:44:26 +01:00
Dimitris Sotirakis
15d94f467d Install netcat to build-container and update the version (#41825) (#42413) 2021-11-29 11:23:41 +01:00
Marcus Efraimsson
8d74cc3576 Chore: Temporary set backend test timeout to 30 min (#42321) 2021-11-25 16:56:26 +01:00
Dimitris Sotirakis
e8c9179f1a [v8.3.x] CI: Run e2e tests in parallel using multiple suites (#41748) (#42215)
* CI: Run e2e tests in parallel using multiple suites (#41748)

* Add missing slash
2021-11-24 15:42:54 +01:00
idafurjes
33ebb859bd Bump grabpl version to 2.7.1 (#42089) (#42154)
(cherry picked from commit 5ac1dc1008)
2021-11-23 23:33:23 +01:00
Dimitris Sotirakis
67b8ea6df2 CI: Remove Linux grabpl step dependency from Windows builds (#42069) (#42112) 2021-11-23 12:26:03 +01:00
Dimitris Sotirakis
80945956aa Dockerfile: Bump Go and Alpine versions (#42063)
Co-authored-by: Dave Henderson <dhenderson@gmail.com>
2021-11-22 14:53:48 +01:00
Dimitris Sotirakis
c782f3031a Make integration tests depend on initialize for enterprise-release-* branches (#42004) (#42027) 2021-11-22 08:48:35 +01:00
Dimitris Sotirakis
5e0900609b Refactor drone yaml (#41969) 2021-11-19 14:46:00 +01:00
Grot (@grafanabot)
94023f10a3 Make initialize depend on clone, only on enterprise pipelines (#41909) (#41910)
(cherry picked from commit 7dcc5ca199)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-11-18 18:11:43 +02:00
Grot (@grafanabot)
a6ce53136c Run integration tests after initialize (#41906) (#41908)
(cherry picked from commit e8a2a82d5c)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-11-18 18:00:35 +02:00
Grot (@grafanabot)
b4b13f8113 Disable lint-drone from release pipelines (#41899) (#41900)
(cherry picked from commit 53dc388dcf)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-11-18 17:34:13 +02:00
Grot (@grafanabot)
fe082e2210 Update grabpl version to 2.6.1 (#41892) (#41896)
(cherry picked from commit c82a15eafb)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-11-18 16:01:05 +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