| |
@@ -106,46 +106,37 @@
|
| |
|
| |
#### Adding new branch definition
|
| |
|
| |
- - 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
|
| |
+ - 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 <new-branch>. 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 <new-branch>. 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
|
| |