Dimitris Sotirakis
4f47832bac
CI: Automate Grafana releases ( #43897 )
...
* CI: Automate releases
* Update grabpl version
2022-01-11 16:28:29 +02:00
Dimitris Sotirakis
f60a2e8152
Chore: Split release pipelines ( #43419 )
...
* Split release pipelines
* Re-add pr and main pipelines
2022-01-11 09:17:00 +00:00
idafurjes
3ca58c0e0c
Chore: Upgrade go and alpine ( #43801 )
...
* Upgrade go and alpine
* Bump grabpl version
* Bump alpine version
* Fix version of grabpl
* Bump alpine version
* Bump alpine in Dockerfiles
2022-01-07 17:27:22 +01:00
idafurjes
4eacdf5f9e
Upgrade go version to 1.17.6 ( #43797 )
2022-01-07 14:09:19 +01:00
Dimitris Sotirakis
beba5958a4
Remove duplication ( #43694 )
2022-01-07 11:23:17 +02:00
Levente Balogh
aeddfb0506
Github Actions: another fix for the levitate workflow ( #43742 )
...
* fix: add col number to the link to work correctly
If we don't provide the position in a #step:{line}:{column} format
then the Github UI won't take us to the correct step.
* fix: escape the backtick ("`") characters properly
2022-01-06 12:02:45 +01:00
Dimitris Sotirakis
6926cb3060
Remove cypress cache volumes ( #43667 )
2022-01-04 16:28:06 +02:00
Dimitris Sotirakis
e3baa24946
CI: Remove initialize step from integration tests pipeline ( #43663 )
...
* Remove initialize step from integration tests
* Remove initialize step from integration tests on main pipelines
2022-01-04 14:17:20 +01:00
Levente Balogh
8ed5b95f42
Chore: change triggering of the detect-breaking-changes Github flow ( #43188 )
...
* chore: only run the breaking-changes flow on pull requests
* chore: run the detect-breaking-changes flow on opening a PR
* chore: use
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* Wip
* trying to get workflow split running.
* trying to trigger workflow.
* trying to trigger.
* Splits levitate job into two workflows.
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2022-01-03 12:48:12 +01:00
Timur Olzhabayev
ec9d6b9ca9
chore(drone): switch to using cypress built image for e2e tests
2021-12-28 13:59:20 +01:00
Timur Olzhabayev
169d39f8e4
feat(e2e-artifacts): upload e2e artifacts to a gcs bucket ( #43210 )
...
feat(e2e-artifacts): upload e2e artifacts to a gcs bucket
2021-12-24 10:43:32 +01:00
Dimitris Sotirakis
59e153cde8
Remove Github Packages publish step ( #43453 )
2021-12-23 10:12:37 +02:00
Dimitris Sotirakis
d88502112f
Chore: Replace publish keyword with store ( #43340 )
...
* Replace publish keyword with store
* Rename publish_steps with store_steps
* Update grabpl version
2021-12-20 12:23:51 +01:00
Dimitris Sotirakis
b7f8c1855d
Add services to main-integration-tests ( #43325 )
2021-12-20 09:33:47 +01:00
Dimitris Sotirakis
2fd2fd353e
Split pipelines on main builds ( #43324 )
2021-12-20 09:09:25 +01:00
Levente Balogh
3f554f58bd
Detecting breaking changes ( #42934 )
...
* chore: add a script for detecting breaking changes
* chore: add a temporary binary for POC3
* chore: add a Github Action workflow for detecting breaking changes
* chore: remove unused variables from the script
* chore: rename the POC3 executable script
* chore: add a label if there is a breaking change
* chore: remove "breaking change" label if all is passing
* chore: rename steps
* fix: only remove the label if there were no breaking changes
* chore: jump to the correct step
* chore: skip `@grafana/toolkit`
* chore: add a message for opening links in a new tab
* chore: update comment message
* chore: use Node 16 for the breaking changes workflow
* chore: install Yarn separately
* chore: use @grafana/levitate
* refactor: remove the unused levitate.js bundle
* fix: handle error when trying to remove a label that does not exist
* chore: delete the comment if there are no breaking changes
* chore: add reviewers automatically
* fix: use double-quote in shell script
* TEMPORARY: introduce a breaking change in `@grafana/data`
* fix: use correct line number for the breaking changes
* Revert "TEMPORARY: introduce a breaking change in `@grafana/data`"
This reverts commit 986ac9ab82 .
* chore: remove unnecessary line from .eslintignore
2021-12-15 17:07:11 +01:00
Josh Hunt
4f6d08f14b
I18N: Add Lingui core translation framework. ( #41827 )
...
* I18N: Add Core Lingui framework for translating the UI
* Make FieldSet accept ReactNode for the label, so it can be translated
* Translate a phrase in the User profile edit form
* Translate phrase
* run lingui compile before webpack builds
* init i18n more lazily
* i1n:compile in drone lint step
* wip for getting tests to work
* Use mock lingui/macros because its too hard to use the real macros in Jest...
* mock messages for tests
* use specific lingui version
* add comment for test helper
* we actually don't need the i18n setup in tests because we mock out <Trans />
* update package.json
* remove unneded imports
* revert back babel core version
* Create a I18nProvider wrapper
2021-12-15 17:00:37 +01:00
Marcus Efraimsson
5bec46ce23
Build: Speed up integration tests ( #43045 )
...
Changes so that postgres/mysql services in Drone maps their data volumes
to tmpfs volumes (memory) to improve performance.
2021-12-15 13:48:59 +01:00
malcolmholmes
198f947d0b
Publish enterprise2 to correct bucket ( #43115 )
2021-12-14 18:43:24 +01:00
malcolmholmes
555f5a49ce
Publish non-release CDN assets ( #43087 )
2021-12-14 13:01:54 +01:00
malcolmholmes
4a4d076bb1
Build: Still auto-publish non-release artifacts ( #43021 )
...
* Still auto-publish non-release artifacts
* Add version to prerelease bucket path
2021-12-13 19:25:59 +00:00
Dominik Prokop
1809513575
npm/canary: Fix typo in publish script ( #43020 )
2021-12-13 10:38:31 +01:00
Jack Westbrook
da75e4b910
Build: Publish canary packages to NPM registry ( #42922 )
...
* ci(packages): replace canary github publishing with npm registry
* chore(drone): refresh yaml config
* docs(packages): remove github package publish explanation
2021-12-13 09:50:19 +01:00
malcolmholmes
de6148e5f1
Build: allow building releases from other repositories ( #42914 )
...
* Allow building from other repositories
* Upgrade grabpl
* Update drone.yml
2021-12-09 13:09:17 +00:00
malcolmholmes
6a5416bcec
Build: Correct syntax for directing release builds ( #42789 )
2021-12-06 15:03:44 +00:00
malcolmholmes
b6818718e9
Build: don't run release builds on grafana/grafana repo ( #42785 )
2021-12-06 14:30:13 +00:00
malcolmholmes
a78b90cb95
Fix windows build in main ( #42665 )
2021-12-02 15:57:44 +00:00
Dimitris Sotirakis
dc627a3d47
Remove e2e tests on enterprise2 ( #42640 )
2021-12-02 14:55:23 +02:00
Hugo Häggmark
4080bcbd6c
E2E: revert recordings ( #42636 )
2021-12-02 12:52:31 +01:00
Hugo Häggmark
bde01e8771
E2E: adds recordings ( #42622 )
2021-12-02 10:21:31 +01:00
malcolmholmes
4d55c6fe51
Build: publish artifacts to correct GCS buckets for main and release builds ( #42537 )
...
* Fix main build (deb downloads)
* Direct cdn assets to correct bucket
2021-11-30 16:40:24 +00:00
malcolmholmes
9c0a2a19fd
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
2021-11-30 10:53:07 +00:00
Marcus Andersson
2a50c029b2
Build: Increased the memory for the node process in the frontend build. ( #42499 )
2021-11-30 10:50:35 +01:00
Dimitris Sotirakis
54ea2ed766
CI: Notify channel on drone yaml changes ( #42428 )
...
* Notify on drone yaml changes
* Change secrets
* Remove test notification
* Fix typo
2021-11-29 20:08:13 +02:00
idafurjes
e20766146a
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 >
2021-11-29 12:03:16 +01:00
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