Experimental: modified version of Kambui Nurse's spectral package#2450
Conversation
|
@shykes made PR against your repo with lint fix. Let me know if that element is necessary. |
|
|
||
| // Location of JSON/YAML documents. | ||
| // Can be either a file, a glob or fetchable resource(s) on the web. | ||
| // Example: ["*.json", "*.yaml", "https://github.com/dagger/dagger/docker-compose.yaml"] |
There was a problem hiding this comment.
note @Siafu I was wrong, spectral supports globs natively, no shell expansion necessary
| } | ||
| // Ugly hack to override the entrypoint from the default image | ||
| // FIXME: how do we tuck this into the scope of the default image? | ||
| entrypoint: [] |
There was a problem hiding this comment.
You can use docker.#Set to override the default image.
_buildDefaultImage: docker.#Build & {
steps: [
docker.#Pull & {
source: "stoplight/spectral"
},
docker.#Set & {
config: entrypoint: []
},
]
}
TomChv
left a comment
There was a problem hiding this comment.
That's a complete package, nice work 🚀
|
EDIT: I am no longer stuck. There was a glitch in the Github UI which hid the "arrow" to expand the logs around the error. Thanks to everyone who helped me on discord :) I'm stuck on a cue lint error... I've updated my branch with
So I'm stuck. Any help would be appreciated :) |
Signed-off-by: Solomon Hykes <solomon@dagger.io>
|
Thanks all! |

No description provided.