Dimitris Sotirakis
be27409c4c
[v8.3.x] CI: Sync CI changes ( #46085 )
...
* CI: Introduce `build-frontend-packages` step (#45824 )
* Split frontend build
* Fix command name
* Update grabpl
(cherry picked from commit 2f6c827f5d )
* CI: Add docs pipeline for `main` pipelines (#45740 )
* Add docs pipeline for main
* Extract trigger docs
* Change trigger for main
(cherry picked from commit ea3e41ea62 )
* CI: Add more checks to standalone docs pipeline (#46449 )
* Add build frontend package step
* Reorder dependencies
* Add codespell and prettier checks
(cherry picked from commit 82b436afee )
* Update golang (#46458 )
(cherry picked from commit a29159f362 )
2022-04-05 12:54:48 +03:00
Dimitris Sotirakis
b688a9dede
CI: Introduce docs pipeline ( #45454 ) ( #45670 )
2022-02-21 16:50:16 +02:00
Dimitris Sotirakis
027e345231
CI: Remove grafana/drone-grafana-docker image ( #44983 ) ( #45091 )
...
* CI: Remove `grafana/drone-grafana-docker` image (#44983 )
* Remove grafana/drone-grafana-docker image
* Rename step
* Remove manual gcloud authentication
(cherry picked from commit 329b1a1ef3903c7e2c3ec1f286f9b0f00fcd023e)
* Add publish command for main
* Fix TAG variable parsing
* Remove shouldSave from main builds
* Reorder dependencies
* Update grabpl version
(cherry picked from commit 5543ad883d )
* Sign drone
2022-02-15 12:04:12 +02:00
f42d0b9beb
[v8.3.x] Sync security changes ( #45067 )
...
* "Release: Updated versions in package to 8.3.5"
* [v8.3.x] Fix for CVE-2022-21702 (#225 )
Fix for CVE-2022-21702
* Update yarn.lock for 8.3.5
* resolve conflicts
(cherry picked from commit bb38cfcba4b4f824060ff385d858c63f50b72d74)
* csrf checks for v8.3.5 (#234 )
* Fix lint
* Cherry pick e2e test server changes
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com >
2022-02-08 15:35:38 +01:00
Dimitris Sotirakis
2c033a6540
CI: Make e2e tests depend on binary builds ( #44647 ) ( #44833 )
...
* Make e2e test depend on binary builds
* Search for binary in the correct folders
* Remove package file var
* Add ARCH var
(cherry picked from commit 7bb5a5b318 )
2022-02-04 10:08:19 +02:00
Dimitris Sotirakis
bce40bfcf1
[v8.3.x] Remove test-release pipelines ( #44220 ) ( #44228 )
...
* Remove test-release pipelines (#44220 )
(cherry picked from commit 27fbe82bf1 )
* Remove accidentally added lines upon cherry-picking
* Remove unused var
2022-01-20 00:02:56 +02:00
Dimitris Sotirakis
67a3609cb8
[v8.3.x] CI: Release automations fixes ( #44194 )
...
* Change bucket
* Make publish-packages depend on publish-artifacts pipeline
* Change bucket for windows .msi installers
2022-01-19 15:13:16 +02:00
Dimitris Sotirakis and Timur Olzhabayev
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
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
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
Dimitris Sotirakis
51f516e16d
Chore: Replace publish keyword with store ( #43340 ) ( #43814 )
2022-01-10 10:24:01 +01:00
Grot (@grafanabot) and Dimitris Sotirakis
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 and malcolmholmes
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
Marcus Andersson and malcolmholmes
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
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
Dimitris Sotirakis
67b8ea6df2
CI: Remove Linux grabpl step dependency from Windows builds ( #42069 ) ( #42112 )
2021-11-23 12:26:03 +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) and Dimitris Sotirakis
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) and Dimitris Sotirakis
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
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
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
dsotirakis
a3f6982476
Merge test a11y steps on starlark files
2021-11-10 14:35:03 +02: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
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
Dimitris Sotirakis
cc67b1802c
Remove unused push_to_deployment_tools step ( #40308 )
2021-10-12 09:44:52 +03: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
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
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
Maria Alexandra and Hugo Häggmark
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
Alexander Emelin
2a6871d64e
Chore: build on armv6 to catch 32-bit CPU problems ( #39078 )
2021-09-10 17:10:47 +03: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