summaryrefslogtreecommitdiffstats
path: root/jjb/armband/armband-deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-11-30armband: Enable deploy-cacheAlexandru Avadanii1-1/+14
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>
2016-11-27Add jobs for ARM virtual PODcristinapauna1-0/+4
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>
2016-10-14Armband: Move lab-config to OPNFV securedlabAlexandru Avadanii1-1/+1
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>
2016-10-12fuel, armband: build, deploy: export TERM="vt220"Alexandru Avadanii1-0/+2
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>
2016-09-09armband: deploy: upload logs to GSAlexandru Avadanii1-2/+23
Closes-bug: ARMBAND-72 Change-Id: I6c5a3e6ce4c320bf42f02b290a0137f5b892ad7f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-09-05armband: Fix file handler in lab-config test -eAlexandru Avadanii1-1/+1
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>
2016-09-01armband: Fix default params for labeled podsAlexandru Avadanii1-0/+7
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>
2016-06-08armband: updated lab-config URLJosep Puigdemont1-4/+4
Change-Id: I317321bbaf1e74419b9508c6da3039b95d9d399d Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-17download/deploy scripts: several updatesJosep Puigdemont1-6/+6
The download script will now use gsutils if they are available, or fall back to curl as before. In general, use curl -f, which will exit with an error code if the server gave an error, instead of writing a file with the HTML error page. Change-Id: Ib24e7803ec38b20a8879cd1509a0cb7b512fee61 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-11armband-deploy.sh: temporarily export missing environment variablesJosep Puigdemont1-0/+3
Change-Id: I76b0aadb735eefc13bfe9364b7426d0a28aa9b96 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-11armband-deploy.sh: allow running on arm labJosep Puigdemont1-1/+1
Change-Id: I5b261885585fd9e902b3a7513a6d07881e849976 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-10armband: add ci jobsJosep Puigdemont1-0/+79
Change-Id: I6918dc1189ab18fa79812ffa7c5e67867a945eba Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>