Commit Graph
100 Commits
Author SHA1 Message Date
Kevin Minehart 90970d5f58 CI: In promotions, set the --go-version when building Grafana packages (#87912)
* Specify drone-version when building in promotions

* Specify drone-version when building in promotions
2024-05-15 16:10:06 +03:00
Kevin Minehart cf6bed7ae5 Trigger downstream from grafana and not the mirror (#84381) 2024-03-13 12:21:08 -05:00
Kevin Minehart 68345b9596 CI: Add dagger cloud token to PR steps for caching (#81817)
* Add dagger cloud token to steps for caching

* lint
2024-02-02 12:59:48 -06:00
Kevin Minehart 95a9074ad4 CI: Make --grafana-repo configurable via GRAFANA_REPO (#80378)
Make --grafana-repo configurable via GRAFANA_REPO
2024-01-11 17:53:02 +02:00
Kevin Minehart 9501000856 CI: add rgm promotion pipeline (#80296)
* add package upload promotion pipeline
2024-01-11 09:22:14 -06:00
Kevin Minehart 0189908798 CI: Sign drone yaml (#77512)
Sign drone yaml
2023-11-01 18:51:44 +02:00
Kevin Minehart f6d3238505 CI: Fix race condition when building docker on main (#77504)
* build docker after packages are updated

* use my branch for main pipelines for testing

* use my branch for main pipelines for testing

* use main instead now

* formatting
2023-11-01 18:25:49 +02:00
Kevin Minehart 8a5d4c4c6e CI: Update RGM steps to use the artifacts command (#77470)
* update rgm steps to use artifacts subcmd

* format-drone

* make drone
2023-10-31 22:52:09 +02:00
Kevin Minehart a94dcc40ff Chore: update latest.json to 10.1.4 (#75773) 2023-09-29 23:19:16 +03:00
Kevin Minehart edc36d3948 CI: check /tmp/grafana-enterprise; don't fail if rev-parse fails (#75480)
check /tmp/grafana-enterprise; don't fail if rev-parse fails
2023-09-26 20:09:18 +03:00
Kevin Minehart f46b78ec38 CI: Remove pre from npm canary packages (#75376)
Remove pre from npm canary packages
2023-09-25 18:01:17 +03:00
Kevin Minehart 49ff1b9060 CI: Fix bump version step (#75047)
needs brackets
2023-09-19 01:37:32 +03:00
Kevin Minehart c7ef496750 CI: Add a step on main pipelines to temporarily update the package.json v… (#75018)
* Add a step on main pipelines to temporarily update the package.json version to include the build number
2023-09-18 18:53:42 -03:00
Kevin Minehart 1ee485ac43 CI: Fix npm canary release (#74915)
Install bash on this step
2023-09-14 16:59:34 +03:00
Kevin MinehartandAshley Harrison 84d35e9f0b CI: Fix frontend-metrics-step (attempt #1) (#74838)
* use grafana/public instead

* parameterise script (still need to fix + run drone locally)

* make drone

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-09-14 14:48:31 +01:00
Kevin Minehart ad13663e74 CI: Don't run tag builds in grafana/grafana (#74850)
* Don't run tag builds in grafana/grafana

* remove unused code
2023-09-13 10:49:20 -05:00
Kevin Minehart 69737cba6d CI: Fixes for various main steps (#74768)
Fixes for various main steps
2023-09-13 00:44:33 +03:00
Kevin Minehart 3d50a6c87f CI fix docker image format in PRs (#74766)
* fix docker image format
2023-09-12 22:02:32 +03:00
Kevin Minehart d2154387d8 This moves the ubuntu:22.10 image to 22.04 (which is available until… (#74757)
This moves the ubuntu:22.10 image to 22.04 (which is avaailable until april 2027)
2023-09-12 20:59:02 +03:00
Kevin Minehart 9221822dfe CI: fix docker tag format on main branch and missing dependency on ci-frontend-metrics.sh (#74753)
* On main, set the docker tag format to be the same as it is in PRs

* Install bash when trying to push frontend metrics
2023-09-12 19:05:02 +03:00
Kevin Minehart 915f198ecb Refactor starlark to remove references to the build_image (#74624)
* Refactor starlark to remove references to the build_image
2023-09-12 12:19:06 -03:00
Kevin Minehart 8d07a16617 Add missing .drone.yml signature (#74274) 2023-09-01 16:41:33 +03:00
Kevin Minehart 364ca3daa0 Docker: Add musl as a ubuntu dependency (#74127)
Add musl as a ubuntu dependency
2023-08-30 20:26:35 +03:00
Kevin Minehart ebeb7dcb83 Update "What's new" URL (#73722)
Update package.json
2023-08-23 18:55:51 -03:00
Kevin Minehart 1b93f3c0ab CI: Update PR patch check workflow (#72770)
* Update PR patch check workflow

* trigger ci

* trigger ci
2023-08-02 16:20:43 -05:00
Kevin Minehart 6669d0a704 CI: Update secret refs to vault ones; update downstream repo origin (#72515)
Update secret refs to vault ones; update downstream repo origin
2023-07-28 20:36:31 +03:00
Kevin Minehart b019ef9a89 CI: use base64 key in windows installer build step (#72413)
use base64 key
2023-07-27 09:31:35 +03:00
Kevin Minehart 0c2b2219bb CI: use the base64 key in the windows installer steps (#72372)
use the base64 key in the windows installer steps
2023-07-26 16:59:25 +03:00
Kevin Minehart c3d6f795ea Only trigger downstream builds on Grafana (#72356) 2023-07-26 15:26:58 +02:00
Kevin Minehart 16e2808b43 CI: Use GCP keys in vault and not drone secrets (#72023) 2023-07-21 08:53:57 -05:00
Kevin Minehart 9cf309288b CI: Try setting the vault secret for 'grafana_api_key' (#71981)
* Try setting the vault secret

* Maybe?

* forgot .drone.yml
2023-07-19 23:40:03 +03:00
Kevin Minehart 6d6cd2011e CI: Only run main pipeliens on Grafana (#71949)
Only run main pipeliens on Grafana
2023-07-19 14:03:07 +00:00
Kevin Minehart 3afc20fae9 CI: Update and rename pr-patch-mirror-and-apply.yml to sync-mirror.yml (#71608)
* CI: Update and rename pr-patch-mirror-and-apply.yml to sync-mirror.yml

* update CODEOWNERS
2023-07-13 19:15:07 -03:00
Kevin Minehart 428f63518a CI: Rename the patch GHA workflows (#71470)
* Rename the patch workflows

* Update codeowners
2023-07-12 18:11:20 +03:00
Kevin Minehart d5a4c81fa1 CI: Add GPG keys to rgm, don't clone RGM just use the docker image (#71143)
* Add GPG keys to rgm, dont' clone RGM just use the docker image

* remove the cd command

* forgot to make drone :(

* idk

* reference script more specifically

* i guess we'll just cd /src

* Only show not found artifacts
2023-07-07 16:42:40 +03:00
Kevin Minehart 8ff2d96bf0 Chore: update latest.json to 10.0.1 (#70550) 2023-06-22 16:44:43 -03:00
Kevin Minehart 80c8701e80 CI: Update RGM and verification pipelines to support prerelease / rc names. (#69971)
* Install bash in RGM and support prerelease names for dev/rpms which use a tilde
2023-06-13 16:40:07 +03:00
Kevin Minehart 79f49c9649 CI: Add release verify pipeline (#68756) 2023-05-23 10:01:09 +02:00
Kevin Minehart a870b227db Add dagger token to rgm builds (#68651) 2023-05-17 20:19:53 +03:00
Kevin Minehart aca0e2f1b0 Update latest.json (#68273) 2023-05-10 17:07:49 -05:00
Kevin Minehart 80543a0bfa CI: set RGM deps on main merge not on tag (#67778)
set deps on main merge not on tag
2023-05-03 22:08:01 +03:00
Kevin MinehartandRicky Whitaker 768efe9748 CI: Add rgm to drone (#66991)
* add drone stub that build grafana using 'grafana/build' (dagger)

---------

Co-authored-by: Ricky Whitaker <ricky.whitaker@grafana.com>
2023-05-03 13:56:02 -05:00
Kevin Minehart 3fc796dfe6 Docs: Update references of grafana-cli to grafana cli and grafana-server to grafana server. (#66981)
* Update grafana-cli to grafana cli in relevant docs/sources

* Update relevant docs to use 'grafana server' instead of 'grafana-server'
2023-04-26 20:18:03 +02:00
Kevin Minehart 405bda7e99 Packaging: Added deprecation warnings when running grafana-cli or grafana-server; the grafana command should be used instead. (#66976)
* Add grafana-cli and grafana-server deprecation warnings

* remove extra :
2023-04-20 19:51:50 +02:00
Kevin Minehart dfee4249e8 Packaging: Dockerfile copy local folder (#64766)
Dockerfile copy local folder
2023-03-14 14:44:11 -05:00
Kevin Minehart ba6500576b CI: include ver_mode arg in the integration_test_pipeline in main. (#62723)
include ver_mode arg in PRs
2023-02-01 15:27:57 -05:00
Kevin Minehart 3cbaa58b1b CI: Replace enterprise check (#62359)
* Add steps in the pipeline for cloning enterprise when running PR tests.
* Removed enterprise-check from the github action workflows, and removed it from the codeowners file.
2023-02-01 16:55:49 +00:00
Kevin Minehart dc00f6dbe3 CI: add log for branch deletion (#60647)
* add log for branch deletion
* return an err when branch deletion fails
2022-12-21 19:27:49 +00:00
Kevin MinehartandDave Henderson 69ffce4c42 CI: add a quick test, set enterprise2 when the enterprise2 flag is added (#59967)
* add a quick test, set enterprise2 when the enterprise2 flag is added

Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
2022-12-07 13:52:16 -05:00
Kevin Minehart 76a586195a Packaging: Use rpm-digest sha256 when creating rpm packages (#59510)
* Use rpm-digest sha256 when creating rpm packages

* only append this argument with rpm builds
2022-11-30 09:35:02 -06:00
Kevin Minehart a77d95807c Store: skip flaky test in the store service (#59443)
skip flaky test
2022-11-29 17:54:20 +00:00
Kevin Minehart 5995824f0c CI: Use the git event payload rather than github context to populate the source SHA in the enterprise downstream test (#59435)
* test

* I guess the pull_request event doesn't include the 'sha' item
2022-11-28 20:49:20 +01:00
Kevin Minehart 560b595ef2 CI: change regex to accomodate new branching stategy in enterprise (#59429)
change regex to accomodate new branching stategy in enterprise
2022-11-28 13:09:10 -05:00
Kevin Minehart b3b7cba0fe CI: add source_sha option to enterprise-pr-check action (#59314)
* add source_sha option to enterprise-pr-check action

* Add git hash to enterprise check branch
2022-11-28 09:44:23 -06:00
Kevin Minehart 45c759eb59 CI: Make the downstream enterprise test a check instead of comments (#59071) 2022-11-24 08:17:12 -06:00
Kevin Minehart fd16cad7da Only provide version ot build-frontend-packages if it's a valid semver (has 2 digits) (#57808) 2022-10-28 05:04:59 -04: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
Kevin Minehart c69a37f8c2 CI: grabpl verify-drone -> ./bin/build verify-drone (#55171)
* move grabpl verify-drone
2022-09-14 09:07:09 -05:00
Kevin Minehart ed5d617cb9 CI: move grabpl verify-drone (#55057)
* move grabpl verify-drone
2022-09-14 08:59:18 +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
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
Kevin Minehart 95ec3e8c09 Chore: update latest.json to 9.1.1 (#54108) 2022-08-24 08:34:41 +01: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
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
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
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
Kevin Minehart 61101056b6 upgrade grabpl (#49534) 2022-05-24 13:18:05 -05: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
Kevin Minehart 1fef87fbcc upgrade grabpl (#46127) 2022-03-03 10:17:05 +02:00
Kevin Minehart cbf96e6a8b remove flaky cloudwatch test (#45800)
* remove flaky cloudwatch test

* remove unused code that was only in flaking test

* okay i guess they're both flaky

* Skip flaking templating-dashboard-links-and-variables test
2022-02-23 13:59:53 -06:00
Kevin Minehart 69c403ed7d add .nvmrc (#44665) 2022-01-31 10:48:21 -06:00
Kevin Minehart 4c969081bc fix the root Dockerfile and add additional .dockerignore rules (#41006)
* fix the root Dockerfile and add additional .dockerignore rules

* Update go.mod/go.sum and ubuntu dockerfile
2021-10-28 09:41:10 -05:00
Kevin Minehart 641a18b92e upgrade ncurses in docker image (#41002) 2021-10-27 18:03:09 +02:00
Kevin Minehart ca4b35e596 Packaging: remove private users setting in systemd unit files (#40815)
* Remove privateusers=true from grafana-server.service
2021-10-22 16:19:55 +02:00
Kevin Minehart 7e05536a22 update dockerfile (#40699) 2021-10-20 17:04:45 +03:00
Kevin Minehart 9c2d70ce0f Packaging: Dependency updates (#40534)
* update loki

* install openssl from alpine's edge repository

* extracttraceid moved to tracing package

* remove exit if warning limit is exceeded

* disable flaky libraryelements test
2021-10-18 19:50:10 +02:00
23bee50474 Prometheus: Fix issue where TCP connections not being reused when querying from Grafana alerting (#40349)
Fixes #40366

Co-authored-by: Dave Henderson <dave.henderson@grafana.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-10-13 10:22:26 +02:00
Kevin Minehart fe5e49476b Packaging: Remove ProcSubset option in systemd (#40339)
* update rpm service file

* Update grafana-server.service
2021-10-12 11:18:49 -05:00
Kevin Minehart cdea812cee remove systemcallfilters sections from systemd unit files (#40176) 2021-10-08 15:50:59 +02:00
Kevin Minehartandachatterjee-grafana c8651c46d0 Packaging: document systemd net bind capability rpm and deb installations (#40165)
* add systemd net bind capability docs for rpm and deb

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-10-07 22:56:42 +02:00
Kevin Minehart 792fa63725 set opts.version after getting version from package.json (#39038) 2021-09-09 15:40:08 +02:00
Kevin Minehart d913e46e37 Chore: move build command to importable package (#38726)
* move build command to importable package & clean up
2021-09-03 11:24:21 -05:00
Kevin Minehart 1ced2bc6df move main.go logic out of commands (#38555)
* move main.go logic out of commands
2021-08-26 15:42:22 +02:00
Kevin MinehartandMalcolm Holmes 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
Kevin Minehart ec45afa6b0 include URL arguments in dashboard resource request (#36526)
* include URL arguments in dashboard resource request
2021-07-07 21:42:49 +02:00
Kevin Minehart 92cb503486 use absolute path when getting grafana path; add test for directory (#36001) 2021-07-06 11:28:02 -05:00
Kevin Minehartandachatterjee-grafana 0a28304d2a Caching: document memory limit settings (#35189)
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-06-04 09:54:41 -05:00
Kevin Minehart 3aba08f708 hide caching settings when its disabled (#34756) 2021-05-26 12:27:28 -05:00
Kevin MinehartandAlex Khomenko 27d11e3702 DataSourceSettings: Hide caching settings for non-backend datasources (#34083)
* add  field to plugin meta

* only show cache settings if pluginMeta has "isBackend"

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-05-14 09:50:49 -05:00
Kevin MinehartandUrsula Kallio 43bfa2801c Documentation: Update Grafana Enterprise caching documentation (#33398)
* update caching documentation

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-04-27 11:06:25 -05:00
Kevin Minehart 534614063a add cache config tab to datasource settings (#33036) 2021-04-19 16:18:47 -05:00
Kevin Minehart 82bae892eb add memcached integration test steps in starlark (#32729)
* add memcached integration test steps to starlark

* typo
2021-04-07 08:06:10 -05:00
Kevin Minehart 5c1d4777b2 add redis integration test for enterprise (#32617) 2021-04-06 08:50:54 -05:00
Kevin Minehart 6a97236b7a Update enterprise-configuration.md (#32365) 2021-03-26 15:13:03 -05:00
Kevin Minehart 067bd5e604 add name of query caching feature flag in docs (#32215)
* add name of query caching feature flag in docs

* update caching config link
2021-03-22 15:10:19 +01:00