https://pulumi.com logo
#general
Title
# general
s

straight-cartoon-24485

02/12/2022, 10:59 PM
Hey there - is there a GitLab-CI YAML provider? Something like https://www.pulumi.com/learn/pulumi-fundamentals/create-docker-images/ but for GitLab pipelines development? I see https://www.pulumi.com/registry/packages/gitlab/ which manages GitLab resources, which is awesome; but not quite I'm looking for. I'm looking for a Pulumi-assisted way to building (dynamic?) GitLab-CI yaml pipelines. Same idea: use a high-level programming language to build pipelines instead of writing
gitlab-ci.yml
YAML in the DSL To make my life easier, I've stumbled on: https://github.com/firecow/gitlab-ci-local - ideally I could compile a Pulumi program to generate the
gitlab-ci.yml
and then run it locally for faster/debug-friendly dev cycles. Any alternatives?
f

freezing-van-87649

02/12/2022, 11:22 PM
Nothing I'm aware of
What would you expect in terms of resource types?
s

straight-cartoon-24485

02/13/2022, 12:34 AM
Jobs and Stages and the DAG? If I could parametrize and inherit jobs more easily (from other files), I think that would be more fun to code and debug CI/CD pipelines
👍 1
f

freezing-van-87649

02/13/2022, 1:18 AM
cool yeah, I'm definitely interested in a tool like that, just not sure if pulumi is the right abstraction
at a previous job where we were using Concourse CI (another yaml based CI system) we were generating jobs with go and the stdlib template engine... Wasn't perfect, but it was useful
👍 1
b

billowy-army-68599

02/13/2022, 3:21 AM
so there isn't something like this, but I would love to have something that generates YAML i used jkcfg for this in the past: https://github.com/jkcfg/jk but I'll take this back to product
👍 1
5 Views