Commit Graph

12 Commits

Author SHA1 Message Date
Alexandru Avadanii fd5b8c0359 AArch64 support: api, cli, controllers, drivers
Enable new architecture 'aarch64' ('arm64' on Ubuntu).
Tested with DEB driver.

Closes-bug: 1638635

Change-Id: I9761322020837186c109c18e849128791ab909d8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-02 18:13:42 +01: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 794256f1bc Added CLI for building packages
Usage of command:
packetary build -t "the name of driver" \
    -i "the path of file with input data" \
    -o "the path to output directory" \
    [-C "the config for driver"]

Change-Id: I71df1b8a36342a9ea238d5b6ebb686e5bce71007
2016-06-27 19:31:16 +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
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
Jenkins ec8a9c8c22 Merge "Fixed retries for HTTP Errors" 2016-02-01 17:30:06 +00:00
Bulat Gaifullin fb3f8ffe02 Fixed retries for HTTP Errors
The code does not properly handle situation when server returns http error.
Also added option 'retries_delay' to specify timeout between retries

Change-Id: I2908f5d774d6d388085e48a965e5888773578530
Closes-Bug: #1539025
2016-02-01 17:40:49 +03:00
Bulat Gaifullin cacf6b75e3 Added command-line interface for create_repository
Change-Id: I22b39adc9a40be8e9d500a81dfef7cbf49f8b651
Implements: blueprint build-repository
2016-01-30 21:42:47 +03:00
Bulat Gaifullin 1ce69b4fef Unify input data format
The input data is described in YAML or JSON format
Also implemented support of priorities for repositories

Change-Id: I02f11714ba8880dd06c3ceeadf230c1d812ff0be
Implements:  blueprint unify-input-data
2016-01-28 17:27:15 +00:00
Bulat Gaifullin 15cbcf5e0a Update file-headers 2015-12-29 12:08:39 +03:00
Bulat Gaifullin af0a66d31c [packetary] Introduce command-line interface
Available commands:
- clone - Clones specified repository(es) to local folder.
  packetary clone -o "http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse" -t deb -d /var/www/mirror/ubuntu

- packages - Gets the list of packages from repository(es).
  packetary packages -o http://mirror.fuel-infra.org/mos-repos/centos/mos8.0-centos6-fuel/os -t yum

- unresolved - Get the list of external dependencies for repository.
  packetary unresolved -o "http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0 mos8.0 main"

Change-Id: I4b3f3fb7b7f2967cf596ed3c7758cfbbf76dfe73
Partial-Bug: #1487077
2015-12-03 09:45:38 +00:00