diff options
| author | Pavel Raiskup <praiskup@redhat.com> | 2014-10-14 09:57:57 +0200 |
|---|---|---|
| committer | Pavel Raiskup <praiskup@redhat.com> | 2014-10-14 10:09:18 +0200 |
| commit | 959158ab0457afc4454e637db89f9d16f8aad775 (patch) | |
| tree | 44870c605e38bfd4026c8a14fdf47c12a8ef420d /dist | |
| parent | 2fc91b1dc56823bc615ce0cb19a8ee79645af6a2 (diff) | |
controller: configuration cleanup
Better define configuration and provide examples.
* controller: Unpack results to correct directory, load the
configuration from new place, call run_remote with proper
arguments, generate 'results.html' with result_stats script.
* ansible/run_include: Adjust to better simulate run_remote.
* ansible/fedora.yml: Adjust for fixed configuration.
* run_remote: Likewise. Also small issues with option parsing
fixed.
* config.sh.template: Moved as config/config.sh.template.
* config/config.sh.template: Copyyed from /config.sh.template,
better documented options.
* run: Fix typo - use 'while read i' instead of 'for i in'.
* config/os/EXAMPLE.sh: New file - exmaple configuration.
* private/os/EXAMPLE.yml: Likewise.
* config/hosts.template: Likewise.
* dist.include: New file with file patterns that should be
distributed to test machine.
* dist: Distribute only those files which are necessary.
* config/.gitignore: New gitignore file.
Diffstat (limited to 'dist')
| -rwxr-xr-x | dist | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1,10 +1,15 @@ #!/bin/bash name=postgresql-setup-tests -tarball=$name.tar.gz +tarball="$name.tar.gz" + test -e .git || exit 1 -what=`ls -1 | grep -v $tarball | grep -v ansible` -mkdir $name -cp $what $name -R -tar -czf $tarball $name + +mkdir "$name" +while read line; do + line=${line##postgresql-setup-tests/} + cp -R "$line" "$name" +done < dist.include + +tar -czf $tarball --wildcards -T dist.include rm -rf $name |
