1
0
mirror of https://github.com/drone/drone-cli.git synced 2024-11-26 06:07:05 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
Sean Ryan
55e0addb31
Add support for jpath in jsonnet (#224)
* Add support for jpath in jsonnet
Co-authored-by: TP Honey <tp@harness.io>
2022-12-06 12:30:36 +00: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
Brad Rydzewski
984c5ecc2e
Update jsonnet.go 2021-05-27 17:47:51 -04: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
Brad Rydzewski
bbc1607fb4 rollback parseYaml native jsonnet function 2018-11-27 10:42:38 -08:00
Brad Rydzewski
c1aa9f43e5 initial implementation for #387 2018-11-26 13:32:34 -08:00
Brad Rydzewski
8ab39ea77b support for latest drone-go 0.9 2018-09-20 16:04:58 -07:00
Brad Rydzewski
8e04327c6b update jsonnet with format 2018-09-14 17:25:54 -07:00
Brad Rydzewski
02a5df28f8 added v1 stdlib 2018-08-27 17:41:34 -07:00
Brad Rydzewski
44a3168d39 remove libsonnet plugins for now 2018-08-26 23:11:03 -07:00
Brad Rydzewski
866a1ff755 added drone jsonnet stdlib 2018-08-26 19:40:06 -07:00
Brad Rydzewski
54e0c76f97 adds experimental jsonnet command 2018-05-14 11:03:05 -07:00