Dimitris Sotirakis
01afe9fbd4
CI: Move upload-packages
subcmd from grabpl
( #58960 )
...
* Move upload-packages subcmd from grabpl
# Conflicts:
# .drone.yml
# Conflicts:
# .drone.yml
* Fix lint - add ActivateServiceAccount
* Fix lint
2022-11-18 17:22:14 +02:00
Dimitris Sotirakis
0bf3c98eec
CI: Add environment variables for edition to all pipelines ( #58964 )
...
Add environment variables to pipelines
2022-11-18 16:15:04 +02:00
Dimitris Sotirakis
e37fc888c0
CI: Move upload-cdn
subcommand from grabpl
( #58957 )
...
Move upload-cdn from grabpl
2022-11-18 08:37:18 -05:00
Dimitris Sotirakis
5ea077c440
CI: Replace TAG
with DRONE_TAG
in CI ( #58894 )
...
* Replace TAG with DRONE_TAG
* Fix variable call
* Replace remaining bits
* Bump grabpl version
2022-11-17 08:30:09 -05:00
Ashley Harrison
ff1afbb699
Revert "Chore: move to node 18 ( #58570 )" ( #58754 )
...
This reverts commit 0a9129cf90
.
2022-11-15 13:47:14 +00:00
Dimitris Sotirakis
09c3ead945
CI: Make build and store storybook trigger in the release process ( #58686 )
...
Make storybook trigger conditional
2022-11-14 10:14:50 +00:00
Ashley Harrison
0a9129cf90
Chore: move to node 18 ( #58570 )
...
* bump node version to 18
* update folder to 18.x
* update README for m1 instructions
* update drone
* update unit test
* update README
2022-11-11 11:34:00 +00:00
Andreas Christou
5cfd983cc2
AzureMonitor - E2E tests drone update ( #57100 )
...
* Update e2e command with video flag
* Add Cloud Plugins E2E tests to drone
* Update env variable names
* Add vault Azure secrets
* Update e2e steps
* Update secrets path
* Update image and rebuild drone file
* Readd drone changes
* Rebuild drone
* Remake drone
* Correct reference to secret
* Remake drone file
* Remove unneeded step
* Clear values in Arg query
2022-11-08 11:27:54 +01:00
Emil Tullstedt
428dd54094
Chore: Upgrade Go to 1.19.3 ( #58052 )
2022-11-04 14:50:43 +01:00
Dimitris Sotirakis
9c1c10ab9a
Remove base and arch args ( #58209 )
2022-11-04 13:21:18 +02:00
Todd Treece
e105b5a107
Chore: Add jsonnet library for devenv dashboards ( #57928 )
2022-11-03 11:04:39 -04:00
Dimitris Sotirakis
7a12132237
DEB/RPM Packages: Remove old package publishing steps ( #58071 )
...
* Remove old publish package steps
* Don't ignore publish packaging failures
2022-11-02 18:42:01 +00:00
Julien Duchesne
c46a4a0b26
Linux Packages: Handle publish to beta ( #57528 )
...
Uses the feature added here: https://github.com/grafana/deployment_tools/pull/46301
When a version is named "beta", it will be distributed in the beta distribution, rather than in stable
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
2022-11-02 06:21:41 -04:00
Dimitris Sotirakis
f3b8cd1c98
CI: Remove *-test-backend-enterprise2
pipelines ( #58028 )
...
* Remove test-backend-enterprise2 pipelines
* Remove leftover
2022-11-02 04:13:12 -04:00
Dimitris Sotirakis
57ee0e4a4b
CI: Use full dockerhub
repository name ( #57979 )
...
* Add full dockerhub repo name
* Update grabpl version
2022-11-01 15:33:16 +02:00
Dimitris Sotirakis
1eaf7cbfc0
Add GCP_KEY to publish-grafanacom step ( #57910 )
2022-11-01 09:41:15 +02:00
Timur Olzhabayev
66d2fe7d9d
Fixing upload failure ( #57290 )
2022-10-20 14:18:33 +02:00
Dimitris Sotirakis
f0b882ebad
Add token to init-enterprise ( #57246 )
2022-10-19 04:23:12 -04:00
Ashley Harrison
178b05160a
make betterer a required step on PRs again ( #57099 )
2022-10-18 12:22:13 +01:00
Julien Duchesne
44ad4ec9d4
Add RPM package publishing ( #56797 )
...
Just tested deb publishing, and confirmed it works. Noticed that RPM packages aren't published though
It's the exact same step, targetting the RPM files instead
Both steps will run in parallel
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
2022-10-18 13:41:23 +03:00
Dimitris Sotirakis
7a71482371
Update grabpl to 3.0.14 ( #57144 )
2022-10-18 02:44:31 -04:00
Dimitris Sotirakis
27f072beb3
Don't trigger tag event when merging ( #57063 )
2022-10-17 12:27:10 +03:00
Dimitris Sotirakis
e25475b9c8
Make publish packages depend on compile-build-cmd and run from bin/build ( #56713 )
2022-10-17 10:58:36 +03:00
Dimitris Sotirakis
b9d449529a
Update grabpl to v3.0.12 ( #56823 )
2022-10-13 11:35:05 +03:00
Julien Duchesne
72b9555487
Publish Linux Packages: Fix bad secret name ( #56708 )
...
🤦
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
2022-10-12 14:07:13 +03:00
Dimitris Sotirakis
62314bbf66
Remove grabpl dependency from yarn-install ( #56692 )
2022-10-11 18:58:03 +03:00
Dimitris Sotirakis
efc8f985cb
Remove build-frontend-packages step from docs pipelines ( #56686 )
2022-10-11 06:56:43 -04:00
Dimitris Sotirakis
66cb56de79
CI: Trigger tag on CI changes ( #55388 )
...
* Trigger tag on CI changes
* Use github token available for PRs
Remove remote addition
* Replace origin with full url
Remove fetch for origin
Fix fetch
Remove --quite
Add rebase
Stash changes from verify-gen-cue
Cleanup
* Add --quiet when fetching
2022-10-11 12:01:18 +03:00
Dimitris Sotirakis
668cb25b82
Fix release test pipelines dependencies ( #56671 )
2022-10-11 11:42:24 +03:00
Dimitris Sotirakis
811f6054c8
Add dependencies ( #56666 )
2022-10-11 10:05:13 +03:00
Dimitris Sotirakis
eb077db2b0
Add clone-enterprise and init-enterprise steps ( #56662 )
2022-10-10 22:46:12 +03:00
Dimitris Sotirakis
75c5845749
CI: Split release test pipelines ( #56655 )
...
* Split test release pipelines
* Add missing dependencies
* Add release branch case when naming pipeline
2022-10-10 11:46:56 -04:00
Serge Zaitsev
169610fd27
Chore: Reduce test timeouts to 5 minutes ( #56599 )
2022-10-10 09:26:47 +02:00
Emil Tullstedt
c2d3a31772
Chore: Upgrade Go to 1.19.2 ( #56355 )
2022-10-07 12:47:24 +02:00
Dimitris Sotirakis
ec7d9e196e
Change from grabpl to build for grafana-com ( #56434 )
2022-10-06 08:14:38 +01:00
Dimitris Sotirakis
636ae8d091
Update grabpl version to v3.0.11 ( #56377 )
2022-10-05 14:18:28 +03:00
Dimitris Sotirakis
5cdc932f8c
CI: Stop publishing OSS images for security mode ( #56088 )
...
* No-op: Refactor publish images pipeline struct
* Stop publishing images for OSS
2022-10-05 09:39:38 +03:00
Dimitris Sotirakis
8eea6f7f4f
Add edition as environment var ( #56069 )
2022-10-04 10:35:18 +03:00
Dimitris Sotirakis
cd360f2d2a
Add nightly cronjob ( #55675 )
2022-09-27 08:49:20 -05:00
Julien Duchesne
169df2fe90
Drone: publish-linux-packages
should be privileged ( #55816 )
...
It's currently failing with a failure to mount s3fs
2022-09-27 15:44:39 +03:00
Kevin Minehart
2fadeeff4c
CI: move grabpl package
command to pkg/build
( #55651 )
...
* add grabpl package
* update .drone.yml
* resolve lint errors
2022-09-23 11:49:07 -05:00
Jack Westbrook
ba10548547
CI: Update grabpl to 3.0.10 ( #55678 )
2022-09-23 15:15:04 +02:00
Dimitris Sotirakis
61c50ca1aa
Update grabpl version to v3.0.9 ( #55621 )
2022-09-23 09:19:55 +03:00
Dimitris Sotirakis
a9a86cbe54
Introduce lint-frontend pipeline ( #55559 )
2022-09-21 14:39:28 -05:00
Dimitris Sotirakis
c18432971b
CI: Introduce lint-backend
pipeline ( #55476 )
...
* Introduce lint-backend pipeline
* Use go image and install make
* Don't run lint pipeline on .drone.yml changes
2022-09-21 07:05:19 -04:00
Julien Duchesne
a44c0040a9
Drone: Always have image_pull_secrets
( #55530 )
...
Having it doesn't prevent pulling any images, so it's easier if it's everywhere
2022-09-21 06:27:43 +00:00
Dimitris Sotirakis
2c872b0d94
Run enterprise downstream after OSS CI is done ( #55366 )
2022-09-19 17:17:36 +03:00
Dimitris Sotirakis
93e78e2146
CI: Move fetch-images
sub-command from build-pipeline
repo ( #55298 )
...
* Move fetch images from build-pipeline
* Modify drone
* Replace zerolog with builtin log
* Fix lint
2022-09-19 11:19:31 +03:00
Dimitris Sotirakis
4e73766067
CI: Move store-storybook
to OSS ( #55212 )
...
* Move store-storybook to OSS
* grabpl -> build for store-storybook command
* Replace zerolog with builtin log
* Remove flags from store-storybook
* Fix lint
2022-09-15 11:06:43 +03:00
Dimitris Sotirakis
244ccead9d
Make lint-drone depend on compile-build-cmd ( #55174 )
2022-09-14 10:45:00 -04:00
Dimitris Sotirakis
5c40b053d0
Update grabpl ( #55061 )
2022-09-14 10:20:58 -04:00
Kevin Minehart
c69a37f8c2
CI: grabpl verify-drone -> ./bin/build verify-drone
( #55171 )
...
* move grabpl verify-drone
2022-09-14 09:07:09 -05:00
Dimitris Sotirakis
5a1ba20856
CI: Split oss
and enterprise
steps for release pipelines ( #55157 )
...
* s/include_enterprise2/include_enterprise
* Get rid of get_steps def - include steps in separate defs
2022-09-14 09:47:02 -04:00
Dimitris Sotirakis
8b38f9408d
Run codespell only on docs changes ( #55064 )
2022-09-14 16:32:08 +03:00
Dimitris Sotirakis
716bdde3f6
CI: Make shellcheck
a standalone pipeline ( #55082 )
...
* Make shellcheck standalone pipeline
* Run shellcheck on every .sh change
* Change base image
* Trigger on script changes
* Run shellcheck on PRs only
2022-09-14 09:00:06 +03:00
Dimitris Sotirakis
9b42cf009a
CI: Update build-container
image to v1.6.2
( #55083 )
...
* Update build container to v1.6.2
* Update Dockerfile
2022-09-13 15:43:02 +03:00
Kevin Minehart
d3af3e0431
CI: Move grabpl publish-metrics ( #55042 )
...
* move grabpl publish-metrics
* grabpl -> ./bin/build
* fix lint error
2022-09-12 13:28:08 -05:00
Emil Tullstedt
b287047052
Chore: Upgrade Go to 1.19.1 ( #54902 )
...
* WIP
* Set public_suffix to a pre Ruby 2.6 version
* we don't need to install python
* Stretch->Buster
* Bump versions in lib.star
* Manually update linter
Sort of messy, but the .mod-file need to contain all dependencies that
use 1.16+ features, otherwise they're assumed to be compiled with
-lang=go1.16 and cannot access generics et al.
Bingo doesn't seem to understand that, but it's possible to manually
update things to get Bingo happy.
* undo reformatting
* Various lint improvements
* More from the linter
* goimports -w ./pkg/
* Disable gocritic
* Add/modify linter exceptions
* lint + flatten nested list
Go 1.19 doesn't support nested lists, and there wasn't an obvious workaround.
https://go.dev/doc/comment#lists
2022-09-12 12:03:49 +02:00
Dimitris Sotirakis
8c081d4523
Remove gen-version from windows pipelines ( #54941 )
2022-09-09 03:22:38 -04:00
Dimitris Sotirakis
e277ab0017
CI: Call for Grafana version on demand - remove need for version.json
( #54638 )
...
* Remove need for version.json
* Fix lint
* log.Info -> fmt.Print
* Add back tests
* Remove non-used file
* Fix lint
* Update grabpl version to v3.0.6
2022-09-09 02:35:10 -04:00
Joe Blubaugh
a101d127cb
CI: Update Drone MySQL version to 5.7.39 to match database policy. ( #54612 )
...
The supported database policy is listed at: https://grafana.com/docs/grafana/latest/setup-grafana/installation/#supported-databases
2022-09-08 15:03:02 +08:00
Dimitris Sotirakis
8e577ce9fa
CI: Trigger *-storybook
steps on UI changes ( #54833 )
...
* No-op, small starlark refactoring
* Make build and store storybook steps execute on ui changes
2022-09-07 15:08:13 +03:00
Kevin Minehart
1169f14d47
CI: move grabpl build-frontend-packages
from grabpl to grafana ( #53072 )
...
* move grabpl build-frontend-packages
* add frontend and lerna packages
* grabpl build-frontend-packages -> ./bin/build build-frontend-packages
* move getgrafanaversion
* add noinstalldeps flag
* fix compiler error
* fix lint error
* add missing flags
2022-09-06 20:09:08 +03:00
Kevin Minehart
a76ce1f567
CI: move grabpl e2e tests
from grabpl to grafana ( #53075 )
...
* move grabpl e2e tests
2022-09-02 11:02:10 -04:00
Dimitris Sotirakis
4735de6aa4
Run gen-version in windows pipelines ( #54624 )
2022-09-02 06:27:20 -04:00
Timur Olzhabayev
b5b41988cf
Docs: Deprecating packages_api and removing it from our pipelines ( #54473 )
2022-09-01 18:15:44 +02:00
Dimitris Sotirakis
7e2238cf6f
CI: Generate Grafana version (and metadata) when the build binary is built ( #54393 )
...
* Add GenerateVersions as BeforeFunc
* Delete gen-version
* Fix lint
* Get build id from env var
2022-09-01 15:43:40 +03:00
Julien Duchesne
67f1778bf1
Add package publishing step ( #53553 )
...
Issue: https://github.com/grafana/deployment_tools/issues/36289
Based on the new image: https://github.com/grafana/deployment_tools/tree/master/docker/package-publish
This is a new step meant to replace the store-packages command. It will greatly improve publishing performace and it publishes to a common repository shared with all Grafana products
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
2022-09-01 07:13:44 -04:00
Dimitris Sotirakis
87f2b13efa
CI: Update grabpl
verison to v3.0.5
( #54269 )
...
* Update grabpl
* Update to grabpl v3.0.5
2022-08-31 06:27:53 -04:00
Dimitris Sotirakis
50d0581000
Trigger backend tests on devenv changes ( #54137 )
2022-08-24 14:54:11 +03:00
Dimitris Sotirakis
ceb32a7506
Add GCP_KEY secret to the artifacts-page pipeline ( #54013 )
2022-08-22 08:44:43 -05:00
malcolmholmes
a19d82124b
Build: upgrade Alpine images ( #53743 )
2022-08-15 18:17:55 +02:00
Dimitris Sotirakis
332bc3aa63
CI: Split store-packages
step ( #53516 )
...
* Remove unused def
* Add grafanacom step
2022-08-11 05:31:35 -04:00
Dimitris Sotirakis
fa4abdcce1
Grafana Build: Sync Grafana versioning changes from build-pipeline
( #53522 )
...
* Sync version changes
(cherry picked from commit fb449ba0376cd7d86928e8b08ef77a851488604b)
Sync version refactoring changes
* Update grabpl
2022-08-11 11:44:59 +03:00
Kevin Minehart
d117689aea
CI: move grabpl build-frontend
from grabpl to grafana ( #53073 )
...
* move grabpl build-frontend
2022-08-10 10:29:51 -04:00
Dimitris Sotirakis
e9fe9a25dc
Run docs pipeline on *.md changes only, in the packages dir ( #53517 )
2022-08-10 13:39:56 +03:00
Dimitris Sotirakis
d638cd4fd7
Trigger test release on pkg/cmd/** changes ( #53448 )
2022-08-09 08:21:09 -05:00
Kevin Minehart
59ce564d49
CI: move grabpl build-docker
from grabpl to grafana ( #53077 )
...
* add grabpl build-docker
2022-08-09 09:43:28 +03:00
Dimitris Sotirakis
499cac44e3
Remove packages-bucket arg ( #53421 )
2022-08-08 13:05:26 -04:00
Dimitris Sotirakis
c472726083
Change base image for npm storage ( #53419 )
2022-08-08 12:43:44 -04:00
Dimitris Sotirakis
732c22ed02
CI: Update grabpl
to v3.0.1 ( #53369 )
...
* Update grabpl to v3.0.0
* Update to v3.0.1
2022-08-08 12:08:55 -04:00
Kevin Minehart
d1d237f30a
CI: move grabpl shellcheck
from grabpl to grafana ( #53076 )
...
* add grabpl shellcheck
* grabpl shellcheck -> ./bin/build shellcheck
2022-08-08 10:36:13 -05:00
Kevin Minehart
138f03aad1
CI: move grabpl build-plugins
from grabpl to grafana ( #53071 )
...
* add grabpl command to build internal plugins
* grabpl build-plugins -> ./bin/build build-plugins
2022-08-04 11:39:36 -05:00
Dimitris Sotirakis
1d1fb07124
Make retrieve and release npm packages allowed to fail ( #53191 )
2022-08-03 08:24:32 -04:00
Dimitris Sotirakis
5d014f0c37
CI: Run main-docs
pipeline only, when a docs PR is merged ( #53026 )
...
* Trigger docs pipeline on main, on docs only changes
* Export docs inclusion paths in variable
2022-08-03 08:08:43 -04:00
Julien Duchesne
157303d8ba
Drone: Add retries for pipelines ( #53171 )
...
* Drone: Add retries for pipelines
Self-explanatory, this should reduce flakiness for the clone step
* Oops remove extra file
2022-08-03 14:51:29 +03:00
Dimitris Sotirakis
cea4b3fb19
Make compile-build-cmd depend on init-enterprise ( #53029 )
2022-08-01 06:56:06 -04:00
Dimitris Sotirakis
1666871d48
Trigger pr-integration-tests pipeline only on backend changes ( #53024 )
2022-08-01 12:36:32 +03:00
Ashley Harrison
921d32d70b
Chore: use new pa11y-ci
version ( #52953 )
...
* use new pa11y-ci version, update some thresholds and set standard to WCAG2AA
* remove unneeded comment
* PRs won't have unified alerting enabled...
2022-07-28 12:49:41 -04:00
Kevin Minehart
d567f199dd
CI: add the grabpl build-backend command into the repo ( #52673 )
...
* Move the grabpl build-backend command and clean it up a bit
2022-07-28 10:11:22 -04:00
Dimitris Sotirakis
f215a35caf
Docker: Install jq on build-container
image ( #52928 )
...
* Install jq on build-container image
* Bump build-container version
2022-07-28 08:21:48 -05:00
Dimitris Sotirakis
f26c49ecc0
Remove build-storybook from release-branch mode for enterprise ( #52654 )
2022-07-22 08:29:29 -04:00
Dimitris Sotirakis
3b6cef9dfa
CI: Refactor/Reorder *.star
files ( #52384 )
...
* Refactor test pipelines
* Move pr, main and release starlark files under scripts/drone/event
* Move cron.star to scripts/drone/events
* Further unused code removal
* Introducing build.star
* Extract verify_drone.star
* Extract windows.star
* Extract publish.star
* Remove unused code
* Fix formatting in main.star
2022-07-20 09:43:19 -04:00
Emil Tullstedt
78f26a079c
Chore: Upgrade to Go version 1.17.12 ( #52523 )
2022-07-20 14:27:44 +02:00
Dimitris Sotirakis
47678cd087
CI; Update Dockerfile for grafana/grafana-ci-deploy
container ( #52516 )
...
* Use python 3.7 for gcloud
* Update comment for reference
* Update image version
* Update gcloud components
2022-07-20 06:34:09 -04:00
Dimitris Sotirakis
529289268b
Docker: Install git
in grafana/grafana-ci-deploy
image ( #52466 )
...
* Install git in grafana/grafana-ci-deploy image
* Bump grafana/grafana-ci-deploy version
2022-07-19 11:04:16 -04:00
Dimitris Sotirakis
e0d1af1867
Remove volumes from build-e2e pipeline on main ( #52386 )
2022-07-19 14:38:43 +03:00
Dimitris Sotirakis
2af5feb147
CI: Add pr-verify-drone
pipeline ( #51951 )
...
* Introduce pr-verify-drone pipeline
* Remove `make drone` pre-commit hook
* Remove lint-drone from test-backend pipeline
2022-07-08 12:18:46 +03:00
Dimitris Sotirakis
beb60a5de2
Make store packages depend on gen-version ( #51916 )
2022-07-07 15:13:47 -04:00
Dimitris Sotirakis
5cbb7003c0
Add artifacts-page grabpl command ( #51894 )
2022-07-07 11:00:28 -04:00
Dimitris Sotirakis
6447e08809
Add gen-version step to release pipelines ( #51913 )
2022-07-07 10:32:18 -04:00
Dimitris Sotirakis
88943590b3
Add gen-version for main-publish pipeline ( #51890 )
2022-07-07 12:58:20 +01:00
Dimitris Sotirakis
f279699beb
CI: Abstract Grafana versioning ( #50935 )
...
* Remove flags and update grabpl
* Sign drone yaml
2022-07-07 13:41:27 +03:00
Ashley Harrison
f654152dc8
Chore: split betterer into it's own CI step and allow failures for now ( #51543 )
...
* split betterer into it's own CI step and allow failures for now
* Run make drone
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
2022-06-29 15:04:52 +01:00
idafurjes
ef23a76310
Remove integration tags for enterprise ( #50974 )
...
* Remove integration tags for enterprise
* Adjust integration tests and backend tests for the current enterprise setup
* Remove entrerprise2 integration step and use go command for enterprise2 backend step
* CI: Tidy up `release-enterprise-*` pipeline dependencies (#51031 )
* Tidy up enterprise deps
* Fixes according to reviewer's comments
Co-authored-by: dsotirakis <sotirakis.dim@gmail.com>
2022-06-22 15:22:42 +02:00
ying-jeanne
f81f33420e
Chore: Update build-container to version 1.5.7 ( #51188 )
2022-06-22 02:55:43 +02:00
ying-jeanne
4489f331b8
Chore: Use the bingo built golangci-lint ( #51048 )
...
* use the bingo built golangci-lint
* remove grapl usage
* add dependancy
2022-06-17 19:46:20 +02:00
idafurjes
335ce44890
Fix integration tests for mysql and postgres ( #50867 )
...
* Fix integration tests for mysql and postgres
* Package by package testing
* Adding make gen-go to the postgres and mysql integration step
* Rewrite command for backend integration tests
* Diffentiate command for OSS and enterprise
* Add wire-install as dependant for OSS integration tests
* set GRAFANA_TEST_DB variable in the go test command
* No verbose output
* Remove redundant env var
* Try fixing the tests
* Trying stg else
* Remove verbose
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
2022-06-16 16:41:56 +02:00
Dimitris Sotirakis
8a6ed3d81b
Remove armv6 from build-backend variants ( #50878 )
2022-06-15 16:46:47 +03:00
Dimitris Sotirakis
7566f800e6
Include public/app/plugins/**/plugin.json in the BE test paths ( #50756 )
2022-06-14 12:22:52 +03:00
Agnès Toulet
3e5e86d926
Drone: remove flag from main downstream step ( #50681 )
2022-06-13 17:06:11 +02:00
Kat Yang
bd35e6917a
Chore: Exclude integration tests from running on test-backend step ( #50359 )
...
* Chore: Exclude integration tests from running on test-backend step
* Remove -v from go test command
* Add check to skip integration tests before each integration test
* Try to restart pipeline
* Retrying to make pipeline run
2022-06-10 11:46:21 -04:00
Dimitris Sotirakis
5633648383
Rename release pipelines ( #50585 )
2022-06-10 12:28:50 +02:00
sam boyer
9fc889f5f6
ci: Depend on init-enterprise for gen-cue verify ( #50191 )
2022-06-09 09:48:27 +03:00
sam boyer
8876d56495
schema: Migrate from scuemata to thema ( #49805 )
...
* Remove crufty scuemata bits
Buhbye to: cue/ dir with old definitions, CI steps for checking unnecessary
things, and the original dashboard scuemata file.
* Remove grafana-cli cue subcommand
* Remove old testdata
* Don't swallow errors from codegen
* Small nits and tweaks to cuectx package
* WIP - refactor pluggen to use Thema
Also consolidate the embed.FS in the repo root.
* Finish halfway rename
* Convert all panel models.cue to thema
* Rewrite pluggen to use Thema
* Remove pkg/schema, and trim command
* Remove schemaloader service and usages
Will be replaced by coremodel-centric hydrate/dehydrate system Soon™.
* Remove schemaloader from wire
* Remove hangover field on histogram models.cue
* Fix lint errors, some vestiges of trim service
* Remove unused cuetsify cli command
2022-06-06 17:52:44 -07:00
Dimitris Sotirakis
7b750cc0f0
Update Golang - bump grabpl and build-container ( #50253 )
2022-06-06 15:38:39 +02:00
Kat Yang
c63ebc887b
Chore: Run integration tests without grabpl ( #49448 )
...
* Chore: Run integration tests without grabpl
* Add new step for integration tests in lib.star
* Remove old integration test step from lib.star
* Change drone signature
* Fix: Edit starlark integration step to not affect enterprise
* Remove all build tags & rename starlark integration test step
* Resync .drone.yml with .drone.star
* Fix lint errors
* Fix lint errors
* Fix lint errors
* Fix more lint errors
* Fix another lint error
* Rename integration test step
* Fix last lint error
* Recomment enterprise step
* Remove comment from Makefile
Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com>
2022-06-01 14:55:22 -04:00
Dimitris Sotirakis
b6a329c268
CI: Trigger pr-test-*
pipelines on different cases ( #48426 )
...
* Trigger pr-test-backend pipeline on pkg/* changes
* Exclude paths for pr-test-frontend pipeline
* Add more paths
* Revert *.md - trigger on go.* changes
* Replace star with doublestar
2022-06-01 11:47:50 +03:00
sam boyer
be06d37a20
schema: Generate Go and Typescript from Thema coremodels ( #49193 )
...
* Add go code generator for coremodels
* Just generate the entire coremodel for now
Maybe we'll need more flexibility as more coremodels are added, but for
now this is fine.
* Add note on type comment about stability, grodkit
* Remove local replace directive for thema
* Generate typescript from coremodel
* Update pkg/coremodel/dashboard/addenda.go
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* Update cuetsy to new release
* Update thema to latest
* Fix enum generation for FieldColorModeId
* Put main generated object at the end of the file
* Tweaks to generated Go output
* Retweak back to var
* Add generated coremodel test
* Remove local replace statement again
* Add Make target and call into cuetsy cmd from gen
* Rename and comment linsrc for readability
* Move key codegen bits into reusable package
* Move body of cuetsifier into codegen pkg
Also genericize the diffing output into reusable WriteDiffer.
* Refactor coremodel generator to use WriteDiffer
* Add gen-cue step to CI
* Whip all the codegen automation into shape
* Add simplistic coremodel canonicality controls
* Remove erroneously committed test
* Bump thema version
* Remove dead code
* Improve wording of non-canonicality comment
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-05-27 03:21:37 +02:00
Kevin Minehart
61101056b6
upgrade grabpl ( #49534 )
2022-05-24 13:18:05 -05:00
Agnès Toulet
4bd97c8673
Drone: Trigger Enterprise PR checks for OSS PRs ( #47176 )
...
* Drone: add enterprise-init-downstream step
* fixes
* Add OSS_PULL_REQUEST env variable for downstream builds
* sign Drone config
* Update .drone.yml
* use test grabpl
* test without init step
* fix downstream branch
* unknown branch test
* use drone-downstream test image
* revert latest changes
* update Drone and add GH workflow
* fix PR number
* Run Enterprise PR check only on PRs targeting main or release branch
* update repository dispatch action
* remove test data
* update grabpl version
2022-05-16 14:28:37 +02:00
Dimitris Sotirakis
20f62e1841
CI: Split main tests pipeline ( #48628 )
...
* Split tests pipeline
* Rename dependencies
2022-05-03 13:54:47 +02:00
Dimitris Sotirakis
c3ba6f962b
CI: Run docs pipeline only upon changes to root markdown files ( #48433 )
...
* Run docs pipeline only upon changes to root markdown files
* Include latest/json
2022-04-28 17:41:46 +03:00
Dimitris Sotirakis
a7a5476ac2
CI: Split publish-packages
pipeline ( #48414 )
...
* Split publish packages pipeline
* Small refactoring
2022-04-28 14:53:32 +03:00
Dimitris Sotirakis
67752ad88c
Reorder dependencies for npm release steps ( #48403 )
2022-04-28 12:15:28 +02:00
Dimitris Sotirakis
ff23f78b51
Split frontend and backend pipelines ( #48362 )
2022-04-28 12:04:03 +03:00
Dimitris Sotirakis
430b9ae5cb
CI: Rename main
pipelines ( #48245 )
...
* Rename main pipelines
* Rename dependencies
2022-04-26 11:40:13 +01:00
Dimitris Sotirakis
412be1f1cf
Add yarn-install when publishing npm packages ( #48061 )
2022-04-21 16:31:39 +02:00
Emil Tullstedt
24038d9985
Chore: Update Go version ( #47914 )
...
* Remove makefile (it's not used anymore)
* Directly download and install nodejs package
The Packages file for deb.nodesource.com/node_16.x doesn't list older
versions, so only the most recent version of nodejs is available. We
don't want to require every update to the build container to have to
update nodejs if a never version is available, so I manually download
the deb and install it with dpkg.
* Update Go version
* Update lib.star
* Generate new .drone.yml
2022-04-20 09:14:12 +02:00
Dimitris Sotirakis
4510519941
Update grabpl ( #47824 )
2022-04-15 16:00:26 +02:00
Dimitris Sotirakis
508cc58a63
CI: Remove unused --github-token
flag ( #47773 )
...
* Remove github token flag
* Minor cleanup
* Update grabpl
2022-04-15 10:42:58 +03:00
Dimitris Sotirakis
90892050d0
CI: Remove initialize
step ( #47622 )
...
* Remove initialize step from pr.star
* Remove initialize step from main.star
* Remove initialize step from release.star
* Reorder dependencies
* Re-add identify runner step
* Add enterprise steps
* Remove is_downstream variable from starlark logic (#47715 )
* Make init steps depend on init-enterprise for enterprise pipelines
* Exclude shellcheck from enterprise pipelines
* Add init steps to enterprise integration tests pipeline
* Add dependency for windows enterprise step
* Update grabpl version
2022-04-14 14:56:14 +03:00
Dimitris Sotirakis
1957863b67
Update grabpl ( #47643 )
2022-04-13 12:22:39 +03:00
Dimitris Sotirakis
cfaf058b20
Storybook: Add store-storybook
command ( #47557 )
...
* Add store-storybook command
* Update grabpl version
2022-04-12 12:26:45 +03:00
Dimitris Sotirakis
ce2a9252c2
Replace with secret ( #47488 )
2022-04-08 10:06:45 +02:00
Dimitris Sotirakis
0845ba1abb
Make gsutil command don't fail if dir doesn't exist ( #47394 )
2022-04-07 09:30:09 +03:00
Jack Westbrook
a1ebcd520c
Build: Remove redundant build_npm_packages_step ( #47384 )
2022-04-06 14:26:59 +02:00
Dimitris Sotirakis
25e04d77be
Storybook: Replace gsutil rsync
with gsutil cp
when copying artifacts ( #47335 )
...
* Replace gsutil rsync with cp
* Sync drone
* Remove folder before uploading artifacts
2022-04-06 13:31:36 +03:00
Dimitris Sotirakis
c72881a8b1
Update grabpl version ( #47375 )
2022-04-06 11:08:05 +02:00
Jack Westbrook
9a6fd8572a
Build: Remove redundant NPM publishing code ( #46425 )
...
* chore(build): remove npm package:publishPrevious script and release-npm-packages.sh
* ci(drone): bump grabpl to v2.9.31
2022-04-06 10:48:00 +02:00
Dimitris Sotirakis
bd386df617
CI: Run publishing steps only on OSS repo for main/version branches ( #47315 )
...
* Convert steps to run on OSS repo only
* Exclude versioned branches from publishing artifacts
* Change trigger -> when
* Add trigger to upload_* steps
* Add conditions to remaining steps
* Exclude release steps
* Bring back exclusion for release builds
2022-04-06 10:46:05 +03:00
Dimitris Sotirakis
305530224a
Run slack notify on OSS repo only ( #47194 )
2022-04-01 14:20:26 +02:00
Dimitris Sotirakis
ee92af8ebe
Add dependencies ( #47126 )
2022-03-31 15:04:05 +03:00
Dimitris Sotirakis
65b0bd3017
CI: Update grabpl
version - remove --no-pull-enterprise
flag ( #47013 )
...
* Update grabpl version
* Sign drone
* Remove --no-pull-enterprise flag
* Sign drone
* Update grabpl
2022-03-31 11:06:59 +03:00
malcolmholmes
562397ff8b
Build: only build on OSS for main/version ( #46079 )
...
* Only do main/version builds on OSS repo
* Sign drone
Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-03-29 12:57:54 +00:00
Dimitris Sotirakis
0e682397ab
Add GH token when referring to remote - add --quite when running git push ( #46926 )
2022-03-24 15:01:49 +00:00
Dimitris Sotirakis
9bf82c37e3
Fetch tags after cloning ( #46921 )
2022-03-24 11:54:58 +00:00
Dimitris Sotirakis
758ccfb69e
CI: Trigger release build upon drone yaml changes ( #46882 )
...
* Add trigger-test-release step
* Change cd command
* Add failure:ignore
* Add depth when cloning
* Fix wrong secret
2022-03-24 10:59:15 +00:00
Dimitris Sotirakis
85184ee9dc
Update grabpl ( #46639 )
2022-03-16 13:31:20 +00:00
Dimitris Sotirakis
a29159f362
Update golang ( #46458 )
2022-03-11 16:09:17 +01:00
Dimitris Sotirakis
82b436afee
CI: Add more checks to standalone docs pipeline ( #46449 )
...
* Add build frontend package step
* Reorder dependencies
* Add codespell and prettier checks
2022-03-11 16:48:23 +02:00
Jack Westbrook
73ba04cda6
Build: Bump grabpl to 2.9.24 ( #46420 )
2022-03-11 11:05:41 +01:00
renovate[bot]
9fc6ee2535
Update Yarn to v3.2.0 ( #45714 )
...
* Update Yarn to v3.2.0
* Update sdks as well
* Update nodejs to latest
* Updates
* Update grabpl to 2.9.23
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-09 10:10:51 +01:00
Dimitris Sotirakis
b409c9782f
Update grabpl ( #46253 )
2022-03-04 16:31:39 +01:00
Kevin Minehart
0544218bb7
upgrade to 2.9.21 ( #46219 )
2022-03-03 19:00:46 -06:00
Kevin Minehart
593b2846c6
upgrade to 2.9.20 ( #46217 )
2022-03-03 18:09:14 -06:00
Kevin Minehart
085a8fde67
linux-x64 -> linux-amd64 ( #46209 )
2022-03-03 23:53:09 +01:00
Kevin Minehart
09e74c5ec5
upgrade grabpl ( #46192 )
2022-03-03 18:42:29 +00:00
Dimitris Sotirakis
42dd4d687d
CI: Change variants for pr_pipelines
( #46170 )
...
* Change variants for pr_pipelines
* Update grabpl
2022-03-03 16:39:03 +01:00
Dimitris Sotirakis
0012b89826
CI: Rename build variants - bump grabpl version ( #46152 )
...
* Update grabpl
* Change variants for pr_pipelines
2022-03-03 16:31:44 +02:00
Kevin Minehart
1fef87fbcc
upgrade grabpl ( #46127 )
2022-03-03 10:17:05 +02:00
Dimitris Sotirakis
2f6c827f5d
CI: Introduce build-frontend-packages
step ( #45824 )
...
* Split frontend build
* Fix command name
* Update grabpl
2022-03-02 13:02:07 +02:00
sam boyer
60db643983
grafana-cli: Diff generated ts directly instead of relying on git ( #45815 )
...
* Add diffing support to grafana-cli cue gen-ts
* Rely on diff comparison in cuetsify pipeline step
* Ignore *.gen.ts files with eslint
* Chore: Fix lint `sdboyer/cuetsify-compare` (#45818 )
* Sync drone
(cherry picked from commit 40645ab19e39ff9b0a12b7ebb13a4dc4c5e1d472)
* Fix lint
(cherry picked from commit c95ece983984432fea029335b2b729b09d76c7eb)
* Sign drone
Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-02-24 12:03:07 +01:00
renovate[bot]
f4d9de00e9
Update dependency cypress to v9.5.0 ( #44678 )
...
* Update dependency cypress to v9.5.0
* drone: update cypress version
* Update drone.yml
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-02-24 10:32:55 +01:00
Dimitris Sotirakis
2f0dcbbd9d
Update grabpl and build-container version ( #45784 )
2022-02-23 16:14:15 +02:00
Dimitris Sotirakis
ea3e41ea62
CI: Add docs pipeline for main
pipelines ( #45740 )
...
* Add docs pipeline for main
* Extract trigger docs
* Change trigger for main
2022-02-22 18:06:14 +00:00
Dimitris Sotirakis
02640c7436
Docs: Remove dependency between build-frontend
and build-frontend-docs
( #45736 )
...
* Remove dependency
* Add yarn commands
2022-02-22 18:02:36 +02:00
Dimitris Sotirakis
ded53e8e0e
Remove --no-install-deps argument ( #45718 )
2022-02-22 13:22:45 +02:00
Dimitris Sotirakis
3db331402d
DockerHub: Use grafana(-oss)-image-tags
to push to grafana(-oss)-dev
DockerHub repo ( #45708 )
...
* Revert back changes - changes are done on grabpl
* Sync drone
2022-02-22 09:51:31 +01:00
Dimitris Sotirakis
67c1a359d1
Fix dockerhub repo for main ( #45701 )
2022-02-21 22:22:10 +01:00
Dimitris Sotirakis
434697e0fd
CI: Introduce docs pipeline ( #45454 )
...
* Add docs.star
* Fixes in drone yaml
* Add grabpl
* Remove unnecessary steps
(cherry picked from commit f2e03cdb107eb283416885a73051c1ff86eb8b7f)
* Rename docs pipeline
* Exclude docs related steps from PR pipelines
* Add packages/** trigger
* Remove packages exclusion from pr pipelines
2022-02-21 13:55:16 +02:00
Dimitris Sotirakis
a5dc832a86
Update grabpl ( #45614 )
2022-02-18 16:16:05 +01:00
Dimitris Sotirakis
0a8c3f92f6
Update grabpl ( #45591 )
2022-02-18 11:40:51 +01:00
Dimitris Sotirakis
af1691dbfb
Update grabpl ( #45520 )
2022-02-17 14:26:38 +01:00
Dimitris Sotirakis
163b570f5d
CI: Remove manual gcloud
authentication ( #44986 )
...
* Remove manual gcloud auth from store-packages
* Update grabpl
2022-02-15 16:45:37 +02:00
malcolmholmes
9a7438c720
Build: only specify github-token when needed ( #45326 )
2022-02-11 16:01:45 +00:00
malcolmholmes
334ee9c4a7
Build: build enterprise2 with OSS ( #45317 )
...
* Build: build enterprise2 with OSS
2022-02-11 15:38:40 +01:00
Dimitris Sotirakis
5543ad883d
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
2022-02-07 18:30:41 +01:00
Dimitris Sotirakis
67225d9cfc
Update upload-cdn command args ( #44966 )
2022-02-07 10:56:05 +01:00
Dimitris Sotirakis
f96a6c10c5
CI: Update GCP_GRAFANA_UPLOAD_KEY
var name ( #44303 )
...
* Update GCP_KEY var name
* Rename GCP_GRAFANA_UPLOAD_KEY for upload-packages
* Update grabpl
2022-02-07 10:11:27 +01:00
Dimitris Sotirakis
5f16e4cedc
Rename build-e2e-publish pipelines ( #44836 )
2022-02-03 14:23:50 +00:00
Dimitris Sotirakis
7bb5a5b318
CI: Make e2e tests depend on binary builds ( #44647 )
...
* Make e2e test depend on binary builds
* Search for binary in the correct folders
* Remove package file var
* Add ARCH var
2022-02-02 12:40:22 +02:00
Dimitris Sotirakis
ef35cb5318
Update grabpl version ( #44410 )
2022-01-25 09:40:26 +01:00
renovate[bot]
9371690645
Update dependency cypress to v9.3.1 ( #44206 )
...
* Update dependency cypress to v9.3.1
* Upgrade cypress image
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-01-21 11:34:36 +01:00
Dimitris Sotirakis
22eb2df602
E2E: Rename end-to-end-tests-server
to grafana-server
( #44249 )
...
* Rename to grafana-server / move scripts into new directory
* Change grafana-server step command
* Change scripts paths
* Use test grabpl version
* Update run-suite script
* Further name updates
* Update grabpl version
* Update contribute/style-guides/e2e-core.md
Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com>
Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com>
2022-01-20 17:01:00 +00:00
Dimitris Sotirakis
27fbe82bf1
Remove test-release pipelines ( #44220 )
2022-01-19 16:42:40 +00:00
Dimitris Sotirakis
46280848d8
CI: Release automation fixes ( #44200 )
...
* Change bucket
(cherry picked from commit f7b85c5dd9
)
* Make publish-packages depend on publish-artifacts pipeline
(cherry picked from commit 1c91e84f17
)
* Change bucket for windows .msi installers
(cherry picked from commit 5ce49e48df
)
2022-01-19 15:12:57 +02:00
Dimitris Sotirakis
118cc0d735
Replace docker-puppeteer with the one in grafana dockerhub repo ( #44145 )
2022-01-18 12:23:21 +01:00
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