Jack Baldry
3fa0b675bb
[v10.0.x] Use latest grafana/docs-base image ( #77311 )
...
Use latest grafana/docs-base image (#77299 )
* Use latest grafana/docs-base image
The pinned tag does not support recent shortcodes like `docs/public-preview`.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Always pull the image
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
(cherry picked from commit d8d7a40d13 )
2023-11-27 11:12:38 +02:00
Guilherme Caulada
438200c50d
[v10.0.x] CI: Update CI/CD tooling and pipelines from main ( #76874 )
...
* CI: Update CI/CD tooling and pipelines from main (#76814 )
* CI: Update CI/CD tooling and pipelines from main
* Update Makefile
* Comment out validate_openapi_spec_step
* Update broken frontend tests
* Fix validate-npm-packages regex to work without suffix
* Fix cypress image version
(cherry picked from commit 03ecb1db39 )
* Comment out kindsysreport/codegen/report.go on Makefile
* Remove modfile step, since modowners doesn't exist
* Disable i18n step
2023-10-20 10:04:18 -03:00
Dimitris Sotirakis
5cc13f4ba7
[v10.0.x] CI: Remove 0.0.0-test tag event ( #76668 )
...
CI: Remove `0.0.0-test` tag event (#76662 )
Remove 0.0.0-test tag event
(cherry picked from commit faa22b8f20 )
# Conflicts:
# .drone.yml
# scripts/drone/pipelines/build.star
# scripts/drone/steps/lib.star
2023-10-17 11:16:47 +03:00
Dimitris Sotirakis
d4428f65c8
[v10.0.x] Chore: Remove unused secret enterprise2-cdn-path - Nightlies: Push windows artifacts to GCS on main builds ( #74792 )
...
* Chore: Remove unused secret `enterprise2-cdn-path` (#74741 )
Remove unused secret
# Conflicts:
# .drone.yml
(cherry picked from commit 49165d35ad )
# Conflicts:
# .drone.yml
# scripts/drone/vault.star
* 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
2023-09-13 11:24:47 +03:00
Dimitris Sotirakis
c79ccb1c9e
[v10.0.x] Nightlies: Bring back windows installers for main builds ( #74707 )
...
Bring back windows installers for main builds (#74698 )
(cherry picked from commit 36728dd671 )
# Conflicts:
# .drone.yml
2023-09-12 11:56:18 +03:00
Julien Duchesne
45f1d43a37
[v10.0.x] CI: Get Github Token and Docker username/password from Vault ( #74568 )
...
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:32:18 +03:00
Horst Gutmann
3826d6fe54
[v10.0.x] CI: Move npm token to Vault ( #73456 )
...
CI: Move npm token to Vault (#73407 )
(cherry picked from commit c86a73c794 )
2023-08-18 08:59:34 +03:00
Dimitris Sotirakis
ce40646f56
[v10.0.x] CI: Update grabpl to v3.0.41 ( #73378 )
...
CI: Update `grabpl` to `v3.0.41` (#73373 )
Update grabpl
(cherry picked from commit 3463dc8e48 )
# Conflicts:
# .drone.yml
2023-08-17 13:05:54 +03:00
172abdc95e
[Docs v10.x] Manual backport - Docs/k8s install update ( #72567 ) ( #72946 )
...
* 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:09:09 -05:00
Kevin Minehart
e4d42c84a8
[v10.0.x] CI: use base64 key in windows installer build step ( #72454 )
...
CI: use base64 key in windows installer build step (#72413 )
use base64 key
(cherry picked from commit b019ef9a89 )
2023-07-27 16:26:10 +03:00
Dimitris Sotirakis
0b2178fe9c
[v10.0.x] CI: Fix deb/rpm bug for linux package publishing ( #72425 )
...
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:53:33 +03:00
Kevin Minehart
8ba6bfc6dd
[v10.0.x] CI: use the base64 key in the windows installer steps ( #72382 )
...
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:18 -03:00
Kevin Minehart and Guilherme Caulada
6ec2fdc829
[v10.0.x] CI: Run only Grafana builds on RGM for grafana/grafana ( #72161 )
...
* 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:43 -03:00
Guilherme Caulada
857b275d61
[v10.0.x] CI: Allow RGM to create msi for multiple editions ( #71894 )
...
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:23 -03:00
Guilherme Caulada
f128a9780d
[v10.0.x] CI: Add rgm compatible windows msi pipeline ( #71858 )
...
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 13:51:32 -03:00
Guilherme Caulada and Dimitris Sotirakis
cf45b836ab
[v10.0.x] CI: Removes enterprise specific pipelines and steps ( #71782 )
...
[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 11:21:11 -03:00
Dimitris Sotirakis
ead5e970db
[v10.0.x] CI: Cleanup - Remove security related steps ( #70795 )
...
CI: Cleanup - Remove security related steps (#70788 )
* Remove security related steps
* More cleanup
(cherry picked from commit 7f55ba9c6e )
2023-06-28 11:38:39 +03:00
Dimitris Sotirakis
115766e717
[v10.0.x] CI: Update grabpl to v3.0.39 ( #70136 )
...
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 12:09:17 +02:00
Dimitris Sotirakis
287a3e545e
[v10.0.x] Security Scans: Exclude windows container scans ( #69977 ) ( #69980 )
...
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 11:07:55 +03:00
Dimitris Sotirakis
7297540729
[v10.0.x] Security Scans: Add trivy scans to every docker image used for building/testing/publishing ( #69911 ) ( #69917 )
...
* 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:26:58 +03:00
Horst Gutmann
c774f055d5
[v10.0.x] CI: Pin the google/cloud-sdk image ( #69037 ) ( #69038 )
...
(cherry picked from commit f22d1d14a0 )
Backport of #69037
2023-05-25 10:48:45 +03:00
Dimitris Sotirakis
d73bf1838e
[v10.0.x] G10: Replace beta with preview references ( #68347 ) ( #68950 )
...
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:14:43 +02:00
Dimitris Sotirakis
1a736942ae
[v10.0.x] CI: Run trigger-test-release only on PRs against main ( #68794 ) ( #68815 )
...
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
# Conflicts:
# .drone.yml
2023-05-22 15:08:48 +02:00
Dimitris Sotirakis
d5e62fa348
[v10.0.x] Docker images: Don't fail if a PR comes from a fork ( #68765 ) ( #68784 )
...
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 14:33:05 +02:00
Dimitris Sotirakis
996b4c30c2
[v10.0.x] G10: Post docker pull commands for local testing ( #67489 ) ( #68686 )
...
* 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:47:53 +02:00
Dimitris Sotirakis
d2f74c4942
[v10.0.x] CI: Add delivery bot secrets to publish images step ( #68467 ) ( #68473 )
...
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 16:58:38 +02:00
Horst Gutmann
67ad2032df
[v10.0.x] CI: Update grabpl to 3.0.34 ( #68456 ) ( #68475 )
...
* CI: Port of init-enterprise fix from 9.4.10
* CI: Update grabpl to 3.0.34
(cherry picked from commit 35ccfa6131 )
Backport https://github.com/grafana/grafana/pull/68456
2023-05-15 17:04:11 +03:00
Horst Gutmann
0c44250bcb
[v10.0.x] CI: Move windows-tests into promotion pipeline ( #68218 ) ( #68229 )
...
(cherry picked from commit acd02e8a48 )
Backport of https://github.com/grafana/grafana/pull/68218
2023-05-10 17:32:21 +03:00
Horst Gutmann
8f26909611
[v10.0.x] CI: Add Windows backend tests in more places ( #66438 ) ( #68005 )
...
* 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 )
2023-05-08 16:42:14 +03:00
Sofia Papagiannaki
a219338afd
[v10.0.x] Chore: Upgrade Go to 1.20.4 ( #67752 )
...
Chore: Upgrade Go to 1.20.4
2023-05-04 10:28:07 +03:00
Jack Westbrook
e97befa221
Fix: NPM canary releases ( #66727 )
...
* fix(packages): remove double trailing slash from npmrc credentials
* chore(packages): add new line to storybook config to trigger an npm canary release
2023-04-18 11:02:37 +02:00
Jack Westbrook
efa641040d
Build: Improve NPM publishing ( #65171 )
...
* chore(packages): remove redundant npm scripts for publishing packages
* feat(packages): rewrite npm publishing script to work for manual and ci publishes
* ci(drone): update release-canary-npm-packages step to use new script
* docs(packages): update manual release instructions
* wip(packages): attempt to validate packed npm package
* fix(packages): release-canary-npm-packages should provide canary dist-tag
* ci(packages): clean up npm package validation script
* chore(devenv): add verdaccio config to allow anon publishing for easier dev npm testing
* ci(packages): clean up publishing script
* ci(drone): during build-frontend-packages, pack and validate packed tarballs
* chore(codeowners): update for publish/validate npm packages scripts
* ci(packages): fix esm loop bug matching e2e package
* ci(npm-packages): fix failing regex
* style(lib.star): run make format-drone
* style(npm-packages): shellcheck fixes for validate-npm-packages script
* docs(packages): update readme instructions for publishing locally and manually
* refactor(npm-publish): use drone when to trigger canary releases
* chore(drone): remove redundant trigger_npm_publish var
* chore(npm-publish): remove redundant echo
2023-04-18 10:19:37 +02:00
Serge Zaitsev
391a192310
Chore: Try a different way to run integration tests ( #66653 )
...
* try a different way to run integration tests
* fix formatting
* clean test cache again
* use previous command
* playing around with random commands
* dont run tests in parallel yet
* use parallel option instead of gomaxprocs
* use same package set for redis/memcached; use p=1
2023-04-17 18:33:43 +02:00
Emil Tullstedt
202afb9041
Chore: Upgrade Go to 1.20.3 ( #66264 )
2023-04-14 10:01:14 +02:00
Sofia Papagiannaki
caac9838d8
Build: Fix Redis/Memcached integration tests ( #64298 )
...
* Build: Fix integration cache tests
* Allow REDIS_URL with scheme
* Reduce cache integration tests timeout to 5m
* Apply suggestion from code review
* Run redis/memcached integration tests in OSS pipelines
* Change redis image
2023-04-05 11:55:55 +03:00
Dimitris Sotirakis
821633c796
CI: Make init-enterprise depend on grabpl ( #65797 )
...
Make init-enterprise depend on grabpl
# Conflicts:
# .drone.yml
2023-04-03 14:04:30 +03:00
Dimitris Sotirakis
3b00d2c273
CI: Remove grabpl dependency from publish-packages steps ( #65329 )
...
Remove grabpl dependency from publish packages
2023-03-27 11:03:49 +03:00
Dimitris Sotirakis
4a80233bed
CI: Update grabpl to 3.0.30 ( #65028 )
...
Update grabpl
2023-03-20 11:46:17 +02:00
Horst Gutmann
4b241804b4
CI: Move some build settings ( #64491 )
...
* Move some build settings to Vault
* CI: Remove reference to DOWNSTREAM_REPO as it isn't used
2023-03-09 14:07:42 +01:00
Emil Tullstedt
110b05a0c0
Chore: Upgrade Go to 1.20.1 and Alpine to 3.17 ( #63639 )
2023-02-27 14:50:32 +01:00
Emil Tullstedt
c72d18f5e6
Revert "Chore: Upgrade Go to 1.20.1 and Alpine to 3.17 ( #63506 )" ( #63567 )
...
This reverts commit 747ddf7b33 .
2023-02-22 08:14:26 -05:00
Emil Tullstedt
747ddf7b33
Chore: Upgrade Go to 1.20.1 and Alpine to 3.17 ( #63506 )
2023-02-22 11:53:06 +01:00
Jack Baldry and Ursula Kallio
e2af8aa53b
Create full directory path for testing docs ( #62004 )
...
* Create full directory path for testing docs
The previous command was useless as the old image already had the
/hugo/content/docs/grafana directory. The old image also had the
/hugo/content/docs/grafana/latest directory but the new image does
not.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Modify a documentation file to to trigger docs PR tests
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Sentence case description
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com >
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com >
2023-02-21 13:41:39 +00:00
Dimitris Sotirakis
24c60486f6
Chore: Bump alpine version to 3.17.1 ( #63252 )
...
Bump alpine version to 3.17.1
2023-02-10 14:54:35 +00:00
Horst Gutmann
2804acd264
CI: Running Redis integration tests without grabpl ( #63028 )
...
This restores some changes from
https://github.com/grafana/grafana/pull/61920 that were accidentally
deleted.
2023-02-08 10:02:03 +01:00
Dimitris Sotirakis
e5c48ac945
CI: Remove variants arg from package step ( #62858 )
...
* Remove variants arg from package step
# Conflicts:
# .drone.yml
* Fix starlark lint
* Default to releaseModeConfig.Variants
* Check for empty variants arg
2023-02-06 17:15:42 +02:00
Andreas Christou
d7f7cd1e61
Schema: Initial Azure Monitor query schema ( #62018 )
...
* Initial schema
- Add types based off of current frontend
* Rename and field-level comments
* Update report and regenerate files
* Rename frontend Azure folder
- Doing this for consistency and to ensure code-generation works
- Update betterer results due to file renames
* Remove default and add back enum vals that I deleted
* Set workspace prop as optional
* Replace template variable types
* Connect frontend query types
- Keep properties optional for now to avoid major changes
- Rename AzureMetricResource
- Correctly use ResultFormat
* Add TSVeneer decorator
* Update schema
* Update type
* Update CODEOWNERS
* Fix gen-cue issue
* Fix backend test
* Fix e2e test
* Update code coverage
* Remove references to old Azure Monitor path
* Review
* Regen files
2023-02-03 16:06:54 +00:00
Horst Gutmann
312ea59e6d
CI: Allow other modules to register build sub-commands ( #62741 )
...
* Allow other modules to register build sub-commands
* CI: Fix retries on artifacts-page clone
* Fix linting errors
* Fix golint issues
* Update to grabpl 3.0.21
2023-02-02 11:35:43 +00: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
Jack Baldry
fdb1a47ca2
Use requires_buildifier build tag to avoid needing buildifier locally ( #62597 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2023-01-31 17:43:07 +00:00