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
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
Kevin Minehart
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
Kevin Minehart
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
Ryan McKinley
ca1f79b9ba
Kindsys: Target k8s style resource definitions ( #67008 )
...
Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-04-27 23:32:38 +03:00
Kristian Bremberg
35407142d0
Feature: Trusted Types support ( #64975 )
...
* Draft: Feature: Trusted Types support
* remove trusted-types package
* Create policy before jQuery and Angular is loaded and add feature flag
* Add trustedTypePolicies
* Sanitize scriptURL
* Add TT meta tag for test env
* Move trusted types into core
* Add DOMParser support for TrustedHTML
* Seperate RSS sanitization and add better TrustedHTML support
* Get test CSP header from config
* Remove dompurify dep from core
* Add documentation for trusted types
* Apply suggestions from code review
Co-authored-by: Kristian Bremberg <114284895+KristianGrafana@users.noreply.github.com>
* Add comment about Github discussion thread and things breaking
* Remove changes from News panel
* Remove TT feature toggle
* Expose TT and CSPReportOnly to frontend
* Log errors in console when CSP report only is enabled
* Log error for reporting and remove test mode
* Only insert CSP header in HTML for dev env
* Update docs
---------
Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com>
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2023-04-27 18:20:37 +02:00
Esteban Beltran
362936b002
Build: Force same version of @emotion/react via webpack config ( #66822 )
2023-04-24 17:13:52 +02:00
Jack Westbrook
5d4bf19efb
Fix: Canary NPM publishing ( #66734 )
...
fix(npm-publishing): strip protocol from registry so npm can auth correctly
2023-04-18 12:00:05 +02: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
Dimitris Sotirakis
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
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
Ricky Whitaker
c7d3c5a622
Rickywhitaker/verify repos update ( #65739 )
...
* initial commit of verify repo update
* consolidated duplicate verify-repos.sh commands into 1 with env vars
* fixing rpm versioned install
2023-04-04 11:17:12 -05: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
Dimitris Sotirakis
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