I need to sign a .drone.jsonnet configuration file, and potentially a Starlark config also (we are currently using both, although might standardize on the former). How can I do this? When I tried, it looked as if the server tried to interpret the Jsonnet code as YAML, and failed to parse.
Update: I also tried the following:
- Convert Jsonnet to YAML
- Sign YAML
- Put signature in Jsonnet code
That approach doesn’t work either, the server doesn’t accept the signature.