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
|
- role: btrfs
|
||||||
btrfs_balance_period: weekly
|
btrfs_balance_period: weekly
|
||||||
# push built Flatpaks to candidate registry
|
# 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
|
- role: login-registry
|
||||||
candidate_registry: "candidate-registry.stg.fedoraproject.org"
|
candidate_registry: "candidate-registry.stg.fedoraproject.org"
|
||||||
candidate_registry_osbs_username: "{{candidate_registry_osbs_stg_username}}"
|
candidate_registry_osbs_username: "{{candidate_registry_osbs_stg_username}}"
|
||||||
|
|
|
@ -128,12 +128,11 @@
|
||||||
package: name=koji-flatpak-builder state=present
|
package: name=koji-flatpak-builder state=present
|
||||||
tags:
|
tags:
|
||||||
- koji_builder
|
- koji_builder
|
||||||
when: env == "staging"
|
|
||||||
|
|
||||||
- name: configure flatpak-builder plugin
|
- name: configure flatpak-builder plugin
|
||||||
template: src=flatpak.conf dest=/etc/kojid/plugins/flatpak.conf
|
template: src=flatpak.conf dest=/etc/kojid/plugins/flatpak.conf
|
||||||
vars:
|
vars:
|
||||||
candidate_registry: "candidate-registry.stg.fedoraproject.org"
|
candidate_registry: "candidate-registry{{ env_suffix }}.fedoraproject.org"
|
||||||
notify:
|
notify:
|
||||||
- restart kojid
|
- restart kojid
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -121,9 +121,7 @@ keytab = /etc/kojid/kojid.keytab
|
||||||
|
|
||||||
{{ plugins.append("scmpolicy") }}
|
{{ plugins.append("scmpolicy") }}
|
||||||
|
|
||||||
{% if env == 'staging' %}
|
|
||||||
{{ plugins.append("flatpak") }}
|
{{ plugins.append("flatpak") }}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
; Config for the runroot plugin lives in /etc/kojid/runroot.conf, if enabled
|
; Config for the runroot plugin lives in /etc/kojid/runroot.conf, if enabled
|
||||||
plugins = {{ plugins | join(" ") }}
|
plugins = {{ plugins | join(" ") }}
|
||||||
|
|
|
@ -210,7 +210,6 @@
|
||||||
package: name=koji-flatpak-hub state=present
|
package: name=koji-flatpak-hub state=present
|
||||||
tags:
|
tags:
|
||||||
- koji_hub
|
- koji_hub
|
||||||
when: env == "staging"
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# install keytabs
|
# install keytabs
|
||||||
|
|
|
@ -90,7 +90,7 @@ MissingPolicyOk = False
|
||||||
{% if env == "staging" %}
|
{% if env == "staging" %}
|
||||||
Plugins = osbuild koji-fedoramessaging runroot_hub hub_containerbuild tag2distrepo sidetag_hub save_failed_tree flatpak
|
Plugins = osbuild koji-fedoramessaging runroot_hub hub_containerbuild tag2distrepo sidetag_hub save_failed_tree flatpak
|
||||||
{% else %}
|
{% 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 %}
|
{% endif %}
|
||||||
[policy]
|
[policy]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue