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
Jakub Kadlcik
2a79155be6
tests: override shebang to python2
2020-05-11 12:08:52 +02:00
Jakub Kadlcik
982fe628f6
tests: generate config file
2020-05-11 12:08:52 +02:00
Jakub Kadlcik
9cb830b23f
Add tests for upload.cgi script
...
Moving this test file from Red Hat's internal distgit package
to upstream. This is a 1:1 copy without any changes,
so the tests will fail. I just want a point in commit history
where the file is identical and we can easily see changes that
were done since then.
2020-05-11 12:08:52 +02:00
Jakub Kadlcik
b1574ccad3
Add executable bit for upload.cgi script
...
It doesn't make much sense to have a shebang in a script that is
not executable. Also, we set 775 permissions to it in a spec file
anyway.
I am adding it because the tests need to run the script.
2020-05-11 12:08:52 +02:00
Michal Novotný
74a83c77fe
Merge pull request #32 from FrostyX/upload-cgi-refactoring-2
...
Small improvements of upload.cgi script
2020-05-03 14:50:32 +02:00
Jakub Kadlcik
5c4de58f41
Move form hash parsing to its own function
2020-05-03 14:35:06 +02:00
Jakub Kadlcik
77dccfad21
Move fedmsg code to its own function
...
Except for a simple refactoring that shortens our over-complicated
`main` function, this also have an added value. Not every distgit
instance is interested in sending `fedmsg` messages. In such cases,
we don't want to force them to install the `python-fedmsg` package.
2020-05-03 01:36:43 +02:00
Jakub Kadlcik
57eac00d19
Move config parsing to its own function
...
At the same time, allow to use a non-default config file by specifying
its path in `DISTGIT_CONFIG` environment variable.
2020-05-02 15:35:26 +02:00
Pavel Raiskup
25a94ec4e7
remove_unused_sources: print to log what we are unlinking
2019-10-02 16:26:23 +02:00
clime
6ff6fb94bd
we first need to read all the input to be able to send an error
...
* this is done by creating the cgi.FieldStorage
2019-06-14 10:34:08 +02:00
clime
3111958b1e
use more generic conversion to float for mtime
2019-06-14 10:34:08 +02:00
clime
48f795801f
fix bug with renderring error responses
...
* they were rendered incorrectly due to printing Content-type with
extra new line already in main body. That means error statuses were
not properly handed to httpd. Also fix related buggy test.
2019-06-14 10:34:08 +02:00
Miroslav Suchý
80a6fbea98
bump up version
2019-05-28 16:56:11 +02:00
Miroslav Suchý
3f74ef778d
update link to rpkg site
2019-05-28 16:51:21 +02:00
Miroslav Suchý
b81e4098ec
remove old changelog entries
2019-05-28 16:46:13 +02:00
Miroslav Suchý
0827f91cbb
do not specify full path for hardlink [RHBZ#1714637]
...
on Fedora 30- it is in /usr/sbin/
on Fedora 31+ it is in /usr/bin/
Both variants are in $PATH so calling it without full path is fine.
2019-05-28 16:45:34 +02:00
Dominik Turecek
ba39b12442
add script for removing unused source tarballs in lookaside cache
...
The script goes through all branches of a project (specified
by a path to the package git directory) and deletes all sources
in lookaside cache that are not referenced by the latest commits
in any of the branches.
2019-05-17 10:49:17 +02:00
clime
27d2617f74
add rpkg.conf with auto_pack = True so that srpm can be built
2019-05-16 12:20:51 +02:00
clime
1a3597b6ad
bump version
...
* should have been bumped already on the prev commit with 1.11 tag
2019-05-16 12:20:16 +02:00
clime
1c3f79400f
remove python3-configparser from requires as it is contained in python3
...
standard lib
2019-04-29 22:52:03 +02:00