tripleo-quickstart-extras/roles/build-test-packages/templates/projects.ini.j2

60 lines
2.1 KiB
Django/Jinja

[DEFAULT]
datadir=./data
scriptsdir=./scripts
baseurl={{ dlrn_baseurl }}
distro=rpm-master
source=master
target={{ dlrn_target }}
smtpserver=
reponame=delorean
#templatedir=$VIRTUAL_ENV/dlrn/templates
maxretries=3
{% if osp_release is defined %}
pkginfo_driver=dlrn.drivers.downstream.DownstreamInfoDriver
{% else %}
pkginfo_driver=dlrn.drivers.rdoinfo.RdoInfoDriver
{% endif %}
tags=
rsyncdest=
rsyncport=22
workers=1
gerrit_topic=rdo-FTBFS
database_connection=sqlite:///commits.sqlite
fallback_to_master=1
use_components={{ use_components }}
{% if osp_release is defined %}
# Details about `release_numbering` and `release_minor` can be found at
# at https://dlrn.readthedocs.io/en/latest/installation.html
# There default values are `0.date.hash` and `0` respectively.
# We are only setting these for downstream case when osp_release
# is defined. For downstream case, we are hardcoding release_numbering=minor.date.hash
# and then just set the release_minor value based on the OSP version
# (e.g. 0 for 16/16.0, 1 for 16.1, 2 for 16.2 etc).
release_numbering=minor.date.hash
release_minor={{ '0' if '.' not in osp_release.split('-')[1] else osp_release.split('-')[1].split('.')[1] }}
[downstream_driver]
info_files=osp.yml
versions_url=https://trunk.rdoproject.org/centos{{ ansible_distribution_major_version }}-{{ release }}/current/versions.csv
downstream_distro_branch={{ osp_release }}{{ '.0' if '.' not in osp_release else '' }}-rhel-8-trunk
downstream_tag=osp-{{ osp_release.split('-')[1] }}{{ '.0' if '.' not in osp_release else '' }}
downstream_distgit_key=osp-distgit
use_upstream_spec=true
downstream_spec_replace_list=^%global with_doc.+/%global with_doc 0,^%global rhosp.*/%global rhosp 1
{% endif %}
[gitrepo_driver]
# Options to be specified if pkginfo_driver is set to
# dlrn.drivers.gitrepo.GitRepoDriver
#
#repo=http://github.com/openstack/rpm-packaging
#directory=/openstack
#skip=openstack-macros,keystoneauth1
#use_version_from_spec=1
[mockbuild_driver]
# options to be specified if build_driver is set to
# dlrn.drivers.mockdriver.MockBuildDriver
# We want to prevent the package from being installed in the Mock env
install_after_build=0