84d35e9f0b
CI: Fix frontend-metrics-step (attempt #1 ) ( #74838 )
...
* use grafana/public instead
* parameterise script (still need to fix + run drone locally)
* make drone
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-09-14 14:48:31 +01:00
fcdae0ca0b
Chore: move to cypress 13.1 ( #74718 )
...
* move to cypress 13.1
* update cloud-data-sources docker image
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-09-13 11:08:43 +01:00
69737cba6d
CI: Fixes for various main steps ( #74768 )
...
Fixes for various main steps
2023-09-13 00:44:33 +03:00
9221822dfe
CI: fix docker tag format on main
branch and missing dependency on ci-frontend-metrics.sh
( #74753 )
...
* On main, set the docker tag format to be the same as it is in PRs
* Install bash when trying to push frontend metrics
2023-09-12 19:05:02 +03:00
915f198ecb
Refactor starlark to remove references to the build_image ( #74624 )
...
* Refactor starlark to remove references to the build_image
2023-09-12 12:19:06 -03:00
02f617a20d
Nightlies: Push windows artifacts to GCS on main builds ( #74709 )
...
* Push windows artifacts to gcs
* Lint starlark
* Sign drone
2023-09-12 13:28:32 +03:00
36728dd671
Bring back windows installers for main builds ( #74698 )
2023-09-12 10:31:04 +03:00
0f2f25c5d9
Chore: Move to Cypress 12 and decouple cypress from @grafana/e2e
( #74084 )
...
* update drone to use cypress 12 image
* upgrade cypress to 12 in core
* cypress config actually valid
* update @grafana/e2e imports and add lint rule
* ignore grafana-e2e from betterer now it's deprecated
* fix remaining type errors
* fix failing tests
* remove unnecessary tsconfig
* remove unnecessary comment
* update enterprise suite commands to work
* add cypress config to CODEOWNERS
* export setTimeRange in utils
* remove @grafana/e2e from core deps
* try running the command through yarn
* move CMD to scripts
* Update cloud-data-sources e2e image
* Update paths
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2023-09-08 16:51:59 +01:00
566215c22c
CI: Get Github Token and Docker username/password from Vault ( #74555 )
...
CI: Get Docker username/password from Vault
Not Drone secrets
2023-09-07 12:26:43 -04:00
f93d7f81a3
Nightly scans: Remove cloud_datasources_e2e_image
from images to scan ( #74313 )
...
Remove cloud_datasources_e2e_image from images to scan
2023-09-04 10:55:26 +03:00
c86a73c794
CI: Move npm token to Vault ( #73407 )
2023-08-17 17:43:26 +03:00
3463dc8e48
CI: Update grabpl
to v3.0.41
( #73373 )
...
Update grabpl
2023-08-17 11:46:24 +02:00
b1fd399c10
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>
2023-08-03 08:53:13 -05:00
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
b019ef9a89
CI: use base64 key in windows installer build step ( #72413 )
...
use base64 key
2023-07-27 09:31:35 +03:00
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
e3ec53b418
CI: Fix deb/rpm
bug for linux package publishing ( #72336 )
...
Fix deb/rpm
(cherry picked from commit c3ebd388e3cc192590c3f4d381429f7d9e345765)
(cherry picked from commit 4c9bdef98dcfb24d8d24dac8117c9d3feb921a06)
# Conflicts:
# .drone.yml
2023-07-26 14:18:00 +03:00
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
16e2808b43
CI: Use GCP keys in vault and not drone secrets ( #72023 )
2023-07-21 08:53:57 -05:00
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
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
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
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
7f55ba9c6e
CI: Cleanup - Remove security related steps ( #70788 )
...
* Remove security related steps
* More cleanup
2023-06-28 11:12:47 +03:00
95b1f3c875
Fixing typos ( #70487 )
2023-06-22 09:43:38 +01:00
b1e219e72c
CI: Update grabpl
to v3.0.39
( #70126 )
...
Update grabpl to v3.0.39
2023-06-15 11:49:56 +03:00
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
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
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
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
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
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
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
acd02e8a48
CI: Move windows-tests into promotion pipeline ( #68218 )
2023-05-10 17:16:59 +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
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
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
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
3b00d2c273
CI: Remove grabpl
dependency from publish-packages
steps ( #65329 )
...
Remove grabpl dependency from publish packages
2023-03-27 11:03:49 +03:00
4a80233bed
CI: Update grabpl
to 3.0.30
( #65028 )
...
Update grabpl
2023-03-20 11:46:17 +02:00