Silvie Chlupova
003303a065
Garbage collection script
...
This makes subsequent git clones from the dist-git machine much more IO effective and faster.
It also saves disk space. It cleans up all unnecessary files.
The dist-git-gc script will run monthly.
2020-09-25 15:23:12 +02:00
Michal Novotný
c30673c51c
Merge pull request #40 from praiskup/selinux-optional-dep
...
Don't depend on dist-git-selinux inside containers
2020-07-28 22:06:36 +02:00
Pavel Raiskup
79fcac3fd1
Don't depend on dist-git-selinux inside containers
...
Container environments usually don't have the selinux-policy-targeted
package installed, and SELinux isn't enabled from the "inside"
perspective.
Therefore, let's don't depend on the selinux sub-package as long as
the selinux-policy-targeted package isn't installed. This
dependency conditional idiom is for quite some time used in
copr-backend.spec (and friends) with the corresponding copr-selinux
package.
2020-07-28 15:45:09 +02:00
Michal Novotný
4384c300a3
Merge pull request #39 from praiskup/fix-links
...
Fix links to example deployments
2020-06-30 10:21:11 +02:00
Pavel Raiskup
a8b4b8903c
Fix links to example deployments
...
The cgit links don't seem to work.
2020-06-30 10:11:59 +02:00
Pierre-Yves Chibon
9415fff005
Fix the topic of the notifications sent on the bus
...
In the fedmsg world this was done by the modname passed to the
fedmsg.publish() function but in fedora-messaging there is no
such concept, so we need to pass the exact/correct topic.
This commit fixes that.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-17 17:33:21 +02:00
Pierre-Yves Chibon
b3701269f5
Log a little more information when a generic error is caught
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-17 17:33:21 +02:00
clime
d70acba297
fix error messages for fedora messaging
2020-06-15 11:56:08 +02:00
Michal Novotný
2db8948ea0
Merge pull request #37 from praiskup/suggest-fedmsg
...
Only "suggest" fedmsg, don't "recommend"
2020-06-12 18:12:23 +02:00
Pavel Raiskup
0b99a8ab09
Only "suggest" fedmsg, don't "recommend"
...
Aka do the same we do for fedora-messaging.
2020-06-11 16:37:47 +02:00
Michal Novotný
bb2153d44b
Merge pull request #36 from pypingou/fedora-messaging
...
Add support for fedora-messaging notifications
2020-06-11 15:00:37 +02:00
Pierre-Yves Chibon
a2d334e898
Add support for fedora-messaging notifications
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-11 14:40:57 +02:00
Michal Novotný
d749fa164a
Merge pull request #35 from FrostyX/static-port-number-for-tests
...
Use fixed port number for our python tests
2020-05-25 01:14:38 +02:00
Jakub Kadlcik
a9e1187441
Revert "disable unit tests as they do not pass with network disabled during build"
...
This reverts commit 1a3ca4219f
.
2020-05-25 01:10:35 +02:00
Jakub Kadlcik
60c3bc46b8
Use fixed port number for our python tests
...
Randomly generated port numbers worked just find on developer's
machines but Koji have issues with some of the numbers. Let's not
burn hours trying to figure out which ports work and which doesn't
and just settle on one fixed number. It is more deterministic and
reproducible anyway.
2020-05-25 01:10:33 +02:00
clime
7d376539a3
version bump
2020-05-21 11:20:11 +02:00
clime
1a3ca4219f
disable unit tests as they do not pass with network disabled during build
2020-05-21 11:18:32 +02:00
clime
bf52a7afe5
version bump
2020-05-21 09:01:16 +02:00
Michal Novotný
d00568ddfa
Update README.md
2020-05-17 14:43:13 +02:00
Michal Novotný
20f21edc92
Update README.md
2020-05-17 14:40:27 +02:00
Michal Novotný
6fa7d7e6dc
Merge pull request #33 from release-engineering/issue#30
...
Issue#30
2020-05-16 22:16:15 +02:00
clime
39548c2e37
add note about problems with default vagrant file ownership
2020-05-16 22:07:40 +02:00
clime
4706a01553
remove recommendation about using container or virtual machine to run the tests
2020-05-16 20:09:06 +02:00
clime
3141fb7ff9
add mention about beaker-tests/README.md into top-level README.md
2020-05-16 20:08:37 +02:00
clime
6f088ecc39
run grok-mirror related tests only if grok-mirror is installed
...
it currently isn't available on epel-8
see: https://bugzilla.redhat.com/show_bug.cgi?id=1833811
2020-05-16 18:09:00 +02:00
clime
24f8888e07
install test deps by a single command in beaker-tests/setup.sh
2020-05-16 18:08:18 +02:00
Jakub Kadlcik
0dccddc189
Use nosetests-3 command on python3 distributions
2020-05-16 17:13:07 +02:00
clime
c0ac987135
apply e499ce6916
fix to other vms too
2020-05-16 16:32:08 +02:00
Jakub Kadlcik
e499ce6916
Build the dist-git package as non-root user
...
It fixes permission erros when building the package during
provisioning. If you already have existing instance with
broken permissions, manually run
[vagrant@localhost ~]$ sudo chown -R vagrant:vagrant /tmp/tito/
2020-05-16 16:19:45 +02:00
clime
4c12b62c78
remove redundant commas in README.md for beaker-tests
2020-05-14 07:09:56 +02:00
clime
040b32b967
fix typo
2020-05-14 07:08:27 +02:00
clime
f0a8301003
slight beaker-tests/README.md tweaks
2020-05-14 03:32:31 +02:00
clime
4e8b7531d7
add README.md for beaker-tests
2020-05-14 03:20:27 +02:00
clime
e4cce61596
fixes for epel-8 Vagrantfile
2020-05-13 09:07:45 +02:00
clime
541924646d
comment tweak
2020-05-13 09:07:45 +02:00
clime
47fcf75151
packaging fixes for epel8
...
we want to have Requires: moreutils once possible
2020-05-13 09:07:45 +02:00
clime
9f5cc729ef
disable rhpkg tests as it is not a public tool
2020-05-13 09:00:33 +02:00
clime
1a80ec16a9
raise memory for Vagrantfile **, add explaining comment for "distgit" where it should be "dist-git"
...
** libvirt specific, regrettably
2020-05-13 09:00:33 +02:00
clime
c54109e8f0
update fedpkg config for f31 fedpkg
2020-05-13 09:00:33 +02:00
clime
e86faa6965
use f32 instead of f31 in Vagrantfile, fix definition for centos
2020-05-13 09:00:33 +02:00
clime
c9715b953e
use rpkg for epel8
2020-05-13 09:00:33 +02:00
clime
5965ea4148
add vagrant definition for CentOS 8, try to use dist-git or DistGit where possible
2020-05-13 09:00:33 +02:00
clime
9e347994b0
use f31 in tests
2020-05-13 09:00:33 +02:00
Michal Novotný
968cd7b1f3
Merge pull request #34 from FrostyX/upload-cgi-tests
...
Upload cgi tests
2020-05-11 19:58:12 +02:00
Jakub Kadlcik
2368a283a8
Run tests within spec %check phase
2020-05-11 15:47:57 +02:00
Jakub Kadlcik
dbab995424
Describe how to run python tests
2020-05-11 15:47:57 +02:00
Jakub Kadlcik
104a272130
tests: use an appropriate imports and shebang in python3
2020-05-11 15:47:57 +02:00
Jakub Kadlcik
9dceb5baa1
tests: use the correct path to upload.cgi script
2020-05-11 12:08:52 +02:00
Jakub Kadlcik
6a42424c6a
tests: in real-life usage, REQUEST_URI will exist
2020-05-11 12:08:52 +02:00
Jakub Kadlcik
6ddb5115d5
tests: polish the asserted output messages
2020-05-11 12:08:52 +02:00