osmo-gsm-tester/example
Pau Espin 7ad177f396 example: Maintain different resources.conf for RnD and prod
We still want to maintain this file in the same osmo-gsm-tester repo
because we frequently neef to update the config when adding new
features.

Until now only 1 file was maintained (which was used for RnD setup), and
then when runnin in prod the jenkins script used sed to change the file
to accomodate slightly changes. This way is too hacky, so let's just
maintain too separate files, keeping the original resources.conf key
name used by osmo-gsm-tester free, so that jenkins job can symlink one
of the 2 files to it.

Take the chance to remove OctoBTS and Sysmocell5k from the RnD resources
file, as we don't have those them.

Change-Id: Ifec851c7ac6fca6b294e57dfe86b92f214ae8f42
2018-03-13 20:12:42 +01:00
..
scenarios Add features attribute to modems 2017-09-16 21:59:44 +02:00
README.txt put the example suite in /example, not /selftest/real_suite 2017-05-04 16:42:50 +02:00
default-suites.conf default-suites.conf: Add gprs suite 2017-12-05 15:06:53 +01:00
defaults.conf templates: osmo-msc: Remove unused option auth policy 2018-02-14 11:26:43 +01:00
paths.conf paths: have one common parent dir /var/tmp/osmo-gsm-tester 2017-05-11 17:39:02 +02:00
resources.conf.prod example: Maintain different resources.conf for RnD and prod 2018-03-13 20:12:42 +01:00
resources.conf.rnd example: Maintain different resources.conf for RnD and prod 2018-03-13 20:12:42 +01:00

README.txt

This a real gsm test suite configured and ready to use.
The only thing missing is a trial dir containing binaries.

You can point osmo-gsm-tester.py at this config using the OSMO_GSM_TESTER_CONF
environment variable:

    export OSMO_GSM_TESTER_CONF="$PWD"

When there is no OSMO_GSM_TESTER_CONF set, osmo-gsm-tester will instead look
for conf files in several locations like ~/.config/osmo-gsm-tester,
/usr/local/etc/osmo-gsm-tester, /etc/osmo-gsm-tester.

If you have your trial with binary tar archives in ~/my_trial
you can run the suite for example like this:

    osmo-gsm-tester.py ~/my_trial

Specifically, from this dir:

    OSMO_GSM_TESTER_CONF="$PWD" ../src/osmo-gsm-tester.py ~/my_trial

Alternatively you can setup this example as permanent config using something
like:

    mkdir -p ~/.config
    ln -s "$PWD" ~/.config/osmo-gsm-tester

A ./state dir will be created to store the current osmo-gsm-tester state. If
you prefer not to write to $PWD, set up an own configuration pointing at a
different path (see paths.conf: 'state_dir').