aboutsummaryrefslogtreecommitdiffstats
path: root/INFO
blob: 02d07b9b79a25de762aa97ee6306188d20379486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Project: Fuel based OPNFV installer (Fuel@OPNFV)
Project Creation Date: 2015.07.07
Project Category: Integration and testing
Lifecycle State: Incubation
Primary Contact: gelkinbard@mirantis.com
Project Lead: gelkinbard@mirantis.com
Jira Project Name: Fuel based OPNFV installer
Jira Project Prefix: FUEL
Mailing list tag: [fuel]
IRC: Server:freenode.net Channel:#opnfv-fuel
Repository: fuel

Committers:
gelkinbard@mirantis.com
nikolas.hermanns@ericsson.com
jonas.bjurel@ericsson.com
stefan.k.berg@ericsson.com
daniel.smith@ericsson.com
szilard.cserey@gmail.com
mskalski@mirantis.com
ruijing.guo@intel.com
fzhadaev@mirantis.com
Alexandru.Avadanii@enea.com
mpolenchuk@mirantis.com

Link to TSC approval of the project: http://meetbot.opnfv.org/meetings/opnfv-meeting/2015/opnfv-meeting.2015-07-07-13.59.log.html
Link(s) to approval of additional committers: http://ircbot.wl.linuxfoundation.org/meetings/opnfv-fuel/2016/opnfv-fuel.2016-04-28-11.49.html
                                              https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-May/016188.html
rials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## ############################################################################## # BEGIN of Exit handlers # do_exit () { local RC=$? if [ ${RC} -eq 0 ]; then notify_n "[OK] MCP: Docker build finished succesfully!" 2 else notify_n "[ERROR] MCP: Docker build threw a fatal error!" fi } # # End of Exit handlers ############################################################################## ############################################################################## # BEGIN of variables to customize # CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x MCP_REPO_ROOT_PATH=$(readlink -f "$(dirname "${BASH_SOURCE[0]}")/..") DEPLOY_DIR=$(cd "${MCP_REPO_ROOT_PATH}/mcp/scripts"; pwd) DOCKER_DIR=$(cd "${MCP_REPO_ROOT_PATH}/docker"; pwd) DOCKER_TAG=${1:-latest} DOCKER_PUSH=${2---push} # pass an empty second arg to disable push source "${DEPLOY_DIR}/globals.sh" source "${DEPLOY_DIR}/lib.sh" [ ! "${TERM:-unknown}" = 'unknown' ] || export TERM=vt220 # # END of variables to customize ############################################################################## ############################################################################## # BEGIN of main # # Enable the automatic exit trap trap do_exit SIGINT SIGTERM EXIT # Set no restrictive umask so that Jenkins can remove any residuals umask 0000 # Clone git submodules and apply our patches make -C "${MCP_REPO_ROOT_PATH}/mcp/patches" deepclean patches-import pushd "${DEPLOY_DIR}" > /dev/null # Install distro packages and pip-managed prerequisites PYTHON_BIN_PATH="$(python -m site --user-base)/bin" PATH="$PATH:$PYTHON_BIN_PATH" notify "[NOTE] Installing required build-time distro and pip pkgs" 2 jumpserver_pkg_install 'build' pip install pipenv --user docker_install popd > /dev/null pushd "${DOCKER_DIR}" > /dev/null pipenv --two pipenv install pipenv install invoke # shellcheck disable=SC2086 pipenv run \ invoke build saltmaster-reclass \ --require 'salt salt-formulas opnfv reclass tini-saltmaster' \ --dist=ubuntu \ --dist-rel=xenial \ --formula-rev=nightly \ --opnfv-tag="${DOCKER_TAG}" \ --salt='stable 2017.7' \ ${DOCKER_PUSH} popd > /dev/null # # END of main ##############################################################################