Commit Graph

8 Commits

Author SHA1 Message Date
Jenkins 1508e35df2 Merge "Allow to search mandatory packages in all forest" 2016-07-05 21:23:39 +00:00
Sergey Kulanov f922090dc6 Allow to search mandatory packages in all forest
Update requirements with filter option:

        "mandatory": {
            "enum": ["exact", "newest"]
        }

1) [RPM] We need to search the newest mandatory packages in all
   forest but not from the exact tree, also repo priority should
   be take into account

2) Add priority to gen_repository in tests, since this is
   mandatory parameter

3) [Tests] Add package10 with different version to check mandatory
   values:
    - None
    - "exact"
    - "newest"
  match for mandatory packages

Change-Id: I36a1463b495075bf6c44a46b557c3ac524de0220
Closes-bug: #1585103
2016-07-05 22:45:28 +03:00
Bulat Gaifullin cae6df70bf Added packaging driver to build RPM by using mock
Option 'cache_dir' uses to specify directory where
will be downloaded remote files
The packaging controller allows to use files which
are available via HTTP as source or spec file
Each driver has its own section in input data,
this allows to use same input data for several drivers.

Change-Id: I1fb3b08fe305c3413e5aa4a9213762208a2479da
2016-07-05 16:49:06 +03:00
Bulat Gaifullin d661055322 Introduced new scheme to declare requirements
the requirements can contain the following sections:
packages - the list of packages that are needed
repositories - the list of repositories, packages from that are needed
mandatory - boolean flag that uses to automatically copy mandatory packages

Change-Id: Ic26f991c0bf1e9819005cd4bbe7ed40228b2ce1b
2016-05-19 15:26:16 +03:00
Bulat Gaifullin 6c5d681b51 Fixed error-handling for input data validation
The property absolute_path was 2.5.1 and not available
in previous versions

Change-Id: Ib4b7e9c9a7f0113275915799624aeef5f6bf8281
Closes-Bug: 1554249
2016-03-09 09:53:27 +03:00
Vladimir Kozhukalov 1238b33ebd Add package filtering feature
Change-Id: Ia8bf716e9902d250c9fb26bbad325fbe2a204b54
2016-02-20 07:00:52 +03:00
Bulat Gaifullin 34b2ba01b2 Fixed invalid call signature for clone-command
Also make versions as optional field in packages_schema.
Fixed ValidationError formatting when path contains int indexes.

Closes-Bug: 1543503
Change-Id: Idf070b4431bdac2c49340e9e09902a5b39d2a548
2016-02-09 13:36:17 +03:00
Bulat Gaifullin 9e107cde9a Implemented input data validation
Change-Id: I8407cf4cbb69e60b7def891625522f3ca3c822fe
Implements:  blueprint unify-input-data
2016-02-05 17:07:48 +03:00