Mike McLean
5dc089e83c
option to use Podman instead of Docker when running unit tests
2019-11-13 15:25:16 -05:00
Mike McLean
1b02a45331
no need to update database image
2019-10-17 11:06:20 -04:00
Mike McLean
120681806b
update script options in CONTRIBUTING doc
2019-10-15 11:17:51 -04:00
Matt Prahl
73e2d1a6f7
Merge #1427 Allow running an individual test using a relative path
2019-10-02 12:09:30 +00:00
Luiz Carvalho
97be1c4737
Document how to generate DB migration scripts
...
Signed-off-by: Luiz Carvalho <lucarval@redhat.com >
2019-09-19 16:26:26 -04:00
mprahl
2fc439c860
Allow running an individual test using a relative path
...
Since the tests now run in a different location in the container
since PR #1378 , the documentation needed to be updated. Instead,
we should just allow the user to pass a relative path instead.
2019-09-18 16:01:05 -04:00
Chenxiong Qi
68fe2b69f1
Allow to run tests with PostgreSQL inside Vagrant machine
...
Signed-off-by: Chenxiong Qi <cqi@redhat.com >
2019-07-19 06:34:08 +08:00
Chenxiong Qi
5f93a47051
Allow to run specific test inside container
...
For example, contrib/run-unittests.sh /src/tests/test_utils ...
Please note that the path starts from /src, which is the root directory of
code inside container.
Signed-off-by: Chenxiong Qi <cqi@redhat.com >
2019-06-21 10:48:10 -04:00
Chenxiong Qi
630f7b4e18
Allow to run tests with PostgreSQL inside container
...
This patch introduces a new environment variable in order to allow running
tests with different database backend. This is useful particularly for running
tests inside container. With this change, it is possible run tests in following
combinations:
* Python 2 and SQLite
* Python 3 and SQLite
* Python 2 and PostgreSQL
* Python 3 and PostgreSQL
Package python-psycopg2 is installed in both Dockerfile-tests and
Dockerfile-tests-py3 in case of running tests with PostgreSQL.
A new script contrib/run-unittests.sh is added to make it easy to run tests. An
example:
contrib/run-unittests.sh --py3 --with-pgsql
that runs tests with Python 3 and PostgreSQL.
Signed-off-by: Chenxiong Qi <cqi@redhat.com >
2019-06-17 22:47:23 +08:00
Hunor Csomortáni
1848350e13
Document updating the test images in Quay.io
...
Signed-off-by: Hunor Csomortáni <csomh@redhat.com >
2019-06-12 08:31:39 +02:00
Hunor Csomortáni
9b90836595
Document using images from Quay.io for testing
...
Signed-off-by: Hunor Csomortáni <csomh@redhat.com >
2019-06-12 08:31:39 +02:00
Hunor Csomortáni
7db21b7385
Contributing: replace docker with podman
...
Recommend using podman instead of docker because:
* one can spin up containers without sudo with podman;
* docker in Fedora has a really old version, and probably will be
depercated at some point.
Signed-off-by: Hunor Csomortáni <csomh@redhat.com >
2019-06-11 14:04:30 +02:00
mprahl
53ba1513e2
Add a code style guide
2019-05-10 13:02:27 +00:00
mprahl
63c7a35e4b
Instruct the user to delete the container after the test is run
2019-03-15 12:06:51 -04:00
Merlin Mathesius
9974d48709
Correct reStructuredText markup in docs
...
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com >
2019-01-10 15:33:15 -06:00
mprahl
83d7d96141
Use a volume when running the unit tests instead of copying the source in the image
2018-06-14 08:54:27 -04:00
mprahl
c44686349e
Remove no longer applicable documentation section on message signing
2018-04-04 10:53:53 -04:00
mprahl
a4903876f2
Remove deprecated mbs-build tool
2018-04-03 10:09:29 -04:00
mprahl
20d68628d2
Add a Dockerfile for running unit tests on CentOS
2018-04-03 09:58:57 -04:00
mprahl
ea1fc93325
Remove the Docker development environment
...
This development environment has not been maintained in a long time
and it doesn't work anymore. Let's remove it for now and reintroduce
containers when we start using OpenShift for development.
2018-04-03 09:58:57 -04:00
mprahl
ff18d76dc4
Move the Vagrant synced folder to /opt/module_build_service
2018-01-18 14:01:58 -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
mprahl
3821847829
Use SSHFS to sync folders in Vagrant with the libvirt provider
2017-09-11 16:39:03 -04:00
Filip Valder
2e2856169a
Update and reformat README, CONTRIBUTING guide and sync code comments
2017-08-25 14:45:42 +02:00
Filip Valder
d545822425
Language corrections, thanks to @mprahl
2017-05-24 14:25:18 +02:00
Filip Valder
176a99f022
Fix #324 : Add 'Running Tests' section
2017-05-23 11:34:05 +02:00
Jakub Kadlčík
1a18a601a1
Suggest the host starting with https
2017-05-16 13:45:25 +02:00
Ralph Bean
668f0d3d9b
Update contributing docs with mbs-build.
...
Fixes #496 .
2017-05-04 12:51:56 -04:00
Filip Valder
6b343896dd
s/rida/mbs/
2017-02-28 17:59:02 +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
89351fbc24
Re-factor configuration loading, fix default topics (shall be a list),
...
update docs.
2017-01-31 14:00:15 +01:00
Filip Valder
809820144d
hint on getting outputs
2017-01-05 14:49:10 +01:00
Filip Valder
c5227283b4
- partially update docs and re-format it
...
- add 'Module submission' section
- language fixes, thx to @mprahl
2016-12-21 12:28:44 +01:00
Filip Valder
7762fb7adb
communication with pdc-updater devel + docs
2016-12-16 12:42:16 +01:00
Matt Prahl
f2a02027a9
Fix Vagrant
2016-12-15 16:27:17 -05:00
Filip Valder
ee3472338c
remove yet another whitespace
2016-12-09 15:18:34 +01:00
Filip Valder
c82480f7dd
thx to @mprahl for native language support :)
2016-12-09 15:13:24 +01:00
Filip Valder
ae14994651
various small fixes, like Mon -> Tue :)
2016-12-09 13:33:42 +01:00
Filip Valder
d114e8d905
docs regarding MODULE_BUILD_SERVICE_DEVELOPER_ENV
2016-12-09 13:32:38 +01:00
Matt Prahl
392a53d88b
Fix Vagrant and add libvirt support
2016-12-07 09:02:42 -05:00
Filip Valder
9220b8cb0f
update docker-compose/vagrant instructions
2016-12-05 15:18:26 +01:00
Filip Valder
6d9446de8d
docs update
2016-11-21 22:54:18 +01:00
Matt Prahl
03df8d5865
Move docs to docs folder
2016-11-16 16:16:43 -05:00