From 225bfbd1a8c26513e9989d0a7c26f4bc9615ad82 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Apr 08 2022 08:56:06 +0000 Subject: Update add new branch HOWTO --- diff --git a/README.md b/README.md index d000248..9ef54ee 100644 --- a/README.md +++ b/README.md @@ -106,46 +106,37 @@ And open the PR on pagure.io. #### Adding new branch definition -- Edit file [branches.dhall](FZCI.dhall/Branches.dhall) in order to add the . -- The type checker will help you to fill the places where the handling must +- Edit file [branches.dhall](FZCI.dhall/Branches.dhall) in order to add the *new-branch* +- The type checker will help you to fill the places where the *new-branch* handling must be done. If you don't have the support of Dhall in your IDE, you might want to check your edit with the type checker: ```ShellSession -cd fedora-project-config dhall <<< './FZCI.dhall/Branches.dhall' ``` #### Update jobs from fedora-zuul-jobs-config -In fedora-zuul-jobs-config - -- Edit [jobs.dhall](https://pagure.io/fedora-zuul-jobs-config/raw/master/f/zuul.d/jobs.dhall) to handle the . Again the type checker will help you. +- Edit [fedora-zuul-jobs-config/jobs.dhall](FZCI.dhall/fedora-zuul-jobs-config/jobs.dhall) to handle the *new-branch*. Again the type checker will help you. If the type checker does not complain then nothing needs to be done into that file. Then run: ```ShellSession -cd zuul.d -dhall-to-yaml --generated-comment --file jobs.dhall | python3 -mzuulfmt > jobs.yaml -# or run: make render +make render ``` #### Update jobs from fedora-zuul-jobs -In fedora-zuul-jobs - -- Edit [jobs.dhall](https://pagure.io/fedora-zuul-jobs/raw/master/f/zuul.d/jobs.dhall) in order to ensure jobs will trigger in the . Again the type checker will help you. +- Edit [fedora-zuul-jobs/jobs.dhall](FZCI.dhall/fedora-zuul-jobs/jobs.dhall) in order to ensure jobs will trigger in the *new-branch*. Again the type checker will help you. Then run: ```ShellSession -cd zuul.d -dhall-to-yaml --generated-comment --file jobs.dhall | python3 -mzuulfmt > jobs.yaml -# or run: make render +make render ``` #### Push changes