forked from rhinstaller/anaconda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
branch-config.mk.j2
51 lines (41 loc) · 1.88 KB
/
branch-config.mk.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Makefile include for branch specific configuration settings
#
# Copyright (C) 2020 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Store a branch specific configuration here to avoid dealing with
# conflicts on multiple places.
{% if distro_name == "fedora" and distro_release == "rawhide" %}
# Name of the expected current git branch.
# This could be master, fedora-XX, rhel-X ...
GIT_BRANCH ?= master
# Directory for this anaconda branch in anaconda-l10n repository. This could be master, fXX, rhel-8 etc.
L10N_DIR ?= master
# Base container for our containers.
BASE_CONTAINER ?= registry.fedoraproject.org/fedora:rawhide
# COPR repo for use in container builds.
# Can be @rhinstaller/Anaconda for master, or @rhinstaller/Anaconda-devel for branched Fedora.
COPR_REPO ?= \@rhinstaller/Anaconda
{% elif distro_name == "fedora" %}
GIT_BRANCH ?= fedora-{$ distro_release $}
L10N_DIR ?= f{$ distro_release $}
BASE_CONTAINER ?= registry.fedoraproject.org/fedora:{$ distro_release $}
COPR_REPO ?= \@rhinstaller/Anaconda-devel
{% elif distro_name == "rhel" %}
GIT_BRANCH ?= rhel-{$ distro_release $}
L10N_DIR ?= rhel-{$ distro_release $}
BASE_CONTAINER ?= registry-proxy.engineering.redhat.com/rh-osbs/ubi{$ distro_release $}:latest
COPR_REPO ?= rhinstaller-group/Anaconda
{% endif %}