Commit Graph

14 Commits

Author SHA1 Message Date
Marcus Schäfer
cec1512ba1 Additional container commandline options
Added --set-container-derived-from and --set-container-tag
commandline options which allows to overwrite the data set
in the XML configuration
2017-04-26 16:47:15 +02:00
David Cassany
b3932de0a0 Convert user input to absolute paths
This commit converts the paths provided by the user with the
command line to absolute paths. The effected arguments are:
* --root
* --target-dir
* --bundle-dir

This supersedes and fixes #271
2017-03-24 17:24:13 +01:00
Marcus Schäfer
6cc0b2085d Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
Marcus Schäfer
889ce8a98b Add check_docker_tool_chain_installed
Runtime check to check for required docker tools umoci and
skopeo. As long as tools tools are not available in the
core distro of all distributions we avoid spec file requirements
and check at runtime if they can be found
2017-02-27 15:28:38 +01:00
Marcus Schäfer
c91820aa27 Cleanup unit tests using sys.argv
The tests should restore to the default argv option set
as provided by the test_helper
2016-10-25 17:51:57 +02:00
Marcus Schäfer
d4d711f9e3 Make repository an optional element
So far one repository was mandatory in the XML description.
However, this is not required because all repositories can
be specified on the commandline
2016-08-18 15:34:37 +02:00
Marcus Schäfer
08bbe74abc
Added --ignore-repos for build and prepare tasks
The option allows to ignore all repos configured in the
XML description. This allows to specify a complete set
of repositories via the commandline
2016-08-17 16:26:35 +02:00
Marcus Schäfer
319fb9e6e4
Adapt to common python style
Private methods should start with _f() not __f()
2016-06-15 16:27:45 +02:00
Marcus Schäfer
e0c83d6516 Merge pull request #73 from SUSE/runtime-checker
Runtime checker
2016-05-08 19:47:06 +02:00
Marcus Schäfer
183d34172b
Integrate runtime checks for tasks
Call appropriate runtime checks for prepare, create
and build tasks. Fixes #20
2016-05-08 18:52:32 +02:00
Marcus Schäfer
6b1211b8dd Added evaluation of imageincluded repositories
repositories marked as imageinclude needs to be added
permanently to the image. Fixes #56
2016-04-28 16:54:06 +02:00
Marcus Schäfer
d5f1bdd159
Added --add|delete package for prepare command
Allow additional packages to be installed/deleted when
calling system prepare. Fixes #62
2016-04-28 14:21:57 +02:00
Marcus Schäfer
e6cc5bfa09 Move from nose to pytest
nose is no longer maintained, thus we have to move to another
testing system. This commit updates the tox setup and all tests
to use pytest instead of nose.
2016-03-14 12:23:14 +01:00
Marcus Schäfer
1ab40fa33a
Continue Refactor into subpackage
Move task classes into tasks namespace
2016-03-08 16:21:00 +01:00