Update the FMN build branch after rename

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2023-04-14 15:17:45 +02:00
parent f8298289e5
commit 88ece28c32
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -13,13 +13,7 @@ spec:
type: Git type: Git
git: git:
uri: https://github.com/fedora-infra/fmn.git uri: https://github.com/fedora-infra/fmn.git
{% if env == "staging" %} ref: {{ (env == 'production')|ternary('stable', 'staging') }}
ref: fmn-next
{% else %}
# For now, build from fmn-next as well.
# ref: stable
ref: fmn-next
{% endif %}
contextDir: / contextDir: /
strategy: strategy:
type: Source type: Source
@ -42,8 +36,7 @@ spec:
triggers: triggers:
- type: ConfigChange - type: ConfigChange
- type: ImageChange - type: ImageChange
# Enable triggered rebuild on prod for now, will disable when we actually go live {% if env == 'staging' %}
{% if env == 'staging' or env == 'production' %}
- type: GitHub - type: GitHub
github: github:
# Not sure why secretReference does not work, but it doesn't. # Not sure why secretReference does not work, but it doesn't.