Skip to content

Commit

Permalink
fix: jinja2 templating
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Jul 19, 2024
1 parent 159b1af commit ee6d3dd
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions anda/terra/mock-configs/terra.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,25 @@ enabled_metadata=1
metadata_expire=4h

# Only used for multilib builds, pulls straight from fedora koji
[local]
# Use /rawhide/latest instead of /f{{ releasever }}-build/latest for rawhide
[local-f{{ releasever }}-build]
name=local
baseurl=https://kojipkgs.fedoraproject.org/repos/f{{ releasever }}-build/latest/$basearch/
cost=2000
enabled={{ not mirrored }}
# enabled only if not mirrored, and not rawhide
enabled={% if not mirrored and releasever != 'rawhide' %}1{% else %}0{% endif %}
skip_if_unavailable=False

[local-rawhide-build]
name=local-rawhide
baseurl=https://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/
cost=2000
# enabled only if not mirrored, and rawhide
enabled={% if not mirrored and releasever == 'rawhide' %}1{% else %}0{% endif %}
skip_if_unavailable=False




{% if mirrored %}
[fedora]
Expand Down

0 comments on commit ee6d3dd

Please sign in to comment.