Ok,With the svelte Web UI and its backend, I can :
trigger any new pipeline. Just fine.
Now,here is the problem :
As I would argue, You should not be able to create any new Pipeline :to create apipeline is to create it with a yaml file on git. Gitops. No unversioned Pipeline. So maybe able to add a pipeline from Web UI, but then this means that with Web UI, you just commit and push a yaml file. OK
So, absically, this isue is about this :
for the moment, If I want a new button to trigger a new Pipeline, well I have to add source code endpoint on the backend side. Ok.
but well, what I want is that if I git commit and push a new config.yaml in a new git repo, then I automatically have the trigger button inside the Web UI.This is another reason why I have to use the Github API, to discover git repos, and "set them up to start building". So not just the Circle CI API.
fine. I here note that using an API Gateway would be the best thing to achieve this : using GRavitee AI Gatewaay, I would be able to create a new API, dynamically, without changing the source code.
The "backend", behind every new API created in Gravitee, is the same : it 's the module that can trigger any pipeline, given :
a github org,
a github repo name,
the name of a git branch.
and with a HTML form, which dynamiccally adapts, on each git branch, to the pipeline parameters defined in the config.yaml
Probably same principle, to be able to after, "watch" the pipelines states.
This means, allin all,that the Circl e CI Web UI misses one very important feature , whcihc is why I started developing it :
being ableto trigger pipeline, providing pipeline parameters
Ok,With the svelte Web UI and its backend, I can :
config.yaml
in a new git repo, then I automatically have the trigger button inside the Web UI.This is another reason why I have to use the Github API, to discover git repos, and "set them up to start building". So not just the Circle CI API.config.yaml
This means, allin all,that the Circl e CI Web UI misses one very important feature , whcihc is why I started developing it :
being ableto trigger pipeline, providing pipeline parameters