Chenxiong Qi
eccb239dd4
Refine Vagrantfile
...
Major change is to create a dedicated Python virtual environment for MBS
instead of installing required packages (listed in requirements) into
system site-packages directory.
This would be convenient for developer to install other Python packages
via package manager, for example to install rhpkg. I found an issue when
I installed rhpkg in original Vagrant machine, that is whole kobo
package is installed via pip, and `dnf install rhpkg' will result in
python2-kobo is installed and then it fails to import module
kobo.rpmlib. The fix is I have to install python2-kobo-rpmlib via dnf
again. With this change, this issue could be avoided. Two environments
are separated rather than mixed together.
Another two minor improvements base on this change are, after logging
into the machine, 1) the virtual environment is activated automatically,
and 2) change working directory to /opt/module_build_service.
Signed-off-by: Chenxiong Qi <cqi@redhat.com >
2018-11-05 17:16:19 +08:00
Jan Kaluza
0d66adbc17
Add list of built RPMs to architecture specific modulemd files in CG builds.
2018-09-12 07:45:46 +02:00
mprahl
0a9119f720
Use the latest libmodulemd in Vagrant
2018-05-21 12:21:29 -04:00
mprahl
ee3ad85eb8
Workaround to get manage.py working in Vagrant
2018-04-04 10:50:44 -04:00
mprahl
bed9bf7a87
Remove the dependency on python-systemd
2018-04-03 09:58:57 -04:00
mprahl
8dfdeaf33b
Use the latest libmodulemd in the Vagrant environment
2018-04-03 09:58:57 -04:00
mprahl
26d49f23ec
Install python-solv in Vagrant
2018-04-03 09:58:57 -04:00
mprahl
0c7fab3f65
Update Vagrant to use Fedora 27
2018-04-03 09:58:57 -04:00
mprahl
f0852d9009
Port to libmodulemd and support v2 modulemd without module stream expansion
2018-04-03 09:58:57 -04:00
Yash Nanavati
1d3fd2af64
Minor changes towards Python 3 Compatability
2018-02-28 09:01:51 -05:00
Ralph Bean
0da5def20f
Merge #839 Move the Vagrant synced folder to /opt/module_build_service
2018-01-22 08:02:20 +00:00
mprahl
55d07aa8f5
Use Koji repos if possible during local builds
2018-01-18 17:02:03 -05:00
mprahl
ff18d76dc4
Move the Vagrant synced folder to /opt/module_build_service
2018-01-18 14:01:58 -05:00
mprahl
bc4a612b38
Stop using site_packages when running tox
2018-01-08 08:59:14 -05:00
mprahl
c0ec0f82c1
Remove urlgrabber as a dependency
2018-01-03 10:21:37 -05:00
mprahl
5d03dda637
Install python-urlgrabber to allow local builds
...
See https://github.com/rpm-software-management/urlgrabber/pull/5 for the backstory.
2017-11-13 15:27:12 -05:00
mprahl
0e401cdab9
Default dev configuration to build modules locally
2017-11-13 14:09:07 -05:00
mprahl
fe5a749251
Remove outdated PDC and PDC-Updater instructions
2017-11-13 14:00:50 -05:00
mprahl
0a1c270ff8
Don't require Kerberos cache since we can't even use stage Koji to build modules anymore
2017-11-13 14:00:50 -05:00
Ralph Bean
0e9ccb1895
Remove old SSL config options.
...
We used to do x509 authn a long time ago. We have since stopped doing
that, but we kept all of thise confusing SSL/TLS support stuff.
This removes all that, and fixes #685 .
2017-10-04 11:37:17 +02:00
mprahl
b104850fd7
Fix Vagrant SSHFS issue
2017-09-19 14:07:12 -04:00
mprahl
3821847829
Use SSHFS to sync folders in Vagrant with the libvirt provider
2017-09-11 16:39:03 -04:00
mprahl
b2f07c13e0
Update Vagrant box to Fedora 26 and include some fixes
2017-09-11 16:31:48 -04:00
Jan Kaluza
1d8bc3e33a
Use concurrent.futures instead of our own ThreadPool implementation
2017-02-21 08:02:50 +01:00
Matt Prahl
219da6c760
Have the Kerberos ticket be located at /tmp/mbs-krbcc instead of /var/tmp/krbcc
2017-02-17 17:16:04 -05:00
Filip Valder
13a6345548
config values for increasing VM's memory/cpu
2017-02-01 20:23:41 +01:00
Filip Valder
c51adf1796
get rid of 'WARNING - Cannot find qpid python module. Make sure you have python-qpid installed.'
2017-01-18 16:24:28 +01:00
Matt Prahl
90bf826c9a
Fix port forwarding in Vagrant
2017-01-12 13:01:49 -05:00
Filip Valder
5ea74fec20
fix scheduler (ensure existing entry points, fix mbsproducer->mbspoller)
2017-01-11 15:23:52 +01:00
Filip Valder
25503a0b7b
separate script section for running services; forward communication to 127.0.0.1
2017-01-05 13:46:43 +01:00
Filip Valder
d7e74b5a0f
hosts record for fedmsg-relay
2017-01-05 13:45:35 +01:00
Filip Valder
7762fb7adb
communication with pdc-updater devel + docs
2016-12-16 12:42:16 +01:00
Filip Valder
c02eb754c5
install test-requirements.txt in docker/vagrant (use the same way)
2016-12-16 12:38:37 +01:00
Matt Prahl
f2a02027a9
Fix Vagrant
2016-12-15 16:27:17 -05:00
Matt Prahl
261549c8c2
Migrate scheduler to be run by fedmsg-hub
2016-12-15 16:27:15 -05:00
Matt Prahl
41187110b5
Add Vagrant support to submit_build.py
2016-12-15 16:16:24 -05:00
Matt Prahl
e9d0ec898b
Use test database instead of in-memory database for all tests for consistency
2016-12-12 09:00:44 -05:00
Filip Valder
c6e5c38ae3
fix: set env vars at the very beginning and source them immediately -> results in affecting not only bash but all vagrant's environment
2016-12-09 13:27:06 +01:00
Matt Prahl
15b5cf11b9
Fix default path for pki_dir
2016-12-07 09:24:33 -05:00
Matt Prahl
22fbacdc20
Use 'python setup.py develop' instead so that local syncing works
2016-12-07 09:24:33 -05:00
Matt Prahl
392a53d88b
Fix Vagrant and add libvirt support
2016-12-07 09:02:42 -05:00
Filip Valder
2b7cf817a6
sort on you
2016-12-07 13:26:42 +01:00
Filip Valder
4c2cccc185
alter Docker-/Vagrantfile so that it installs all dependencies and use 'python setup.py install' for MBS installation
2016-12-05 15:18:26 +01:00
Jakub Kadlčík
c9f5c3c3a9
Install fedpkg for CoprModuleBuilder and MockModuleBuilder
2016-12-01 02:16:10 +01:00
Filip Valder
f2cd0a3033
runtime config files moved to conf/ directory
2016-11-21 22:49:57 +01:00
Matt Prahl
7857f3a373
Remove krb5-stg.fp.o
2016-11-16 16:26:59 -05:00
Matt Prahl
02c245961b
Start fedmsg-relay on boot in Vagrant
2016-11-16 15:24:16 -05:00
Filip Valder
98c201370b
fix: remove 'src' component in the path to module_build_service (just to be in sync with Dockerfiles)
2016-11-11 15:17:27 +01:00
Matt Prahl
5dff72c903
Migrate Vagrant to use Kerberos auth instead of certs
2016-10-28 16:25:33 -04:00
Courtney Pacheco
3be788f602
Updating 'module_build_service/config.py' and adding 'python-mock' to Vagrantfile
2016-10-26 04:21:01 -04:00