Auto generate go types from yaml json schemas as part of `go generate` in taskcluster-worker

RESOLVED FIXED

Status

Taskcluster
Worker
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: pmoore, Assigned: pmoore)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
This is a prerequisite for building up the full global configuration in bug 1246643.

Each engine and plugin will have a .yml file checked in with its configuration schema represented in json schema format. This yaml will be converted to json, and then interpreted by jsonschema2go library, in order to generate source code containing go types to represent the config of each engine/plugin. These  parts are essentially what bug 1246643 will need to use in order to build the complete global config of general config, engine config and plugin config.
(Assignee)

Updated

2 years ago
Depends on: 1246652
(Assignee)

Updated

2 years ago
Depends on: 1246717
(Assignee)

Updated

2 years ago
No longer depends on: 1246652
(Assignee)

Comment 1

2 years ago
Created attachment 8720238 [details] [review]
Github Pull Request for taskcluster-worker (#21)
Attachment #8720238 - Flags: review?(jopsen)
(Assignee)

Updated

2 years ago
Assignee: nobody → pmoore
Comment on attachment 8720238 [details] [review]
Github Pull Request for taskcluster-worker (#21)

See comments on PR...
Basically, the config schemas are exposed wrong...
Feel free to merge, we can fix it later though...
Attachment #8720238 - Flags: review?(jopsen)
(Assignee)

Comment 3

2 years ago
This was later r+'d by Jonas in the PR.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.