-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
23 lines (17 loc) · 856 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# zuul koji toolbox
## On koji, to enable sf-ci to create package:
Add to /etc/koji-hub/hub.conf, [policy] section
package_list = all :: allow
Then restart httpd
## Prepare runtime for zuul_rpm_build.py
sudo yum install mock rpm-build rpmdevtools createrepo python-jinja2 python-semantic_version python-requests
sudo rsync -a rpm-gpg/ /etc/pki/rpm-gpg/
sudo usermod -a -G mock $USER
sudo mkdir /var/lib/sf
sudo ln -s /home/$SUDO_USER/zuul-rpm-build /var/lib/sf/zuul-rpm-build
sudo sed -i 's/\(%dist .el7\).*/\1/' /etc/rpm/macros.dist
## Release process
Check create-release.org from the www.softwarefactory-project.io repository.
## Cleanup zuul config and resources
./tools/get_package_lists.py sf-*.yaml | ./tools/clean_zuul_config.py ./zuul.d/*
./tools/get_package_lists.py sf-*.yaml | ./tools/clean_sf_resources.py ../config/resources/scl.yaml