Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure-jenkins-controller: use CASC for jobs #361

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

flokli
Copy link
Collaborator

@flokli flokli commented Feb 4, 2025

This configures Jenkins Jobs via CASC.
We parse the existing CASC in, and extend it with the jobs key.

This removes the jenkins-job-builder unit entirely.

Closes #324.

This changes the jenkins-casc variable to be a data structure, which can
be extended later on.

We write it out to JSON (which is also valid YAML of course), to be
re-ingested by Jenkins.

We cannot keep YAML as an input format, as Nix cannot parse YAML without
using IFD.

Signed-off-by: Florian Klink <flokli@flokli.de>
This means we can stop using jenkins-job-builder, which wants to
authenticate using jenkins-cli.

Signed-off-by: Florian Klink <flokli@flokli.de>
@joinemm
Copy link
Collaborator

joinemm commented Feb 4, 2025

might as well write the whole casc inline in the nix config instead of using intermediary toml step to combine these

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants