Dimitris Sotirakis
158502572e
CI: Add aws-marketplace
pipeline ( #60484 )
...
* Add aws marketplace automation
# Conflicts:
# .drone.yml
* Fix secret paths
# Conflicts:
# .drone.yml
* Add docker socket
# Conflicts:
# .drone.yml
# Conflicts:
# .drone.yml
* s/enterprise2/enterprise
* Add dependency on the enterprise docker publish
# Conflicts:
# .drone.yml
* Replace testing args with prod args
# Conflicts:
# .drone.yml
* Fix path
# Conflicts:
# .drone.yml
2022-12-19 11:25:48 -05:00
Dimitris Sotirakis
e9cf8fa751
CI: Add automation for github assets publishing ( #59491 )
...
* Add github.star
# Conflicts:
# .drone.star
# .drone.yml
* Make step depend on fetch images
# Conflicts:
# .drone.yml
* artifacts -> path
# Conflicts:
# .drone.yml
* Add github token
# Conflicts:
# .drone.yml
* Fix custom path
# Conflicts:
# .drone.yml
* Add case where path is absent
# Conflicts:
# .drone.yml
* Add GH_REGISTRY secret
# Conflicts:
# .drone.yml
2022-12-12 09:51:27 -05:00
Dan Cech
440d8a3d88
Build: Drone starlark file cleanup ( #59919 )
...
* format drone starlark files with black
* clean up unused params
* more simplification
* more cleanup
* more cleanup
2022-12-07 09:13:57 +02:00
Dimitris Sotirakis
44402ff726
CI: Split enterprise2
pipelines ( #57997 )
...
* Add publishimages_enterprise2.go file
* Add push.go
* Modify build files
* Modify starlark files
* Remove promotion pipeline
* Remove unused args
* Handle tag for custom events
2022-11-21 20:06:00 +02: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
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
5cbb7003c0
Add artifacts-page grabpl command ( #51894 )
2022-07-07 11:00:28 -04:00
Dimitris Sotirakis
ea3e41ea62
CI: Add docs pipeline for main
pipelines ( #45740 )
...
* Add docs pipeline for main
* Extract trigger docs
* Change trigger for main
2022-02-22 18:06:14 +00:00
Dimitris Sotirakis
434697e0fd
CI: Introduce docs pipeline ( #45454 )
...
* Add docs.star
* Fixes in drone yaml
* Add grabpl
* Remove unnecessary steps
(cherry picked from commit f2e03cdb107eb283416885a73051c1ff86eb8b7f)
* Rename docs pipeline
* Exclude docs related steps from PR pipelines
* Add packages/** trigger
* Remove packages exclusion from pr pipelines
2022-02-21 13:55:16 +02:00
Dimitris Sotirakis
27fbe82bf1
Remove test-release pipelines ( #44220 )
2022-01-19 16:42:40 +00:00
Dimitris Sotirakis
4f47832bac
CI: Automate Grafana releases ( #43897 )
...
* CI: Automate releases
* Update grabpl version
2022-01-11 16:28:29 +02:00
Dimitris Sotirakis
5f10843203
Chore: Rename scripts/star dir to scripts/drone ( #38910 )
...
* Rename scripts/star dir to scripts/drone
* Update CODEOWNERS after paths change
2021-09-07 12:15:04 +03:00
Dimitris Sotirakis
2316c3942b
Chore: Tidy up starlark files into folders ( #38874 )
...
* Tidy up starlark files into folders
* Rename steps
* Make sure lib.star only contain steps - added services.star and utils.star
2021-09-07 10:21:49 +03:00
Julien Duchesne
f41f00dec4
Sign Drone's configuration YAML file ( #36528 )
...
* Sign Drone's configuration YAML file
This is needed to protect the repository
* Update grabpl to 2.2.8
* Add comment about generating the drone.yml file
2021-07-14 14:40:28 +02:00
idafurjes
3064209cd5
33369: Add pipeline step with trivy scan for latest on grafana/grafan… ( #34660 )
...
* 33369: Add pipeline step with trivy scan for latest on grafana/grafana to drone config
* 33369:Add docker image scan steps to .drone.star file
* 33369: Add low/medium/unknwon scan into one pipeline step
* 33369:Make starlark generate code only for the given edition
* 33369:Adjust naming and add loop into vulnerability step
* Update scripts/job.star
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-26 14:27:40 +02:00
Julien Duchesne
368edd8ecc
Enterprise changes to the Drone pipelines ( #33773 )
...
* Enterprise changes to the Drone pipelines
This is basically a no-op in this repository, except for the fact that the grafanabot personal access token will now be fetched from Vault instead of repository secrets
This will pave the way for us to fetch all secrets from Vault
* Update star files from enterprise
* Add missingn newline
2021-05-12 15:30:05 +02:00
Arve Knudsen
c2c1ec7d0f
Chore: Move from master to main branch ( #33693 )
...
* Chore: Move from master branch to main
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CI: Upgrade build pipeline tool to v2
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-06 16:29:29 +02:00
Arve Knudsen
07897c7e1e
Drone: Add version branch pipeline ( #28490 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-23 10:16:17 +02:00
Arve Knudsen
d2b957b726
Drone: Add release pipelines ( #28083 )
...
* Drone: Implement release pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Implement test-release pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-07 14:22:15 +02:00
Arve Knudsen
8746a77407
Drone: Enable master branch testing ( #26367 )
...
* Drone: Refactor
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Add master pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-17 13:52:09 +02:00
Arve Knudsen
c5bdea5cec
Chore: Upgrade build pipeline tool; refactor Drone config ( #26292 )
...
* Upgrade grabpl; refactor Drone config
2020-07-13 16:43:56 +02:00
Arve Knudsen
396ff9f478
Drone: Disable enterprise build for PRs ( #26241 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-10 17:24:12 +02:00
Arve Knudsen
d28d495235
Chore: Enable PR testing in Drone ( #26189 )
...
* Add Drone configuration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build front-end before testing it
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade grafana/build-container
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add packaging step
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Trigger on push
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove some steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Enable steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Install Dockerize
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use node image for test-frontend
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Increase number of test workers
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Make plugin installation depend on frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Make integration tests depend on frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use grafana/build-container also for front-end tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade dependencies in order to fix front-end tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Depend on es-check
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Dont' depend on tests before building front-end
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix packaging
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Simplify
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Try to build images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Install netcat
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Include golangci-lint with grafana/build-container
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build storybook and docs website
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use build image with root user
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drop CircleCI dependencies
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e under Drone
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Execute e2e server separately
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use own plugin for building Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use Starlark to configure Drone
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add enterprise steps to pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more enterprise steps to pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Maintain Yarn cache
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build enterprise Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build Ubuntu Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Refactor
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add Postgres integration test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add MySQL integration test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix integration tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Parameterize integration test DB connections
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Categorize integration tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use grabpl integration-tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unintended change
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Disable Ubuntu Docker images for PR pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Regenerate yarn.lock
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade grabpl
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Restore Yarn cache before installing in grafana-enterprise
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use separate pipelines for OSS and enterprise
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Let OSS builds depend on tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Restore Go cache before building back-end
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Reduce number of variants built for PRs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix building of Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Simplify logic
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Use Starlark
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Fix syntax error
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Convert .drone.star to YAML
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade AWS Go SDK
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Fix Go linting
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Undo irrelevant changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Revert "Undo irrelevant changes"
This reverts commit 5152f65972
.
* Undo irrelevant changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* e2e: Support Circle
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused script
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* TypeScript fixes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* TypeScript fixes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused script
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* More Drone support
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused script
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix build on Circle
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove TODO comment
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-10 16:09:21 +02:00