Dimitris Sotirakis
c9882623f5
[v9.3.x] Backport #65797 and #65806 to v9.3.x ( #65856 )
...
* CI: Make `init-enterprise` depend on `grabpl` (#65797 )
Make init-enterprise depend on grabpl
# Conflicts:
# .drone.yml
(cherry picked from commit 821633c796 )
# Conflicts:
# .drone.yml
* CI: Exclude cloud related tags from tag events (#65806 )
* Exclude cloud related tags
* Fix starlark lint errors
(cherry picked from commit a18ea77aac )
# Conflicts:
# .drone.yml
2023-04-04 08:36:42 +02:00
Dimitris Sotirakis
4098978273
[v9.3.x] CI: Cleanup unnecessary grabpl dependencies ( #65330 ) ( #65346 )
...
CI: Cleanup unnecessary `grabpl` dependencies (#65330 )
* Remove unnecessary grabpl dependencies
* Revert test-frontend change
(cherry picked from commit 89d642e001 )
# Conflicts:
# .drone.yml
2023-03-27 16:41:27 +03:00
Dimitris Sotirakis
91fe6eb1b7
[v9.3.x] CD: Remove fetch-images dependency from AWS marketplace automation ( #65173 ) ( #65194 )
...
CD: Remove `fetch-images` dependency from AWS marketplace automation (#65173 )
* Remove fetch-images dependency
* Fix starlark link
(cherry picked from commit d0be9610f0 )
# Conflicts:
# .drone.yml
2023-03-22 18:55:59 +02:00
Dimitris Sotirakis
8faaacd80d
[v9.3.x] CI: Remove variants arg from package step ( #62858 ) ( #62998 )
...
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
(cherry picked from commit e5c48ac945 )
# Conflicts:
# .drone.yml
2023-02-07 11:18:54 +02:00
Dimitris Sotirakis
03b1cf763d
CI: Backport CI/Release related code to v9.3.x ( #62752 )
...
* Batch-move everything
* go mod tidy
* make drone
* Remove genversions
* Bump alpine image
* Revert back pkg/build/docker/build.go
* Make sure correct enterprise branch is checked out
* Add enterprise2 version
* Remove extensions
* Bump build container
* backport node 18 test fix
(cherry picked from commit 4ff03fdbfb )
* Update scripts/drone
* Add more commands
* Fix starlark link
* Copy .drone.star
* Add drone target branch for custom events
---------
2023-02-03 11:43:48 +02:00
Dimitris Sotirakis
439b0cad43
[v9.3.x] CI: Add automation for github assets publishing ( #59491 ) ( #60192 )
...
CI: Add automation for github assets publishing (#59491 )
* Add github.star
* Make step depend on fetch images
* artifacts -> path
* Add github token
* Fix custom path
* Add case where path is absent
* Add GH_REGISTRY secret
(cherry picked from commit e9cf8fa751 )
2022-12-20 12:05:25 +02:00
Andreas Christou
5cfd983cc2
AzureMonitor - E2E tests drone update ( #57100 )
...
* Update e2e command with video flag
* Add Cloud Plugins E2E tests to drone
* Update env variable names
* Add vault Azure secrets
* Update e2e steps
* Update secrets path
* Update image and rebuild drone file
* Readd drone changes
* Rebuild drone
* Remake drone
* Correct reference to secret
* Remake drone file
* Remove unneeded step
* Clear values in Arg query
2022-11-08 11:27:54 +01:00
Todd Treece
e105b5a107
Chore: Add jsonnet library for devenv dashboards ( #57928 )
2022-11-03 11:04:39 -04:00
Dimitris Sotirakis
7a12132237
DEB/RPM Packages: Remove old package publishing steps ( #58071 )
...
* Remove old publish package steps
* Don't ignore publish packaging failures
2022-11-02 18:42:01 +00:00
Dimitris Sotirakis
57ee0e4a4b
CI: Use full dockerhub repository name ( #57979 )
...
* Add full dockerhub repo name
* Update grabpl version
2022-11-01 15:33:16 +02:00
Dimitris Sotirakis
27f072beb3
Don't trigger tag event when merging ( #57063 )
2022-10-17 12:27:10 +03:00
Dimitris Sotirakis
62314bbf66
Remove grabpl dependency from yarn-install ( #56692 )
2022-10-11 18:58:03 +03:00
Dimitris Sotirakis
efc8f985cb
Remove build-frontend-packages step from docs pipelines ( #56686 )
2022-10-11 06:56:43 -04:00
Dimitris Sotirakis
66cb56de79
CI: Trigger tag on CI changes ( #55388 )
...
* Trigger tag on CI changes
* Use github token available for PRs
Remove remote addition
* Replace origin with full url
Remove fetch for origin
Fix fetch
Remove --quite
Add rebase
Stash changes from verify-gen-cue
Cleanup
* Add --quiet when fetching
2022-10-11 12:01:18 +03:00
Dimitris Sotirakis
668cb25b82
Fix release test pipelines dependencies ( #56671 )
2022-10-11 11:42:24 +03:00
Dimitris Sotirakis
811f6054c8
Add dependencies ( #56666 )
2022-10-11 10:05:13 +03:00
Dimitris Sotirakis
eb077db2b0
Add clone-enterprise and init-enterprise steps ( #56662 )
2022-10-10 22:46:12 +03:00
Dimitris Sotirakis
75c5845749
CI: Split release test pipelines ( #56655 )
...
* Split test release pipelines
* Add missing dependencies
* Add release branch case when naming pipeline
2022-10-10 11:46:56 -04:00
Dimitris Sotirakis
5cdc932f8c
CI: Stop publishing OSS images for security mode ( #56088 )
...
* No-op: Refactor publish images pipeline struct
* Stop publishing images for OSS
2022-10-05 09:39:38 +03:00
Dimitris Sotirakis
a9a86cbe54
Introduce lint-frontend pipeline ( #55559 )
2022-09-21 14:39:28 -05:00
Dimitris Sotirakis
c18432971b
CI: Introduce lint-backend pipeline ( #55476 )
...
* Introduce lint-backend pipeline
* Use go image and install make
* Don't run lint pipeline on .drone.yml changes
2022-09-21 07:05:19 -04:00
Dimitris Sotirakis
2c872b0d94
Run enterprise downstream after OSS CI is done ( #55366 )
2022-09-19 17:17:36 +03:00
Kevin Minehart
c69a37f8c2
CI: grabpl verify-drone -> ./bin/build verify-drone ( #55171 )
...
* move grabpl verify-drone
2022-09-14 09:07:09 -05:00
Dimitris Sotirakis
8b38f9408d
Run codespell only on docs changes ( #55064 )
2022-09-14 16:32:08 +03:00
Dimitris Sotirakis
716bdde3f6
CI: Make shellcheck a standalone pipeline ( #55082 )
...
* Make shellcheck standalone pipeline
* Run shellcheck on every .sh change
* Change base image
* Trigger on script changes
* Run shellcheck on PRs only
2022-09-14 09:00:06 +03:00
Dimitris Sotirakis
8c081d4523
Remove gen-version from windows pipelines ( #54941 )
2022-09-09 03:22:38 -04:00
Dimitris Sotirakis
4735de6aa4
Run gen-version in windows pipelines ( #54624 )
2022-09-02 06:27:20 -04:00
Timur Olzhabayev
b5b41988cf
Docs: Deprecating packages_api and removing it from our pipelines ( #54473 )
2022-09-01 18:15:44 +02:00
Dimitris Sotirakis
7e2238cf6f
CI: Generate Grafana version (and metadata) when the build binary is built ( #54393 )
...
* Add GenerateVersions as BeforeFunc
* Delete gen-version
* Fix lint
* Get build id from env var
2022-09-01 15:43:40 +03:00
Dimitris Sotirakis
332bc3aa63
CI: Split store-packages step ( #53516 )
...
* Remove unused def
* Add grafanacom step
2022-08-11 05:31:35 -04:00
Dimitris Sotirakis
e9fe9a25dc
Run docs pipeline on *.md changes only, in the packages dir ( #53517 )
2022-08-10 13:39:56 +03:00
Dimitris Sotirakis
499cac44e3
Remove packages-bucket arg ( #53421 )
2022-08-08 13:05:26 -04:00
Dimitris Sotirakis
5d014f0c37
CI: Run main-docs pipeline only, when a docs PR is merged ( #53026 )
...
* Trigger docs pipeline on main, on docs only changes
* Export docs inclusion paths in variable
2022-08-03 08:08:43 -04:00
Kevin Minehart
d567f199dd
CI: add the grabpl build-backend command into the repo ( #52673 )
...
* Move the grabpl build-backend command and clean it up a bit
2022-07-28 10:11:22 -04:00
Dimitris Sotirakis
3b6cef9dfa
CI: Refactor/Reorder *.star files ( #52384 )
...
* Refactor test pipelines
* Move pr, main and release starlark files under scripts/drone/event
* Move cron.star to scripts/drone/events
* Further unused code removal
* Introducing build.star
* Extract verify_drone.star
* Extract windows.star
* Extract publish.star
* Remove unused code
* Fix formatting in main.star
2022-07-20 09:43:19 -04:00
Dimitris Sotirakis
e0d1af1867
Remove volumes from build-e2e pipeline on main ( #52386 )
2022-07-19 14:38:43 +03:00
Dimitris Sotirakis
2af5feb147
CI: Add pr-verify-drone pipeline ( #51951 )
...
* Introduce pr-verify-drone pipeline
* Remove `make drone` pre-commit hook
* Remove lint-drone from test-backend pipeline
2022-07-08 12:18:46 +03:00
Dimitris Sotirakis
5cbb7003c0
Add artifacts-page grabpl command ( #51894 )
2022-07-07 11:00:28 -04:00
Dimitris Sotirakis
6447e08809
Add gen-version step to release pipelines ( #51913 )
2022-07-07 10:32:18 -04:00
Dimitris Sotirakis
88943590b3
Add gen-version for main-publish pipeline ( #51890 )
2022-07-07 12:58:20 +01:00
Dimitris Sotirakis
f279699beb
CI: Abstract Grafana versioning ( #50935 )
...
* Remove flags and update grabpl
* Sign drone yaml
2022-07-07 13:41:27 +03:00
Ashley Harrison
f654152dc8
Chore: split betterer into it's own CI step and allow failures for now ( #51543 )
...
* split betterer into it's own CI step and allow failures for now
* Run make drone
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com >
2022-06-29 15:04:52 +01:00
idafurjes
ef23a76310
Remove integration tags for enterprise ( #50974 )
...
* Remove integration tags for enterprise
* Adjust integration tests and backend tests for the current enterprise setup
* Remove entrerprise2 integration step and use go command for enterprise2 backend step
* CI: Tidy up `release-enterprise-*` pipeline dependencies (#51031 )
* Tidy up enterprise deps
* Fixes according to reviewer's comments
Co-authored-by: dsotirakis <sotirakis.dim@gmail.com >
2022-06-22 15:22:42 +02:00
Dimitris Sotirakis
f351b9a923
Remove enterprise2 condition - move tests to release pipelines ( #51096 )
2022-06-21 14:44:51 +02:00
idafurjes
335ce44890
Fix integration tests for mysql and postgres ( #50867 )
...
* Fix integration tests for mysql and postgres
* Package by package testing
* Adding make gen-go to the postgres and mysql integration step
* Rewrite command for backend integration tests
* Diffentiate command for OSS and enterprise
* Add wire-install as dependant for OSS integration tests
* set GRAFANA_TEST_DB variable in the go test command
* No verbose output
* Remove redundant env var
* Try fixing the tests
* Trying stg else
* Remove verbose
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com >
2022-06-16 16:41:56 +02:00
Dimitris Sotirakis
8a6ed3d81b
Remove armv6 from build-backend variants ( #50878 )
2022-06-15 16:46:47 +03:00
Dimitris Sotirakis
7566f800e6
Include public/app/plugins/**/plugin.json in the BE test paths ( #50756 )
2022-06-14 12:22:52 +03:00
Dimitris Sotirakis
5633648383
Rename release pipelines ( #50585 )
2022-06-10 12:28:50 +02:00
sam boyer
9fc889f5f6
ci: Depend on init-enterprise for gen-cue verify ( #50191 )
2022-06-09 09:48:27 +03:00
Dimitris Sotirakis
63ed5367c3
Remove test_steps ( #50396 )
2022-06-08 14:00:52 +03:00