-
-
-
Would you code your infra in JavaScript? Sounds terrible right? Then why go with YAML which is even more terrible?
Prikaži ovu nit -
Who remembers generating WSDL from Java and you ended up with thousands of lines of unreadable SOAP trash? Now imagine that without types, validation and on top of that indentation matters. That’s what we’re currently doing with YAML.
Prikaži ovu nit -
Now don’t get me wrong. I don’t think that JSON and YAML have no uses. I do think that describing long and complex infrastructure graphs is not that use. Use the right tool for the right job.
Prikaži ovu nit -
Use light-weight formats for light-weight use cases. Use heavy-weight formats for heavy-weight cases.
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
My pipeline uses Yaml for defining kubernetes deployment, embeded inside groovy script (Jenkins declarative pipeline syntax) embeded inside Jenkins Job DSL, declarated in a Yaml read by Jenkins Configuration as code plugin to generate the jobs that generate the jobs.
-
To read that file you have to understand: - Yaml - Groovy - Pipeline Job DSL - Declarative Pipeline - Docker - Kubernetes - Shell Script - Jenkins Configuration as code And other wizardry to make all it work together (indentation, escaped escaping characters, multilines, ...)
- Još 3 druga odgovora
Novi razgovor -
-
-
What do you actually mean by typeless? What kind of types and type system would you suggest?
-
Weak typed vs strong typed is what I meant but didn’t fit in the tweet. ;)
Kraj razgovora
Novi razgovor -
-
-
people prefer to write less with YAML, so they don't use XML. I hope nobody can think of inventing new web services with YAML
- Još 2 druga odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

