aboutsummaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-07-18ci/deploy.sh: Do not pass SSH_KEY to Fuel deployAlexandru Avadanii1-0/+1
OPNFV Jenkins jobs for Fuel and Armband define the variable SSH_KEY, which gets passed down to Fuel's ci/deploy.sh, leading to a conflict between the original key and the destination key paths, which in the default case overlap, leading to a deploy-breaking fault. Fuel@OPNFV is not affected by this behavior due to a "sudo" call that does not pass down enviroment variables (i.e. without `-E`). Change-Id: I291966ee177d828bf1e59c213c9da40eae13ab6b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-10ci/{build,deploy}.sh: Move `export TERM` to relengAlexandru Avadanii1-2/+0
TERM is now only set for CI runs, not when calling CI scripts by hand, outside Jenkins CI. Releng: 'fuel, armband: build, deploy: export TERM="vt220"' [1] [1] https://gerrit.opnfv.org/gerrit/#/c/22933/ Change-Id: I756505c6c395a2cbf7902b49db689abb956fbf5d
2016-10-09ci/{build,deploy}.sh: Use /bin/sh, vt220Alexandru Avadanii1-0/+2
This should fix Jenkins build log warns like: <tput: unknown terminal "unknown">, and also NOT print color chars. Fixes: ARMBAND-136 Change-Id: If65f6bf3df5323374aefba56d0c9b7ca4f91e5ca Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-09build: Rework patch mechanism for Fuel submodulesAlexandru Avadanii1-1/+1
While refactoring the patching mechanism, take care of: - Sync submodule handling with Fuel@OPFNV; - build: Investigate/prepare for moving patches to Fuel@OPNFV; - build: Investigate divergent fuel-mirror; - ISO build: cacheid for Fuel comps should not depend on Armband git commit; CHANGE: Rename/shuffle patches while grouping them in "features", preparing for upstreaming them to Fuel@OPNFV and beyond. CHANGE: Allow linking patches for better representing the dependency between one patch and different features. e.g. 0001-Add-arch-to-nailgun-release-and-target-image.patch: - part of `multiarch-fuel`, because it extends Fuel; - part of `direct-kernel-boot`, as arch is required for that; - part of `cross-bootstrap`, target image is arch-dependent; NOTE: Patch links are not staged to Fuel@OPNFV, they only serve as markers that a specific patch is part of a feature. CHANGE: Kill all Fuel component submodules, now handled in Fuel@OPNFV: - fuel-agent - fuel-astute - fuel-library - fuel-mirror - fuel-nailgun-agent - fuel-web CHANGE: Move armband-fuel-config.mk to armband git root. FIXME: m1.micro-Increase-profile-RAM-size-to-128MB.patch is NOT part of `cross-bootstrap` feature, but patch context says so ... FIXME: 0001-Add-arm64-deb-repositories-setup.patch is broken at `make patches-export` by removing spaces at EOL. v2 -> v3: * Phony patch support (links to show a patch belongs to a feature); * Updated README.md v3 -> v7: * Re-export Fuel submodules & plugins patches (update patch context); * Update Cavium mail addresses (s/caviumnetworks.com/cavium.com/); * Ignore submodule changes; * Add armband git repo info to gitinfo_fuel.txt at build time; Implements: ARMBAND-136 Closes-bug: ARMBAND-95 Closes-bug: ARMBAND-93 Closes-bug: ARMBAND-92 Change-Id: I1a236d9f43b2e6dca22055911f696b43c22b5973 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-08deploy.sh: simple wrapper for fuel@opnfv deploy scriptJosep Puigdemont1-0/+31
Change-Id: I2b94d6fcb20c59d9d776c04561665108e1f035ca Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>