Horst Gutmann
63ed5dd01a
[v9.5.x] Chore: Upgrade Alpine base image to 3.18.3 ( #74995 )
...
Chore: Upgrade Alpine base image to 3.18.3 (#74984 )
(cherry picked from commit 85abf2bebd )
2023-09-18 13:24:16 +03:00
Horst Gutmann
5fd5af12d5
[v9.5.x] Chore: Upgrade Go to 1.20.8 ( #74982 )
...
Chore: Upgrade Go to 1.20.8 (#74978 )
chore: Update to Go 1.20.8
(cherry picked from commit 39dbd98458 )
2023-09-18 12:17:43 +03:00
Dimitris Sotirakis
45ea90a251
[v9.5.x] Chore: Remove unused secret enterprise2-cdn-path - Nightlies: Push windows artifacts to GCS on main builds ( #74791 )
...
* Nightlies: Push windows artifacts to GCS on main builds (#74709 )
* Push windows artifacts to gcs
* Lint starlark
* Sign drone
(cherry picked from commit 02f617a20d )
# Conflicts:
# .drone.yml
* Chore: Remove unused secret `enterprise2-cdn-path` (#74741 )
Remove unused secret
# Conflicts:
# .drone.yml
(cherry picked from commit 49165d35ad )
# Conflicts:
# .drone.yml
2023-09-13 11:31:21 +03:00
Dimitris Sotirakis
25a403cf78
[v9.5.x] Nightlies: Bring back windows installers for main builds ( #74706 )
...
Bring back windows installers for main builds (#74698 )
(cherry picked from commit 36728dd671 )
# Conflicts:
# .drone.yml
2023-09-12 12:00:29 +03:00
Julien Duchesne
ca1ad7fc53
[v9.5.x] CI: Get Github Token and Docker username/password from Vault ( #74569 )
...
CI: Get Github Token and Docker username/password from Vault (#74555 )
CI: Get Docker username/password from Vault
Not Drone secrets
(cherry picked from commit 566215c22c )
2023-09-08 08:31:54 +03:00
Guilherme Caulada
6d864e705e
[v9.5.x] CI: Use new release eng managed grafanacom api key ( #74033 )
...
CI: Use new release eng managed grafanacom api key (#74017 )
Use new release eng managed grafanacom api key
(cherry picked from commit ab7e655737 )
2023-08-31 17:25:00 +03:00
Dimitris Sotirakis
5ae435971f
[v9.5.x] CI: Mount /root/.docker/ dir in authenticate-gcr step ( #74077 )
...
CI: Mount /root/.docker/ dir in authenticate-gcr step (#73977 )
Mount /root/.docker/ dir
(cherry picked from commit eea4adea29 )
# Conflicts:
# .drone.yml
2023-08-30 12:21:52 +03:00
Dimitris Sotirakis
c811eb747d
[v9.5.x] Security: Authenticate to GCR for trivy scans ( #73925 )
...
Security: Authenticate to GCR for trivy scans (#72658 )
* Authenticate to GCR for trivy scans
# Conflicts:
# .drone.yml
* verify-starlark
* Change secret
# Conflicts:
# .drone.yml
(cherry picked from commit e100fc927e )
# Conflicts:
# .drone.yml
# scripts/drone/vault.star
2023-08-28 15:56:49 +03:00
Dimitris Sotirakis
8154f070c8
[v9.5.x] CI: Update secrets for publishing steps ( #73662 )
...
CI: Update secrets for publishing steps (#73658 )
Update secrets
(cherry picked from commit de118a3736 )
# Conflicts:
# .drone.yml
2023-08-23 11:39:04 +03:00
Horst Gutmann
9a6be573ec
[v9.5.x] CI: Different secret for verification and do not ignore build failures ( #73617 )
...
CI: Different secret for verification and do not ignore build failures (#73613 )
(cherry picked from commit 8fc3be6b5a )
2023-08-22 16:32:52 +03:00
Horst Gutmann
47b1e21580
[v9.5.x] CI: Move npm token to Vault ( #73409 )
...
CI: Move npm token to Vault (#73407 )
(cherry picked from commit c86a73c794 )
2023-08-17 18:10:39 +03:00
Dimitris Sotirakis
8fdb609c86
[v9.5.x] CI: Update grabpl to v3.0.41 ( #73373 ) ( #73377 )
...
CI: Update `grabpl` to `v3.0.41` (#73373 )
Update grabpl
(cherry picked from commit 3463dc8e48 )
# Conflicts:
# .drone.yml
2023-08-17 13:11:15 +03:00
Christopher Moyer
82e675e20a
[Docs v9.5.x] Manual backport - Docs/k8s install update ( #72567 ) ( #72832 )
...
* Docs/k8s install update (#72567 )
* added before you begin section
* just syncing up
* added namespace and yaml mainfest sections
* started the managed k8s section
* added external-ip section
* added minikube instructions
* added deployment rollout section
* added rolling update section
* added rollback stratgety section
* added the logging section
* fixed many typos
* Update docs/sources/setup-grafana/installation/kubernetes/index.md
* Update docs/sources/setup-grafana/installation/kubernetes/index.md
* Update docs/sources/setup-grafana/installation/kubernetes/index.md
* Update docs/sources/setup-grafana/installation/kubernetes/index.md
* Update docs/sources/setup-grafana/installation/kubernetes/index.md
* adjust codeblock spacing
* adjusts steps
* copy edit throughout
* Apply suggestions from code review
* more copy edit, updates links
* fixed minor typos
* Apply suggestions from code review
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com >
* Apply suggestions from code review
* Apply suggestions from code review
* explained the dry-run example
* Move .codespellignore out of Drone so that technical writers can modify it
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Fix spelling errors
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Add .codespellignore CODEOWNER
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
Co-authored-by: Chris Moyer <chris.moyer@grafana.com >
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
(cherry picked from commit b1fd399c10 )
* Ensure changes are correct for this branch
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Usman Ahmad <usman.ahmad@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2023-08-04 13:07:01 -05:00
Guilherme Caulada
817613f52e
[v9.5.x] CI: Update secret refs to vault ones; update downstream repo origin ( #72548 )
...
CI: Update secret refs to vault ones; update downstream repo origin (#72515 )
Update secret refs to vault ones; update downstream repo origin
(cherry picked from commit 6669d0a704 )
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2023-07-28 16:00:26 -03:00
Kevin Minehart
bd5728df22
[v9.5.x] CI: Make RGM the main pipeline for prerelease ( #72531 )
...
* CI: Make RGM the main pipeline for prerelease (#72295 )
* Make RGM the main pipeline for prerelease
* Use grafana/grafana-build:dev-bd41660
* Use grafana/grafana-build:dev-fda506a
* Fix destination url
* Update vault secrets
* Move bucket path to environment
* Use grafana/grafana-build:dev-2f36afa
* Revert to grafana/grafana-build:main
* Add repo to rgm_main trigger
(cherry picked from commit 971f5f14be )
* make drone
---------
Co-authored-by: Guilherme Caulada <guilherme.caulada@grafana.com >
2023-07-28 19:29:18 +03:00
Kevin Minehart
558956f3d8
[v9.5.x] CI: use base64 key in windows installer build step ( #72453 )
...
CI: use base64 key in windows installer build step (#72413 )
use base64 key
(cherry picked from commit b019ef9a89 )
2023-07-27 16:52:28 +03:00
Dimitris Sotirakis
d38393f32d
[v9.5.x] CI: Fix deb/rpm bug for linux package publishing ( #72423 )
...
CI: Fix `deb/rpm` bug for linux package publishing (#72336 )
Fix deb/rpm
(cherry picked from commit c3ebd388e3 )
(cherry picked from commit 4c9bdef98dcfb24d8d24dac8117c9d3feb921a06)
# Conflicts:
# .drone.yml
(cherry picked from commit e3ec53b418 )
# Conflicts:
# .drone.yml
2023-07-27 09:56:49 +03:00
Kevin Minehart
1ad544b293
[v9.5.x] CI: use the base64 key in the windows installer steps ( #72381 )
...
CI: use the base64 key in the windows installer steps (#72372 )
use the base64 key in the windows installer steps
(cherry picked from commit 0c2b2219bb )
2023-07-26 12:04:11 -03:00
Guilherme Caulada
be375d3946
[v9.5.x] CI: Fix verify-prerelease-assets pipeline ( #72231 )
...
CI: Fix verify-prerelease-assets pipeline (#72226 )
* Fix verify-prerelease-assets pipeline
* Comment out unused assets
(cherry picked from commit 142cbc2ec6 )
2023-07-25 00:57:44 +03:00
Kevin Minehart
a7302e7cc4
[v9.5.x] CI: Run only Grafana builds on RGM for grafana/grafana ( #72160 )
...
* CI: Try setting the vault secret for 'grafana_api_key' (#71981 )
* Try setting the vault secret
* Maybe?
* forgot .drone.yml
* CI: Use GCP keys in vault and not drone secrets (#72023 )
* CI: Run only Grafana builds on RGM for grafana/grafana (#72144 )
* Run only OSS builds on RGM for grafana/grafana
* Update script name
* Ignore windows step failure for RGM
---------
Co-authored-by: Guilherme Caulada <guilherme.caulada@grafana.com >
2023-07-21 18:27:50 -03:00
Guilherme Caulada
2ccd7acb9b
[v9.5.x] CI: Allow RGM to create msi for multiple editions ( #71893 )
...
CI: Allow RGM to create msi for multiple editions (#71883 )
* Allow RGM to create msi for multiple editions
* Remove suffix from build-windows-installer step
* Invert exit code on verify_release_pipeline
(cherry picked from commit 4c80bcf35f )
2023-07-19 13:35:19 -03:00
Guilherme Caulada
994d78334a
[v9.5.x] CI: Add rgm compatible windows msi pipeline ( #71868 )
...
CI: Add rgm compatible windows msi pipeline (#71678 )
* Add rgm compatible windows msi pipeline
* Fix dependencies and platform
* Fix missing arg comment
* Fix linting issues
* Try to fix version on file path
* Fix dependency on verify release pipeline
(cherry picked from commit 4caa773401 )
2023-07-18 14:19:07 -03:00
Guilherme Caulada
c47c8ddf14
[v9.5.x] CI: Removes enterprise specific pipelines and steps ( #71780 )
...
[WIP] CI: Removes enterprise specific pipelines and steps (#70815 )
* Removes enterprise specific pipelines and steps (#123 )
* Comment out enterprise related pipelines and steps
* Suppress unused variable warning
* Removes all edition arguments
* Remove leftover comments
* Remove redundant oss on pipelines and steps names
* Remove leftover unused variable
* Remove leftovers
* Remove pipeline dependencies
* Rename pipelines
* Fix starlark
---------
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com >
(cherry picked from commit 642a81ba75e79138246797302aba5c35575f030d)
* Add editions for static assets
(cherry picked from commit b13939b9af )
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com >
2023-07-18 12:24:27 -03:00
Dimitris Sotirakis
b669afdfda
[v9.5.x] CI: Fix broken env vars in publish-artifacts step ( #71646 )
...
CI: Fix broken env vars in publish-artifacts step (#71471 )
Fix env vars
(cherry picked from commit 64d2ff03c80c807c03390f63ba1834c5605fc96d)
# Conflicts:
# .drone.yml
(cherry picked from commit fd90737884 )
# Conflicts:
# .drone.yml
2023-07-14 09:03:53 -03:00
Emil Tullstedt
b51a8063c1
[v9.5.x] Chore: Upgrade Go to 1.20.6 ( #71446 )
...
Chore: Upgrade Go to 1.20.6
2023-07-12 15:34:05 +02:00
Emil Tullstedt
a77d02177a
[v9.5.x] CI: Provide a Drone promotion to build the build-container ( #71351 )
...
CI: Provide a Drone promotion to build the build-container (#71133 )
(cherry picked from commit 7a9847e196 )
2023-07-11 14:04:05 +02:00
Kevin Minehart
2755a139e9
[v9.5.x] CI: Add GPG keys to rgm, don't clone RGM just use the docker image ( #71233 )
...
* 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 >
(cherry picked from commit 768efe9748 )
* Add dagger token to rgm builds (#68651 )
(cherry picked from commit a870b227db )
* CI: Add GPG keys to rgm, don't clone RGM just use the docker image (#71143 )
(cherry picked from commit d5a4c81fa1 )
2023-07-07 20:39:46 +03:00
Dimitris Sotirakis
16eeaeb5ff
[v9.5.x] CI: Cleanup - Remove security related steps ( #70794 )
...
CI: Cleanup - Remove security related steps (#70788 )
* Remove security related steps
* More cleanup
(cherry picked from commit 7f55ba9c6e )
2023-06-28 11:43:11 +03:00
Jack Baldry
47a125529b
[v9.5.x] Use docs/reference for flexible linking for content reused in Grafana Cloud ( #70269 )
...
Use docs/reference for flexible linking for content reused in Grafana Cloud (#70253 )
* Use docs/reference for flexible linking for content reused in Grafana Cloud
Documented in https://github.com/grafana/website/pull/13878
* Use docs-base image that has docs/reference shortcode
---------
(cherry picked from commit 3d15d54a71 )
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2023-06-16 18:34:38 +01:00
Dimitris Sotirakis
ab715a035f
[v9.5.x] CI: Update grabpl to v3.0.39 ( #70135 )
...
CI: Update `grabpl` to `v3.0.39` (#70126 )
Update grabpl to v3.0.39
(cherry picked from commit b1e219e72c )
# Conflicts:
# .drone.yml
2023-06-15 13:11:35 +03:00
Dimitris Sotirakis
afd6dc96c9
[v9.5.x] CI: Add CI check for what's new link ( #70046 ) ( #70122 )
...
CI: Add CI check for `what's new` link (#70046 )
* Add whatsnewchecker
* Add whatsnewchecker_test
* Small fixes
* Add step in CI
* Fix lint
* Fix starlark
* t.Cleanup instead of separate func
* Skip check for test tags
(cherry picked from commit 91272ee4f9 )
# Conflicts:
# .drone.yml
# scripts/drone/events/release.star
2023-06-15 09:44:41 +03:00
Dimitris Sotirakis
0882b84c27
[v9.5.x] Security Scans: Exclude windows container scans ( #69977 ) ( #69981 )
...
Security Scans: Exclude windows container scans (#69977 )
* Exclude windows container scans
* Fixes according to reviewer's comments
(cherry picked from commit fa70fba0e3 )
# Conflicts:
# .drone.yml
2023-06-13 10:59:37 +03:00
Dimitris Sotirakis
ff3cceb724
[v9.5.x] Security Scans: Add trivy scans to every docker image used for building/testing/publishing ( #69911 ) ( #69918 )
...
* Security Scans: Add trivy scans to every docker image used for building/testing/publishing (#69911 )
* Created images.star
* Fix typo
* Add cronjobs for build-images
(cherry picked from commit 2cda971796 )
# Conflicts:
# .drone.yml
# scripts/drone/services/services.star
# scripts/drone/steps/lib.star
* Fix rebasing issue
2023-06-12 17:34:16 +03:00
Andreas Christou
e85a6913ab
[v9.5.x] Azure: Fix Kusto auto-completion for Azure datasources ( #69685 ) ( #69694 )
...
Azure: Fix Kusto auto-completion for Azure datasources (#69685 )
* Fix Kusto auto-completion not working in HG
* Add update to script paths
* Update CODEOWNERS
* Missed the ts
(cherry picked from commit a6484c6f81 )
# Conflicts:
# yarn.lock
2023-06-08 11:06:24 +01:00
Ricky Whitaker
25562a0cc1
Backport 69191 to v9.5.x ( #69196 )
...
* fix verify_release_pipeline script execution (#69191 )
* fix verify_release_pipeline script execution
* forgot to run make drone
(cherry picked from commit 68fe1e1cb0 )
* finish resolving merge conflict
* make drone
---------
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2023-05-26 17:32:30 -05:00
Horst Gutmann
ce8732208e
[v9.5.x] CI: Pin the google/cloud-sdk image ( #69039 )
...
[v9.5.x] CI: Pin the google/cloud-sdk image (#69037 )
(cherry picked from commit f22d1d14a0 )
Backport of #69037
2023-05-25 10:25:04 +02:00
Dimitris Sotirakis
676da1c7e9
[v9.5.x] G10: Replace beta with preview references ( #68347 ) ( #68949 )
...
G10: Replace `beta` with `preview` references (#68347 )
* Update references
* Update grabpl to v3.0.38
(cherry picked from commit 7e816d010c )
# Conflicts:
# .drone.yml
2023-05-24 10:40:35 +02:00
Kevin Minehart
3bae8c5cf1
[v9.5.x] CI: Add release verify pipeline ( #68756 ) ( #68933 )
...
CI: Add release verify pipeline (#68756 )
(cherry picked from commit 79f49c9649 )
2023-05-24 00:22:00 +02:00
Dimitris Sotirakis
7d33529218
[v9.5.x] CI: Run trigger-test-release only on PRs against main ( #68794 ) ( #68814 )
...
CI: Run `trigger-test-release` only on PRs against main (#68794 )
Run trigger-test-release only on PRs against main
(cherry picked from commit 623c014cda )
# Conflicts:
# .drone.yml
2023-05-22 15:09:14 +02:00
Dimitris Sotirakis
de0d8c7012
[v9.5.x] Docker images: Don't fail if a PR comes from a fork ( #68765 ) ( #68783 )
...
Docker images: Don't fail if a PR comes from a fork (#68765 )
* Update grabpl
* Allow publish images to fail for PRs
(cherry picked from commit 04e2d9055d )
# Conflicts:
# .drone.yml
2023-05-22 12:11:52 +02:00
Dimitris Sotirakis
896ddabb60
[v9.5.x] G10: Post docker pull commands for local testing ( #67489 ) ( #68685 )
...
* G10: Post `docker pull` commands for local testing (#67489 )
* Add grabpl publish images
Update grabpl - add github pr token
* Replace github_pr_token with gh app
# Conflicts:
# .drone.yml
# scripts/drone/vault.star
# Conflicts:
# .drone.yml
# Conflicts:
# .drone.yml
* Lint starlark
Add forgotten secrets
Lint starlark
Change secrets
* Update grabpl to v3.0.35
* Lint starlark
* Remove unnecessary secrets
(cherry picked from commit 26bacf6d4c )
# Conflicts:
# .drone.yml
* Update grabpl to v3.0.36
2023-05-22 09:48:04 +02:00
Dimitris Sotirakis
7f3371e4d2
[v9.5.x] CI: Add delivery bot secrets to publish images step ( #68467 ) ( #68472 )
...
CI: Add delivery bot secrets to publish images step (#68467 )
Add delivery bot secrets
(cherry picked from commit 55622615de )
# Conflicts:
# .drone.yml
# scripts/drone/vault.star
2023-05-15 18:00:14 +03:00
Horst Gutmann
335c71c92f
[v9.5.x] CI: Update grabpl to 3.0.34 ( #68456 ) ( #68474 )
...
* CI: Port of init-enterprise fix from 9.4.10
* CI: Update grabpl to 3.0.34
(cherry picked from commit 35ccfa6131 )
Backport of https://github.com/grafana/grafana/pull/68456
2023-05-15 17:07:44 +03:00
Dimitris Sotirakis
167b268b81
[v9.5.x] CI: Add .drone.yml in pathschanged trigger for lint_backend pipeline ( #68348 ) ( #68368 )
...
CI: Add `.drone.yml` in pathschanged trigger for `lint_backend` pipeline (#68348 )
Add .drone.yml in pathschanged for lint_backend
(cherry picked from commit b7b13067a5 )
# Conflicts:
# .drone.yml
2023-05-12 13:25:17 +01:00
Horst Gutmann
f1d95b2157
[v9.5.x] CI: Move windows-tests into promotion pipeline ( #68218 ) ( #68231 )
...
(cherry picked from commit acd02e8a48 )
Backport of https://github.com/grafana/grafana/pull/68218
2023-05-10 14:59:50 +00:00
Horst Gutmann
aca84878a2
[v9.5.x] CI: Add Windows backend tests in more places ( #66438 ) ( #68006 )
...
* CI: Add Windows backend tests in more places
* CI: Add promotion pipeline for publishing new windows-test-images
* CI: Ignore windows backend-test failures for now
* CI: Fix linting issue in ci_images.star file
(cherry picked from commit b2fc285a5d )
Backport of https://github.com/grafana/grafana/pull/66438
2023-05-08 17:01:23 +03:00
Sofia Papagiannaki
afa03930ec
[v9.5.x] Chore: Upgrade Go to 1.20.4 ( #67757 )
...
Chore: Upgrade Go to 1.20.4
2023-05-04 10:52:36 +03:00
Emil Tullstedt
ad9dd6a1dd
Chore: Upgrade Go to 1.20.3 ( #66831 )
...
Backport of #66264
2023-04-19 13:58:57 +02:00
Dimitris Sotirakis
fe530beebd
[v9.5.x] CI: Split /bin/build artifacts * subcommand ( #66005 ) ( #66345 )
...
CI: Split `/bin/build artifacts *` subcommand (#66005 )
* Split go files
* Modify publishartifacts.go
* Split main
* FIXME: Temp add GCSCopy to gcloud/storage
* Fix lint
* Exported flags
* Update starlark - make drone
* Further backend lint fixes
* Add fallback_test.go
* Fix go imports order
* make drone
* Remove GCSCopy from static assets
* Remove GCSCopy from storybook
* Fix lint
* Remove GCSCopy
* Remove success logline
* drone yaml cleanup
* Add artifacts-editions flag
* Fix starlark
* Add default sting slice in artifacts packages command
(cherry picked from commit 24d348f804 )
# Conflicts:
# .drone.yml
2023-04-12 12:24:34 +03:00
Dimitris Sotirakis
a18ea77aac
CI: Exclude cloud related tags from tag events ( #65806 )
...
* Exclude cloud related tags
* Fix starlark lint errors
2023-04-03 16:22:20 +03:00