Dimitris Sotirakis
9fc46b19e3
Update grabpl version to 2.8.4 ( #44045 )
2022-01-14 15:54:16 +02:00
Dimitris Sotirakis
787d55fb2d
Update grabpl version to 2.8.3 - modify commands ( #43996 )
2022-01-13 13:57:15 +02:00
Dimitris Sotirakis
0c88b39162
Bug: Make e2e artifacts upload
run at the end of the pipeline ( #43962 )
...
* Rename step
* Make e2e tests artifacts upload run even on failed e2e tests
2022-01-12 17:58:35 +02:00
Dimitris Sotirakis
634ce4a98e
Update grabpl version to 2.8.2 ( #43949 )
2022-01-12 13:07:29 +02:00
Dimitris Sotirakis
ee0a30c8c2
Update grabpl version to 2.8.1 ( #43902 )
2022-01-11 20:53:40 +02:00
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
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
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
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
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
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
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
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
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
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
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
Hugo Häggmark
0e12293971
Chore: Removes pa11y-ci as dependency and use dlx instead ( #41591 )
2021-11-11 12:54:08 +01: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
Hugo Häggmark
6862c7baf8
Chore: Fix broken variable tests ( #41472 )
...
* Chore: skip failing tests
* Chore: fix broken variables tests
2021-11-09 15:06:14 +01:00
Dimitris Sotirakis
ad4fc4d87e
Remove FocusConvey check ( #41165 )
2021-11-09 12:38:51 +01: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
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
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
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
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
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
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
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
ef36bbbfbd
Pipeline: Make Pa11y ci not mandatory on PR stage ( #39285 )
2021-09-17 17:47:00 +02: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
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
malcolmholmes
b22c2543d0
Build: Upgrade grabpl to 2.4.2 ( #38820 )
2021-09-02 13:03:32 +01:00
Dimitris Sotirakis
a5ce61b539
Chore: Update to alpine:3.14.2 ( #38813 )
...
* Update apline to 3.14.2
* Remove libcrypto1.1 libssl1.1 version dependencies
* Update grabpl version
2021-09-02 12:57:11 +03:00
Dimitris Sotirakis
8e2ee0a1c8
Chore: Update to Golang 1.17 ( #38608 )
...
* Update to golang 1.17
* Further updates
* Run go mod tidy on go 1.17
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Use build-container:1.4.2
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-08-31 09:19:26 +03:00
Dimitris Sotirakis
8a04af412e
Build pipeline: Cleanup build-main pipeline steps ( #38484 )
...
* Refactor dependencies
* Regenerate drone.yml
* Reorder steps in starlark files
* Make build depend on test
* Make test steps depend on lint
* Make gen-version step depend on build steps
* Refactor step dependencies
* Move e2e-tests step before upload_cdn
* Sync with main
2021-08-26 10:11:22 +03:00
Arve Knudsen
78596a6756
Migrate to Wire for dependency injection ( #32289 )
...
Fixes #30144
Co-authored-by: dsotirakis <sotirakis.dim@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
Co-authored-by: spinillos <selenepinillos@gmail.com>
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
2021-08-25 15:11:22 +02:00
Dimitris Sotirakis
29d0a1536c
Chore: Update grabpl version to 2.3.3 ( #38516 )
...
* Update grabpl version to 2.3.1
* Update grabpl version to 2.3.2
* Update grabpl version
2021-08-25 08:50:41 +03:00
Dimitris Sotirakis
e8faa2c900
Build pipeline: Cleanup PR pipeline steps ( #38447 )
...
* Refactor dependencies
* Regenerate drone.yml
* Reorder steps in starlark files
* Make build depend on test
* Make test steps depend on lint
* Make gen-version step depend on build steps
2021-08-24 17:07:06 +02:00
Maria Alexandra
856cb1d80f
Pipeline: Fix pa11y ci when server is not available and fix publish frontend metrics step ( #38485 )
2021-08-24 13:44:52 +02:00
Maria Alexandra
ef8e95ac7f
Pipeline: Revert a11y changes to fix publish frontend metrics step ( #38452 )
2021-08-23 16:45:59 +02:00
Maria Alexandra
6396f05320
Pa11y: add logs to a11y step in terminal to provide more info of status ( #38445 )
2021-08-23 14:54:33 +02:00
Dimitris Sotirakis
64cb000d37
Chore: Add e2e-tests-server as dependencies on steps that publish packages ( #38059 )
...
* Add e2e-tests-server as dependencies on steps that publish packages
* Sign drone yaml
2021-08-23 13:39:16 +03:00
Maria Alexandra
b579a707e3
A11y - Add Pa11y CI in main pipeline to collect a11y issues ( #37741 )
...
Co-authored-by:
Hugo Häggmark <hugo.haggmark@gmail.com>
thisisobate <obasiuche62@gmail.com>
2021-08-23 10:08:01 +02:00
Kevin Minehart
b3c4b20953
Docker: Update base alpine version (fix CVE-2021-36159) ( #38088 )
...
* update base alpine version and update apk packages in Dockerfile
* update base alpine version
* don't need to apk update
* remove space
* Update to alpine 3.14.1
Co-authored-by: Malcolm Holmes <mdh@odoko.co.uk>
2021-08-20 12:54:03 +01:00
Dimitris Sotirakis
16c518582f
Chore: Prevent branches beginning with "v*" from being considered as versioned branches ( #38016 )
...
* Add v8* and v9* "regex" to only build versioned branches
* Add glob pattern matching
* Sign drone yaml
2021-08-20 09:22:53 +03:00
Dimitris Sotirakis
37b0c20984
Chore: Update channel to where failed Docker nightly builds are posted ( #37927 )
...
* Update channel
* Sign drone.yml
2021-08-16 14:54:52 +02:00
Julien Duchesne
7e63118ea9
Run builds on single-build agents ( #37702 )
...
This is an effort to reduce cache errors when multiple agents try to build the yarn cache at the same time
https://github.com/grafana/deployment_tools/issues/13329
2021-08-10 09:16:09 +03:00
Julien Duchesne
e5f52a05f2
Put back signature in drone.yml ( #37447 )
...
Repository protection will be enabled for grafana/grafana today
2021-08-02 15:35:49 +02:00
Dimitris Sotirakis
c189851339
Chore: Update grabpl version ( #37253 )
...
* Update grabpl version to 2.3.1
* Update grabpl version to 2.3.2
2021-07-27 13:18:06 +02:00
Dimitris Sotirakis
0c804df763
Update grabpl version to 2.3.1 ( #37208 )
2021-07-27 12:52:01 +03:00
sam boyer
cae47b3c1c
Make validate-schema CLI command work vs. disk ( #36863 )
...
* Make validate-schema CLI command work vs. disk
Previously, `grafana-cli cue validate-schema` would only validate the
CUE files that had been included at compile time. Now, the command
requires passing a grafana checkout root path, and will actually check
against live files on disk.
* Exempt validateScuemata from sec linter
* Nit: validateScuemata is a simpler, better name
* Try to fix validate-scuemata build step
2021-07-16 19:53:19 -04:00