1
0
Fork 0
mirror of https://github.com/drone/drone-cli.git synced 2024-06-02 12:16:01 +02:00
Commit Graph

200 Commits

Author SHA1 Message Date
TP Honey 3ef2c9b7f0 (dron-124) Add new command for build incomplete V2 2021-10-05 19:14:05 +01:00
Eoin McAfee 38fdac927a fixes issue where template info command wasn't working 2021-09-23 14:43:07 +01:00
TP Honey bf16f9f9a8 (fix) fix multi-docs/lists in starlark 2021-09-07 13:04:04 +01:00
Eoin McAfee a7a0f8c610 Merge branch 'master' of github.com:drone/drone-cli into feature/dron-34-auto-cancel-running 2021-08-27 12:02:25 +01:00
Eoin McAfee 55ae12d8c4 provide update and get info values for repo 2021-08-27 10:06:54 +01:00
Julien Duchesne 8e538b63f5
Fix `--stream` combined with `--format` for `jsonnet` (#195)
* Fix `--stream` combined with `--format` for `jsonnet`
If both are defined and jsonnet defines a list, it currently only generates one of the resources
Also added a test for it
* Minimize diffs by keeping all in one file
2021-08-26 15:34:52 +01:00
TP Honey f4c360b6a7 (fix) re-enable format option for jsonnet command 2021-08-25 12:14:54 +01:00
TP Honey 01b1690e38 (DRON-113) use ghodss/yaml for yaml pretty print 2021-08-20 09:44:25 +01:00
Eoin McAfee 8f2d7829e3
improve Defect/permission template command (#191)
* Update the way namespace is sent to the drone server.
* update drone-go version
* bump drone-go library
2021-08-19 15:38:03 +01:00
Eoin McAfee 0bee92bd47 refactor env variable declaration to one statement 2021-08-09 09:57:05 +01:00
Eoin McAfee 9d0e93cc5d fixes issue were cli required an additional parameter in order to communicate with vault when using drone-vault plugin. 2021-08-04 15:33:36 +01:00
Chris Raborg 662f6f4957
Add drone cron exec cmd (#180) 2021-06-22 19:31:38 +01:00
Javier Palomo 3e2bf56d5e feat(cron): add rm command
Signed-off-by: Javier Palomo <javier.palomo@grafana.com>
2021-06-22 19:24:54 +01:00
Timofei Kushnir 0f2fd9c259 Add new ctx.build.debug option 2021-06-22 15:31:04 +03:00
Timofei Kushnir a5065fdef3 Add missing ctx values 2021-06-17 07:11:51 +03:00
Eoin McAfee 2917fe5c09 add ability to search for templates by organization 2021-06-09 14:10:04 +01:00
Eoin McAfee 59a1b33230 Merge branch 'master' of github.com:drone/drone-cli into feature/template-config 2021-06-01 13:46:45 +01:00
Eoin McAfee 5ebdfc3a8b group imports 2021-06-01 10:33:26 +01:00
Eoin McAfee b5490cd67e Add support for organization level templates 2021-05-28 16:56:13 +01:00
Brad Rydzewski 984c5ecc2e
Update jsonnet.go 2021-05-27 17:47:51 -04:00
Eoin McAfee 8d1b7ef711 add cli commands for template actions 2021-05-21 14:03:48 +01:00
Phil Davis 5261919b3c
Fix typo of 'verification' 2021-01-21 13:57:47 +05:45
Phil Davis 1d2af49130
Fix typo of omitempty in a struct 2021-01-21 13:56:50 +05:45
Brad Rydzewski 87898aa66b fix dependency conflict 2020-12-11 14:14:48 -05:00
Brad Rydzewski 25eb062c9d add flag to set repository concurrency limit 2020-12-11 14:12:50 -05:00
Brad Rydzewski 0b676a06cc
Merge pull request #172 from eaceaser/git-sha-param
add --sha commandline param to drone exec
2020-12-03 21:12:38 -05:00
Michael Barz f0e9e08904 add more attributes to build context 2020-11-17 17:59:55 +01:00
Brad Rydzewski 6f4c96818c bump drone-go version 2020-11-16 15:53:29 -05:00
Brad Rydzewski a63407a203 added environment command 2020-11-16 15:42:23 -05:00
Doug Simmons ac6e68454f Add a pipeline type check to the exec command
If type is not of type 'docker' produce a meaningful
error message. Other pipeline types are not currently
supported by 'drone exec'

The previous error message will likely be
"linter: invalid or missing image", if a
project is using a ssh type, for example.
The error is misleading.
2020-08-18 08:44:37 -07:00
Brad Rydzewski 2064b97d4e build list uses API size limit 2020-08-07 13:06:34 -04:00
Ed Ceaser 3c59b5fba1 add --sha commandline param to drone exec 2020-05-12 14:42:41 -07:00
Tony Li 5400456c24
Merge branch 'master' into secret-info 2020-04-14 17:00:53 -07:00
Tony Li 4e5196dee3
Revert build_start.go 2020-04-14 16:59:31 -07:00
Thomas Frössman 4663afc0ee Add backtraces to error starlark command output 2020-04-01 17:17:00 +02:00
Thomas Boerger 06d273c353
Integrate build create command 2020-03-19 16:59:17 +01:00
Brad Rydzewski a5f8e7c245 Merge remote-tracking branch 'origin/master' 2020-01-29 12:08:11 -08:00
Brad Rydzewski c575af0a88 add active flag to filter active repos 2020-01-29 12:07:53 -08:00
sh0rez 02714e352d
feat(jsonnet): support setting extVars
`extVars` are a concept of Jsonnet that allow to inject data into the compiler
from the command line.

At Grafana, we have a build-image whose tag must be consistent across all CI
systems, so we use such an extVar for this.

To be able to adopt drone-cli (were using plain `jsonnet` before) we need this
functionality exposed :D
2019-11-16 13:11:28 +01:00
Thomas Boerger b4012c3539
Add a filter for server state 2019-10-18 10:06:12 +02:00
Thomas Boerger cb187f05cb
Add long options to server list command 2019-10-18 09:50:40 +02:00
Brad Rydzewski 6214552935 Merge remote-tracking branch 'origin/master' 2019-10-02 09:01:08 -07:00
Brad Rydzewski f28ca2f983 update repository auto-cancel fields 2019-10-02 09:00:50 -07:00
Brad Rydzewski 1308debdab
Merge pull request #155 from tboerger/template-helper
Integrate funcmap for all template executions
2019-09-23 09:27:03 -07:00
Brad Rydzewski 16a4334178
Merge pull request #153 from domgoer/feat/add_plugins
Add plugins to PrivilegedMode
2019-09-23 09:25:59 -07:00
Brad Rydzewski aba2bb291d
Merge pull request #157 from tboerger/prevent-redirect
Prevent redirects for wrong server url
2019-09-23 09:25:16 -07:00
Brad Rydzewski b417dfe5f4 added admission plugin command line tools 2019-09-19 10:22:36 -07:00
Thomas Boerger d099882402
Prevent redirects for wrong server url 2019-09-19 08:54:41 +02:00
Thomas Boerger 449618ad85
Integrate funcmap for all template executions 2019-09-19 08:48:03 +02:00
Thomas Boerger b032fbc5da
Implement build queue command 2019-09-18 22:04:13 +02:00