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
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
Horst Gutmann
e9aef20eb4
CI: Move release integration pipeline to standalone promotion pipeline ( #65787 )
2023-04-03 12:43:37 +02:00
Dimitris Sotirakis
89d642e001
CI: Cleanup unnecessary grabpl dependencies ( #65330 )
...
* Remove unnecessary grabpl dependencies
* Revert test-frontend change
2023-03-27 12:55:45 +02: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
d0be9610f0
CD: Remove fetch-images dependency from AWS marketplace automation ( #65173 )
...
* Remove fetch-images dependency
* Fix starlark link
2023-03-22 17:35:57 +02: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
Ashley Harrison
0c0d63b830
Build: enable caching in eslint plugin ( #64325 )
...
enable caching in eslint plugin
2023-03-07 14:53:50 +00: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
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
470be140dc
CI: Do not clone repo in artifact-page step ( #63077 )
2023-02-08 11:57:33 +01: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
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