Age | Commit message (Collapse) | Author | Files | Lines |
|
Fuel and Armband deploy scripts trap internal errors and call exit
in the trap handler, so the releng wrapper exists before collecting
all deploy logs when shell option "errexit" is set.
JIRA: ARMBAND-217
Change-Id: Icb1e3277c3e137abb3225a2b9a0b4269eaf08fc6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
GIT_BRANCH parameter is different; master or stable/danube in daily
jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some
job builders triggered by the both types of jobs. We have GERRIT_BRANCH
parameter for verify jobs to identify stream and expected branch into
the patch will be merged after it got +2 and submitted.
To avoid further confusion and to have common job builders for daily
and verify jobs, this patch introduce BRANCH parameter.
GERRIT_BRANCH is now deprecated.
Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
JIRA: ARMBAND-208
Change-Id: I96cb3479d17fa5d16e02e65c81c65e7fbdf120df
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
This patch defines 'logrotate-default' property and replace 'logrotate'
by it, as 'logrotate' is deprecated on jenkins>=1.637 .
Change-Id: I900975e5b3f590bb7a4d430e2f623931ae782bf4
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
|
|
Danube stream for the projects with daily jobs is disabled.
Danube stream for the projects without daily jobs is left as enabled
as there will be no changes coming to danube branch until branch is created.
Dovetail, Apex and Fuel jobs have not been updated yet.
Change-Id: Ice39826c8f829157fa864370557837290838f634
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
JIRA: ARMBAND-181
With Colorado release out, we need more jobs on master branch than
on colorado branch
Change-Id: Ic068a121567381ecfb527599ec2af530c1a8e93e
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
|
|
Change-Id: Iad856adf625a56c2f5c366fb414746d1e9e16691
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
This patch makes sure we use 2 types of scm, and allows us to specify
them by adding one line in job-templates.
- git-scm # for daily jobs and merge jobs
- git-scm-gerrit # for verify jobs [New]
Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
|
|
JIRA: DOVETAIL-153
1.based on https://gerrit.opnfv.org/gerrit/#/c/25681/, however, this has to be
triggered manually, not convinient for debugging, and may affect daily ci loops
2.not used for release criteria or compliance,
only to debug the dovetail tool bugs with arm pods
Change-Id: Ide35f50129f30f4c8d7b7f50d52f9fa1d35cac69
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
|
|
With the addition of ODL and OpenStack Gerrit servers, it's important we
don't generate additional noise by accidentally building against these
Gerrit servers when we don't intend to.
JIRA: RELENG-179
Change-Id: Ia163c6c3eaa58e8e21dc6548a839062fcbde39ed
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
This enables the mechanism added in [1].
Armband just added support for caching deploy artifacts, like
bootstraps and target images, which take a lot of time at each deploy
to be built, considering it requires a cross-debootstrap via
qemu-user-static and binfmt.
For easier setup, the deploy cache depends on the local ISO storage
mechanism (/iso_mount/opnfv_ci), and reuses the same storage pool.
To enable deploy caching, just create the deploy-cache directory at:
/iso_mount/opnfv_ci/<branch>/deploy-cache
JIRA: ARMBAND-172
[1] https://gerrit.opnfv.org/gerrit/#/c/25191
Change-Id: I161205a87f13cd78e79b96bfc37a5f68aba093cc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Pod virtual1 was added in the ENEA-ARM lab
This commit adds the jobs for it
JIRA: ARMBAND-162
Change-Id: Icaa798691f5ff60a58ae083eb1c366170c464b92
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
|
|
"forbidden-file-paths" prevents verify from running for patches that
alter that dir so it was necessary to remove "upstream" ANT
configuration completely
Change-Id: I6c1f00fe500548695284ad1e947cb35bdce14c3e
Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
|
|
Armband tree has ci, patches and upstream as folders.
Updated the releng armband-verify-jobs.yml with the right
paths.
While replicating Fuel@OPNFV behavior, one default set of parameters
was left pointing to x86 build defaults (opnfv-build-defaults),
instead of opnfv-build-arm-defaults.
JIRA: ARMBAND-99
Change-Id: I4a0ec09b6188ef4c7f06d2f0c0ddcb13ca9ad72f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
|
|
While at it, add missing exec flag to one sh script, and cleanup
some obsolete debug logs.
Change-Id: Ib805e41177571f6413ed744edae405449c86412e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
|
|
This patch is similar to what releng/jjb/fuel does for
verifying build and deploy.
JIRA: ARMBAND-99
Change-Id: Ic6524e921acf458b55fbbb3453638c5fc30db15c
Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
|
|
arm-pod-3 will be removed as CI pod and this commit add triggers
to make it a non-ci pod
Change-Id: Ice16b8d32c553a059a2c9885fd801a736a59a14d
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
|
|
|
|
Added old l2 sfc scenarios for both ha and noha on master branch
JIRA: ARMBAND-144
Change-Id: Ie28f9f9b32abe82b9f596d5b7d6336e2df425eb4
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
|
|
This depends on:
- jenkins-enea ssh access to OPNFV gerrit;
- master and stable/colorado securedlab definitions for arm-pod* [1];
[1] https://gerrit.opnfv.org/gerrit/#/c/23159/
JIRA: ARMBAND-149
Change-Id: Ic9a2e232027636694ffd441fe5203cb06975f137
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Since we do not actually parse our build/deploy logs for color chars,
set the terminal to "vt220".
This will silence quite a few of colorization special identifiers,
but NOT all of them (e.g. `tput sgr0` still prints a sequence).
For Fuel@OPNFV build process, we also need to workaround docker
terminal settings not being passed down when using a tty (see [1]),
which will be fixed in Docker 1.13+. This fix is handled in [2].
[1] https://github.com/docker/docker/issues/9299
[2] https://gerrit.opnfv.org/gerrit/#/c/22883/
Change-Id: I5f0c6eae33349ef81b67dd17e6df4e0af6274fab
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Some of the jobs were programmed at the same time
This fix sets the jobs 8 hours apart
Change-Id: I13463b8a00df67519e2e2b8e333b4c625f1e9d8b
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
|
|
Modified the cron jobs to be 8 hours apart instead of 4
Change-Id: I670811901c7403f81812b1d51cdbaf46904e878c
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
|
|
Change-Id: I1d5dca9f7cc2c54e90af454a503e77486be361ef
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
Closes-bug: ARMBAND-72
Change-Id: I6c5a3e6ce4c320bf42f02b290a0137f5b892ad7f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Change-Id: I72e061ae57ccdd06520dbf93cdf146390bfc0591
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
We were refering jobs in other projects (mainly fuel) because
the ci pods were named jost baremetal and virtual
Change-Id: I9d02e2e61fe666f4ef46c1eb62f41da065e46059
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
|
|
Change-Id: I8b011aafd333c78eaeed59040476b1325e2dc56c
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
Change-Id: I7fcd24852a0d1aecdfacf5f3cb1dfd49fb711916
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
Previous change adding lab-config/.../local_env support introduced
an issue, in the form of `test -e file:///path/to/local_env`,
which is not supported.
Change-Id: I1566b41765329f18523cfc506c9112b6694a8317
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
After previous change introducing the usage of node labels for
Armband CI deploy jobs, we discovered that the old params were
not applied to labeled pods.
To complicate things, we had different DEFAULT_BRIDGE params
for each CI pod, which contradicts the Jenkins templating
paradigm.
Since we already have a mechanism in place for overriding
env vars based on the POD we are running against, move both
<DEPLOY_TIMEOUT> and <DEFAULT_BRIDGE> params to our local_env,
which is sourced by the deploy script and can apply POD specific
configuration.
Add missing LAB_CONFIG_URL to newly added baremetal and virtual
defaults for Armband.
While at it, also replace "brahmaputra" comments with "colorado".
v2 -> v3:
Source local_env before using DEFAULT_BRIDGE in <armband-deploy.sh>.
Previously, we (Armband) sourced this file in our <ci/deploy.sh> [1],
which will be dropped after this change is merged.
[1] https://git.opnfv.org/cgit/armband/tree/ci/deploy.sh#n24
Change-Id: Ibafea25b3df8c3118ce05e3f40934c8e8b9c8dcd
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Change-Id: Idb3cabe46082b8c0a160cbc156abe0fe8cafbc4a
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
Switched from brahmaputra branches jobs to colorado
and add installer info.
ARMBAND-54
Change-Id: Ib6389427e4d67135d8096127ba6101684342a613
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
For the first time the daily build is ran, the properties file
for the latest ISO built is not present.
Change-Id: Ic744c779ddc670cc2b9bcea111d28fd97f76af67
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Armband daily build is broken because clean_cache.sh
is not present in Armband repo before calling `make submodules-init`
(clean_cache.sh in Armband's ci dir is a softlink pointing to
clean_cache.sh in Fuel@OPNFV git submodule's ci dir).
Change-Id: I10cddd697c1bd624c5a13a4826e3a202acfbb7df
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Change-Id: I41c785e8f5bb57fe56d8292a9a62dc0b1af70d21
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
While at it, also do the following:
- revert previous addition of "armband-defaults" in
opnfv/installer-params.yml, no longer needed;
- remove Josep from failure mail recipient list, armband@enea.com
is already forwarded to all of us;
- add CACHE_DIRECTORY variable for enabling build cache;
TODO (left for future rework):
- rename build and deploy jobs to include installer info, e.g.
"armband-fuel-build-...", preparing for more installers;
- move "installer" parameter to fuel jobs only instead of having
it as a global param;
Change-Id: I2e6cc43484576bd6569605a7c9e60f6fe64f435b
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Minor refresh/update of the ISO build script, enabling caching
and passing REVSTATE & other args to build.sh in the same way
Fuel@OPNFV does.
Change-Id: I79a84f1fdc4fa086df6e00485c5d22960400bbaf
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Change-Id: I5bd68df8d0ee12944f8f89638da816f82421481a
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
Change-Id: Ib23c9a46ee7e57d7e86e0620855e0bf740fbf3a4
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
|
|
Change-Id: Ia089620ea8c5657a347afee2071f2e36ca12fd1a
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
This is the first step towards having alignment of the job structure, applying
commit gating and use of labels for all installer jobs.
Apart from the above, it also
- puts all CI baremetal and virtual PODs together
- gets rid of use of slaves directly for CI baremetal and virtual PODs
- switches labels for all CI baremetal and virtual PODs using below labels
{installer}-baremetal
{installer}-virtual
- puts all CI build slaves together and switches to labels - except huawei-build
- puts all none-CI PODs together
Please note that this change does not impact the overall job structure.
Change-Id: I2d8d15799a57fe7e063d39f81b96d19c218b100e
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
Change-Id: Ic1fe94ff18189647f6a27e9e9b15bddb6569e3b3
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
|
|
Change-Id: Ib5462ab47d46698e7216983f25af07e6440a192a
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
Change-Id: I127d4634448f32e6bf9df53c6dc441cd63d5f505
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
|
|
This is a required field for JJB > 1.4
Change-Id: Ifb6f5d4b3a28f2d85f546151ca9aca4a4061f3ef
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|