summaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
2016-08-25build: Bail on patches-import failAlexandru Avadanii1-0/+2
Change-Id: Ib676747252ef647d9385cb0eeeca9563b7fd09d7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 442cb2fc0da3ccc7428ca085f1c90b93fc79ebba)
2016-08-19build: ISO refactor, use docker, enable cacheAlexandru Avadanii1-41/+7
Previously, Armband Makefile used to call Fuel@OPNFV Makefile target <iso>, instead of <all>, which resulted in bypassing using Docker for ISO building completely. Switch to <all> Makefile target, hence bringing back Docker as a build container. This change justifies moving make variables to a separate spec file, armband.mk. While at it, enable caching of builds. This requires Jenkins bash scripts to be updated for the ISO build job, done in [1]. JIRA: ARMBAND-56 [1] https://gerrit.opnfv.org/gerrit/#/c/18453/ CHANGES: - all: release (was all: build) - Common make targets now depend on submodules-init; - clean-build and clean-docker make targets have been replaced by: make clean, make deepclean; FIXME: These issues should be fixed later: - (optional) trim local repo paths from gitinfo files - only account for armband submodules in cache fingerprints; - identify size mismatch culprit Change-Id: I7d73409be44983fa21d4c09d2e07b87a33231e03 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-07-18deploy.sh: Make submodules-cleanAlexandru Avadanii1-2/+1
Allow starting ci/deploy.sh multiple times from the same repository. Change-Id: Ibc9d766640a611ce1d56454096c9f750da956c79 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-05-12deploy.sh: read TARGET_LAB and TARGET_PODJosep Puigdemont1-0/+7
Read both TARGET_LAB and TARGET_POD from the command line parameters passed to Fuel's build script. We need these to find local_env. Change-Id: I288dedeb75001b0983e63e68e993b2a35fd6f6fc Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-08Remove ci/deploy directoryJosep Puigdemont3-1207/+0
Change-Id: Ic355364e5fb4215f1ad10f8f961978fa0b071762 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-08deploy.sh: simple wrapper for fuel@opnfv deploy scriptJosep Puigdemont1-0/+31
Change-Id: I2b94d6fcb20c59d9d776c04561665108e1f035ca Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-27build.sh: move files instead of copying them.Josep Puigdemont1-3/+3
Change-Id: Ib59d82067d028a2c946a87747a6975749c85133b Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-22Pass revision version to the build fuel systemJosep Puigdemont1-2/+11
Fuel makes use of the REVSTATE variable in the make file to alter the name of the resulting ISO image. We need to honor the revision specified by the jenkins build system at OPNFV, and pass this variable along to fuel@opnfv. Change-Id: I1f80dfcae313058dd9a4486bbbfdfbb0b52ea405 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-21build.sh: save git URL and revision used for the build.Josep Puigdemont1-1/+9
Change-Id: I7c812ec697b1d75aafe39f6ad542647c45cc70b6 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-20build.sh: do not use readlink for unexisting dirJosep Puigdemont1-1/+1
The build failed to copy the artifact files to the destination directory because the variable BUILD_DIRECTORY was empty. This variable is obtained doing "readlink" on a path, although at the time of the assignment that path does not exist yet. This is because it depends on a path inside a submodule that has not yet been initialized. We remove readlink on the assignment since we know the path will already be in a canonicalized form, since it is constructed from an already canonicalized path. Change-Id: Icc1113d26b503ff998aebbcd1efe81004859f878 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-20build.sh: actually build the ISO.Josep Puigdemont1-3/+28
Change-Id: Ica40e2fd78d6569cc17e6702a094889ae732249a Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-15build.sh: added initial build scriptJosep Puigdemont1-0/+9
Change-Id: Icf8662682b65254c42ca752a14e19b0e08d65853 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-01dea: remove extra byte in IP addressJosep Puigdemont1-2/+2
Change-Id: I69526569eb0ba26e38a30e53ce6cdb4763ac5dbe Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-03-31Added files for automatic deployment.Josep Puigdemont3-0/+1207
Change-Id: If9a9bb03c3cbcb28c0d6fb218069c6db46d4d314 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>