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
Kat Yang
f04c673eb8
Chore: Turn validate-modfile failure into blocking drone step ( #72537 )
...
* Chore: Turn validate-modfile failure into blocking drone step
* test to see if removal of dependency owner causes validate-modfile to fail and block pipeline
* revert change
2023-07-28 13:23:54 -04:00
Guilherme Caulada
971f5f14be
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
2023-07-28 09:58:22 -05: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
Dimitris Sotirakis
e3ec53b418
CI: Fix deb/rpm
bug for linux package publishing ( #72336 )
...
Fix deb/rpm
(cherry picked from commit c3ebd388e3
)
(cherry picked from commit 4c9bdef98d
)
# Conflicts:
# .drone.yml
2023-07-26 14:18:00 +03:00
Guilherme Caulada
142cbc2ec6
CI: Fix verify-prerelease-assets pipeline ( #72226 )
...
* Fix verify-prerelease-assets pipeline
* Comment out unused assets
2023-07-24 18:30:02 -03:00
Guilherme Caulada
f005a375db
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
2023-07-21 15:50:06 -05:00
Kevin Minehart
16e2808b43
CI: Use GCP keys in vault and not drone secrets ( #72023 )
2023-07-21 08:53:57 -05:00
Agnès Toulet
ac445a25d5
Kindsys: update generated doc and add check in CI ( #71871 )
...
* clean up docs
* fix Windows path issue
* add verify-gen-cue to doc pipeline
* fix linting error
2023-07-20 11:48:12 +02: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
Guilherme Caulada
4c80bcf35f
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
2023-07-18 17:09:08 -03:00
Guilherme Caulada
4caa773401
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
2023-07-14 17:27:07 -03:00
Dimitris Sotirakis
b13939b9af
[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)
# Conflicts:
# .drone.yml
# scripts/drone/steps/lib.star
# Conflicts:
# .drone.yml
* Add editions for static assets
# Conflicts:
# .drone.yml
# Conflicts:
# .drone.yml
2023-07-14 14:18:09 +03:00
Dimitris Sotirakis
fd90737884
CI: Fix broken env vars in publish-artifacts step ( #71471 )
...
Fix env vars
(cherry picked from commit 64d2ff03c8
)
# Conflicts:
# .drone.yml
2023-07-13 11:12:15 +03:00
Emil Tullstedt
e07fbeef60
Chore: Upgrade Go to 1.20.6 ( #71440 )
2023-07-12 15:32:40 +02:00
Emil Tullstedt
7a9847e196
CI: Provide a Drone promotion to build the build-container ( #71133 )
2023-07-11 13:08:05 +02: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
Sofia Papagiannaki
e82d437e0e
Drone: Enable running go benchmarks on demand ( #70359 )
...
* Add benchmark
* Run pkg/api benchmarks in CI
* Conditionally run benchmarks for provided go packages
* Bypass fork check for promotes
2023-07-07 11:55:01 +03:00
Dimitris Sotirakis
7f55ba9c6e
CI: Cleanup - Remove security related steps ( #70788 )
...
* Remove security related steps
* More cleanup
2023-06-28 11:12:47 +03:00
Jack Baldry
3d15d54a71
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
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Use docs-base image that has docs/reference shortcode
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-06-16 17:24:21 +01:00
Dimitris Sotirakis
b1e219e72c
CI: Update grabpl
to v3.0.39
( #70126 )
...
Update grabpl to v3.0.39
2023-06-15 11:49:56 +03:00
owensmallwood
f649619e20
Mysql Tests: For mysql5.7 integration tests use utf8mb4 charset ( #69953 )
...
for mysql5.7 integration tests, use utf8mb4 charset
2023-06-14 17:00:45 -06:00
Dimitris Sotirakis
91272ee4f9
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
2023-06-14 13:51:01 +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
Dimitris Sotirakis
fa70fba0e3
Security Scans: Exclude windows container scans ( #69977 )
...
* Exclude windows container scans
* Fixes according to reviewer's comments
2023-06-13 10:38:18 +03:00
Dimitris Sotirakis
2cda971796
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
2023-06-12 16:41:18 +03:00
Tobias Skarhed
134839d701
CI: Add i18n verification step ( #69384 )
...
* Add i18n verification step
* Add check for extracted translations
* Run extract
* Add newline for pseudo
* Format JSON output with prettier
* Print file diff
* Actually run make drone
* Only deo git diff on locales
* Update error message
* Verify that step fails on dynamic phrases
* Verify that it passes when fixed
* Verify that dynamic phrase fails, for real this time
* Extract error messages
* Change echo
* Fix string format
* Try double escaping
* Escape for Drone substitution
* Update character escape
* Remove dynamic phrase
* Verify multiple keys
* Remove double keys
* Readd en locale because of reasons
* Undo changes
* Format lint_frontend.star
* Update error message
* Update .drone.yml
* Add quotes for echo
* Verify fail to extract
* Fix diff stat command
* Reset footer changes
2023-06-06 09:29:04 +02:00
Kat Yang
293993ac09
CI: Add validate-modfile step in drone ( #69232 )
...
* chore: test drone step
* revert changes to lint_backend_step()
* try to add validate_modifle_step
* try to run check func
* remove CGO and wire-install
* update filepath to scripts/modowners
* make drone again
* correct the filepath
* try to ignore validate-modfile step if fail
* chore: remove log that says i am a programmer
* fix: spell modfile correctly
* chore: remove unecessary comment
* fix: check go.mod instead of go.txd
2023-05-31 16:57:45 -04:00
Dimitris Sotirakis
778f054419
CI: Don't run RGM pipeline on docs changes ( #69243 )
...
Don't run RGM pipeline on docs changes
2023-05-30 18:17:53 +03:00
Ricky Whitaker
68fe1e1cb0
fix verify_release_pipeline script execution ( #69191 )
...
* fix verify_release_pipeline script execution
* forgot to run make drone
2023-05-26 14:54:57 -05:00
Horst Gutmann
f22d1d14a0
CI: Pin the google/cloud-sdk image ( #69037 )
2023-05-25 10:17:24 +03:00
Dimitris Sotirakis
7e816d010c
G10: Replace beta
with preview
references ( #68347 )
...
* Update references
* Update grabpl to v3.0.38
2023-05-24 09:46:07 +02:00
Kevin Minehart
79f49c9649
CI: Add release verify pipeline ( #68756 )
2023-05-23 10:01:09 +02:00
Dimitris Sotirakis
623c014cda
CI: Run trigger-test-release
only on PRs against main ( #68794 )
...
Run trigger-test-release only on PRs against main
2023-05-22 12:32:48 +02:00
Dimitris Sotirakis
04e2d9055d
Docker images: Don't fail if a PR comes from a fork ( #68765 )
...
* Update grabpl
* Allow publish images to fail for PRs
2023-05-22 11:37:13 +02:00
Dimitris Sotirakis
44b1dae16d
Chore: Update grabpl
to v3.0.36 ( #68693 )
...
Update grabpl to v3.0.36
2023-05-18 13:09:40 +02:00
Kevin Minehart
a870b227db
Add dagger token to rgm builds ( #68651 )
2023-05-17 20:19:53 +03:00
Dimitris Sotirakis
26bacf6d4c
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
2023-05-17 17:57:37 +02:00
Dimitris Sotirakis
55622615de
CI: Add delivery bot secrets to publish images step ( #68467 )
...
Add delivery bot secrets
2023-05-15 16:33:31 +03:00
Horst Gutmann
35ccfa6131
CI: Update grabpl to 3.0.34 ( #68456 )
...
* CI: Port of init-enterprise fix from 9.4.10
* CI: Update grabpl to 3.0.34
2023-05-15 15:57:46 +03:00
Dimitris Sotirakis
b7b13067a5
CI: Add .drone.yml
in pathschanged trigger for lint_backend
pipeline ( #68348 )
...
Add .drone.yml in pathschanged for lint_backend
2023-05-12 11:18:59 +03:00
Horst Gutmann
acd02e8a48
CI: Move windows-tests into promotion pipeline ( #68218 )
2023-05-10 17:16:59 +03:00
Horst Gutmann
1e8cad625b
CI: Remove windows backend tests from release pipelines ( #68166 )
...
Remove windows backend tests from release pipelines
These are run in other places so there is no benefit to also include
them here.
2023-05-10 12:54:43 +03:00
Dimitris Sotirakis
6ae952c7c5
CI: Remove custom enterprise2 pipelines ( #68056 )
...
Remove custom enterprise2 pipelines
2023-05-09 11:22:18 +03:00
Horst Gutmann
b2fc285a5d
CI: Add Windows backend tests in more places ( #66438 )
...
* 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
2023-05-08 15:22:34 +02:00
owensmallwood
a4c7450c42
Grafana: Upgrades mysql images from 5.7 to 8 ( #67604 )
...
adds mysql integration build step for mysql 8
2023-05-04 11:42:48 -06:00
Sofia Papagiannaki
9812ad2cb2
Chore: Upgrade Go to 1.20.4 ( #67748 )
...
Upgrade Go to 1.20.4
2023-05-04 10:52:43 +03:00