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
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
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
f22d1d14a0
CI: Pin the google/cloud-sdk image ( #69037 )
2023-05-25 10:17:24 +03:00
7e816d010c
G10: Replace beta
with preview
references ( #68347 )
...
* Update references
* Update grabpl to v3.0.38
2023-05-24 09:46:07 +02:00
79f49c9649
CI: Add release verify pipeline ( #68756 )
2023-05-23 10:01:09 +02:00
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
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
44b1dae16d
Chore: Update grabpl
to v3.0.36 ( #68693 )
...
Update grabpl to v3.0.36
2023-05-18 13:09:40 +02:00
a870b227db
Add dagger token to rgm builds ( #68651 )
2023-05-17 20:19:53 +03:00
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
55622615de
CI: Add delivery bot secrets to publish images step ( #68467 )
...
Add delivery bot secrets
2023-05-15 16:33:31 +03:00
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
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
acd02e8a48
CI: Move windows-tests into promotion pipeline ( #68218 )
2023-05-10 17:16:59 +03:00
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
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
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
9812ad2cb2
Chore: Upgrade Go to 1.20.4 ( #67748 )
...
Upgrade Go to 1.20.4
2023-05-04 10:52:43 +03:00
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
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
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
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
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
202afb9041
Chore: Upgrade Go to 1.20.3 ( #66264 )
2023-04-14 10:01:14 +02:00
24d348f804
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
2023-04-12 11:47:40 +03:00
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
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
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
e9aef20eb4
CI: Move release integration pipeline to standalone promotion pipeline ( #65787 )
2023-04-03 12:43:37 +02:00
89d642e001
CI: Cleanup unnecessary grabpl
dependencies ( #65330 )
...
* Remove unnecessary grabpl dependencies
* Revert test-frontend change
2023-03-27 12:55:45 +02:00
3b00d2c273
CI: Remove grabpl
dependency from publish-packages
steps ( #65329 )
...
Remove grabpl dependency from publish packages
2023-03-27 11:03:49 +03:00
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
4a80233bed
CI: Update grabpl
to 3.0.30
( #65028 )
...
Update grabpl
2023-03-20 11:46:17 +02:00
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
110b05a0c0
Chore: Upgrade Go to 1.20.1 and Alpine to 3.17 ( #63639 )
2023-02-27 14:50:32 +01:00
c72d18f5e6
Revert "Chore: Upgrade Go to 1.20.1 and Alpine to 3.17 ( #63506 )" ( #63567 )
...
This reverts commit 747ddf7b33e0e74aa2b8875567497b27f5d6a675.
2023-02-22 08:14:26 -05:00
747ddf7b33
Chore: Upgrade Go to 1.20.1 and Alpine to 3.17 ( #63506 )
2023-02-22 11:53:06 +01:00
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
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
470be140dc
CI: Do not clone repo in artifact-page step ( #63077 )
2023-02-08 11:57:33 +01:00
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
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
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
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
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
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
1a5b54cff3
CI: Replace grafana/grafana-oss
with grafana-oss
when publishing to dockerhub repo ( #62651 )
...
Replace grafana/grafana-oss with grafana-oss
2023-02-01 09:53:42 +00:00
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
f23be415c5
CI: Add artifacts publish
build command ( #62445 )
...
* CI: Add `artifacts publish` build command
* Lint release.star
2023-01-30 16:24:10 +00:00