#108 Add install_repo_exclude for systemd
Closed 3 years ago by fbo. Opened 3 years ago by tdecacqu.
tdecacqu/fedora-zuul-jobs-config systemd-exclude  into  master

file modified
+10
@@ -15,6 +15,16 @@ 

        - publish

  

  - project:

+     name: rpms/systemd

+     vars:

+       install_repo_exclude:

+         # Ignore those package that always conflict

+         - systemd-standalone-tmpfiles

+         - systemd-standalone-sysuser

+     templates:
fbo commented 3 years ago

I don't think we want the publish template here.

+       - publish

+ 

+ - project:

      name: rpms/python-gear

      templates:

        - publish

Build succeeded.

But why should that be part of the "global" configuration? I would very much prefer to set this internally in my package, and only for specific branches where certain subpackages are created.

That is because zuul is configured to not look for configuration in distgit repository, we can remove that line https://pagure.io/fedora-project-config/blob/master/f/resources/fedora-distgits.yaml#_619 so that we can add a .zuul.yaml in the rpms/systemd repository if you prefer.

so that we can add a .zuul.yaml in the rpms/systemd repository if you prefer.

What that entail copying any of the zuul configuration? I don't want to include any big configuration in the repo, because it'd quickly become stale. A simple file with a few lines and the excludes would be ideal.

Zuul will still merge the other project configuration matching the rpms/systemd project, so you would be able to just add:

- project:
    vars:
      install_repo_exclude:
        # Ignore those package that always conflict                                                                                                                                                                                                                                                                                                                                                                                          
        - systemd-standalone-tmpfiles
        - systemd-standalone-sysuser

Sounds good. Though if you could open a PR with the right changes, I'd be very grateful.

I don't think we want the publish template here.

@zbyszek sure, i'll propose the change to rpms/systemd to check that works.

Pull-Request has been closed by fbo

3 years ago
Metadata