Unify the configuration of prod and stage Packit instance
We want to use both instances for all upstream jobs including the `propose-downstream` one.
For downstream, we need to pick just one instance (`stg` in our case)
and redefine it for the `koji_build` and `bodhi_update` jobs.
---
+# We want to use both instances for all upstream jobs including the `propose-downstream` one.
+# For downstream, we need to pick just one instance (`stg` in our case)
+# and redefine it for the `koji_build` and `bodhi_update` jobs.
packit_instances: ["prod", "stg"]
files_to_sync:
- packit.spec
@@ -34,7 +37,6 @@ jobs:
- job: propose_downstream
trigger: release
# Use the stage instance once it works in downstream.
- packit_instances: ["prod"]
metadata:
dist_git_branches:
- fedora-all
@@ -91,16 +93,14 @@ jobs:
# downstream automation:
- job: koji_build
trigger: commit
- # Use the stage instance once it works in downstream.
- packit_instances: ["prod"]
+ packit_instances: ["stg"]
metadata:
dist_git_branches:
- fedora-all
- epel-8
- job: bodhi_update
trigger: commit
- # Use the stage instance once it works in downstream.
- packit_instances: ["prod"]
+ packit_instances: ["stg"]
metadata:
dist_git_branches:
- fedora-latest # branched version, rawhide updates are created automatically
