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

Implicitly include self in dependents of a koji_build job #2509

Merged

Conversation

nforro
Copy link
Member

@nforro nforro commented Aug 26, 2024

While it is possible to omit declaring self as a dependency in bodhi_update job, it is still necessary to explicitly declare self as a dependent for the bodhi_update job to be triggered:

downstream_package_name: foo

jobs:
- job: koji_build
  trigger: commit
  sidetag_group: test
  dependents:
    - foo

- job: bodhi_update
  trigger: koji_build
  sidetag_group: test
  # dependencies:
  #   - foo

Fix that.

While it is possible to omit declaring self as a dependency
in `bodhi_update` job, it is still necessary to explicitly declare
self as a dependent for the `bodhi_update` job to be triggered:

```
downstream_package_name: foo

jobs:
- job: koji_build
  trigger: commit
  sidetag_group: test
  dependents:
    - foo

- job: bodhi_update
  trigger: koji_build
  sidetag_group: test
  # dependencies:
  #   - foo
```

Fix that.

Signed-off-by: Nikola Forró <nforro@redhat.com>
@nforro nforro requested a review from a team as a code owner August 26, 2024 16:17
Copy link
Contributor

Copy link
Member

@majamassarini majamassarini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nforro nforro added the mergeit When set, zuul wil gate and merge the PR. label Aug 27, 2024
Copy link
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/packit-service/buildset/7378269711af47cfa06aec80df82855c

✔️ pre-commit SUCCESS in 2m 09s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 6f08bb5 into packit:main Aug 27, 2024
4 checks passed
@nforro nforro deleted the implicit-dependents branch August 27, 2024 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit When set, zuul wil gate and merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants