Enable koji-flatpak on production
Enable the plugin on production, not just on staging. Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
This commit is contained in:
parent
db450f7313
commit
aaec95b064
5 changed files with 7 additions and 6 deletions
|
@ -89,6 +89,11 @@
|
|||
- role: btrfs
|
||||
btrfs_balance_period: weekly
|
||||
# push built Flatpaks to candidate registry
|
||||
- role: login-registry
|
||||
candidate_registry: "candidate-registry.fedoraproject.org"
|
||||
candidate_registry_osbs_username: "{{candidate_registry_osbs_username}}"
|
||||
candidate_registry_osbs_password: "{{candidate_registry_osbs_password}}"
|
||||
when: env == "production"
|
||||
- role: login-registry
|
||||
candidate_registry: "candidate-registry.stg.fedoraproject.org"
|
||||
candidate_registry_osbs_username: "{{candidate_registry_osbs_stg_username}}"
|
||||
|
|
|
@ -128,12 +128,11 @@
|
|||
package: name=koji-flatpak-builder state=present
|
||||
tags:
|
||||
- koji_builder
|
||||
when: env == "staging"
|
||||
|
||||
- name: configure flatpak-builder plugin
|
||||
template: src=flatpak.conf dest=/etc/kojid/plugins/flatpak.conf
|
||||
vars:
|
||||
candidate_registry: "candidate-registry.stg.fedoraproject.org"
|
||||
candidate_registry: "candidate-registry{{ env_suffix }}.fedoraproject.org"
|
||||
notify:
|
||||
- restart kojid
|
||||
tags:
|
||||
|
|
|
@ -121,9 +121,7 @@ keytab = /etc/kojid/kojid.keytab
|
|||
|
||||
{{ plugins.append("scmpolicy") }}
|
||||
|
||||
{% if env == 'staging' %}
|
||||
{{ plugins.append("flatpak") }}
|
||||
{% endif %}
|
||||
|
||||
; Config for the runroot plugin lives in /etc/kojid/runroot.conf, if enabled
|
||||
plugins = {{ plugins | join(" ") }}
|
||||
|
|
|
@ -210,7 +210,6 @@
|
|||
package: name=koji-flatpak-hub state=present
|
||||
tags:
|
||||
- koji_hub
|
||||
when: env == "staging"
|
||||
|
||||
#
|
||||
# install keytabs
|
||||
|
|
|
@ -90,7 +90,7 @@ MissingPolicyOk = False
|
|||
{% if env == "staging" %}
|
||||
Plugins = osbuild koji-fedoramessaging runroot_hub hub_containerbuild tag2distrepo sidetag_hub save_failed_tree flatpak
|
||||
{% else %}
|
||||
Plugins = osbuild koji-fedoramessaging runroot_hub hub_containerbuild tag2distrepo sidetag_hub save_failed_tree
|
||||
Plugins = osbuild koji-fedoramessaging runroot_hub hub_containerbuild tag2distrepo sidetag_hub save_failed_tree flatpak
|
||||
{% endif %}
|
||||
[policy]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue