+#!/bin/sh
+
CONTAINER_PULL_REGISTRY=nexus3.opendaylight.org:10003
CONTAINER_PUSH_REGISTRY=nexus3.opendaylight.org:10002
DOCKER_REGISTRY=nexus3.opendaylight.org
+#!/bin/sh
+
CONTAINER_PULL_REGISTRY=nexus3.opendaylight.org:10003
CONTAINER_PUSH_REGISTRY=nexus3.opendaylight.org:10002
DOCKER_REGISTRY=nexus3.opendaylight.org
-#!/bin/bash
+#!/bin/sh
# vim: sw=2 ts=2 sts=2 et :
yum clean all
-#!/bin/bash
+#!/bin/sh
# It looks like the devstack gate is stomping on our dnsmasq setup which
# therefore kills our ability to do proper lookups of some resources.
-#!/bin/bash
+#!/bin/sh
# make sure we don't require tty for sudo operations
cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
INIT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
"${INIT_DIR}/system_type.sh"
# shellcheck disable=SC1091
-source /tmp/system_type.sh
+. /tmp/system_type.sh
"${INIT_DIR}/${SYSTEM_TYPE}.sh"
-#!/bin/bash
+#!/bin/sh
# make sure we don't require tty for sudo operations
cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
-#!/bin/bash
+#!/bin/sh
# make sure we don't require tty for sudo operations
cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
-#!/bin/bash
+#!/bin/sh
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2015, 2016 The Linux Foundation and others.
#!/bin/bash -l
set -xe -o pipefail
python3 -m venv $WORKSPACE/venv
- source $WORKSPACE/venv/bin/activate
+ . $WORKSPACE/venv/bin/activate
PYTHON="$WORKSPACE/venv/bin/python"
$PYTHON -m pip install --upgrade networkx
$PYTHON -m pip freeze
set -eu -o pipefail
# shellcheck disable=SC1090
-source ~/lf-env.sh
+. ~/lf-env.sh
lf-activate-venv "git-review==1.28"
set -x
# shellcheck disable=SC1090
-source ~/lf-env.sh
+. ~/lf-env.sh
lf-activate-venv "git-review==1.28"
set -eu -o pipefail
# shellcheck disable=SC1090
-source ~/lf-env.sh
+. ~/lf-env.sh
lf-activate-venv "git-review==1.28"
set +u # Allow unbound variables for virtualenv
virtualenv --quiet "/tmp/v/git-review"
# shellcheck source=/tmp/v/git-review/bin/activate disable=SC1091
-source "/tmp/v/git-review/bin/activate"
+. "/tmp/v/git-review/bin/activate"
pip install --quiet --upgrade "pip==9.0.3" setuptools
pip install --quiet --upgrade git-review
git config --global --add gitreview.username "jenkins-$SILO"
done
# shellcheck disable=SC1090
-source ~/lf-env.sh
+. ~/lf-env.sh
lf-activate-venv "git-review==1.28"
for line in $( grep -E -v '(^[[:space:]]*#|^[[:space:]]*$)' "${type}plan.txt" ); do
printf "Executing %s...\\n" "${line}"
# shellcheck source=${line} disable=SC1091
- source "${line}"
+ . "${line}"
done
fi
printf "Finished running %s plans\\n" "${type}"
-#!/bin/bash -x
+#!/bin/sh -x
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
# ${ROBOT_VENV} comes from the integration-install-robotframework.sh
# script.
# shellcheck source=${ROBOT_VENV}/bin/activate disable=SC1091
-source "${ROBOT_VENV}/bin/activate"
+. "${ROBOT_VENV}/bin/activate"
source /tmp/common-functions.sh "${BUNDLEFOLDER}"
# Ensure we fail the job if any steps fail.
set -ex -o pipefail
USER=heat-admin
openstack object save OPNFV-APEX-SNAPSHOTS overcloudrc
-source overcloudrc
+. overcloudrc
cat overcloudrc
openstack hypervisor list
-#!/bin/bash
+#!/bin/sh
+
echo "Cleaning up Robot installation..."
# ${ROBOT_VENV} comes from the integration-install-robotframework.sh
-#!/bin/bash
+#!/bin/sh
+
echo "Cleaning up the workspace..."
# Leftover files from previous runs could be wrongly copied as results.
# ${ROBOT_VENV} comes from the integration-install-robotframework.sh
# script.
# shellcheck disable=SC1090,SC1091
-source "${ROBOT_VENV}/bin/activate"
+. "${ROBOT_VENV}/bin/activate"
source /tmp/common-functions.sh "${BUNDLEFOLDER}"
echo "#################################################"
# ${ROBOT_VENV} comes from the integration-install-robotframework.sh
# script.
# shellcheck source=${ROBOT_VENV}/bin/activate disable=SC1091
-source "${ROBOT_VENV}/bin/activate"
+. "${ROBOT_VENV}/bin/activate"
source /tmp/common-functions.sh "${BUNDLEFOLDER}"
# ${ROBOT_VENV} comes from the integration-install-robotframework.sh
# script.
# shellcheck source=${ROBOT_VENV}/bin/activate disable=SC1091
-source "${ROBOT_VENV}/bin/activate"
+. "${ROBOT_VENV}/bin/activate"
source /tmp/common-functions.sh "${BUNDLEFOLDER}"
# Ensure we fail the job if any steps fail.
set -ex -o pipefail
unset OS_CLOUD
EOF
-source /tmp/os_netvirt_client_rc
+. /tmp/os_netvirt_client_rc
echo "Get all versions before executing robot"
echo "openstack --version"
-#!/bin/bash -l
+#!/bin/sh -l
# Get the Controller and Tools VM slave addresses
set -ex -o pipefail
-#!/bin/bash
+#!/bin/sh
# Make sure changes merged after patch creation are applied.
set -exu
# ${ROBOT_VENV} comes from the integration-install-robotframework.sh
# script.
# shellcheck source=${ROBOT_VENV}/bin/activate disable=SC1091
-source "${ROBOT_VENV}/bin/activate"
+. "${ROBOT_VENV}/bin/activate"
source /tmp/common-functions.sh "${BUNDLEFOLDER}"
echo "#################################################"
echo "## invoke Tests for non-karaf Controllers ##"
# ${ROBOT_VENV} comes from the integration-install-robotframework.sh
# script.
# shellcheck source=${ROBOT_VENV}/bin/activate disable=SC1091
-source "${ROBOT_VENV}/bin/activate"
+. "${ROBOT_VENV}/bin/activate"
source /tmp/common-functions.sh "${BUNDLEFOLDER}"
# Ensure we fail the job if any steps fail.
set -ex -o pipefail
popd
-# todo: remove below lines once the scripts in zrpcd repos build the
-# source packages.
+# todo: remove below lines once the scripts in zrpcd repos build the src packages.
# Ref: https://lists.opendaylight.org/pipermail/integration-dev/2018-July/012330.html
tar cvzf "$WORKSPACE/upload_files/zrpcd.$(date +%F).tar.gz" "$(pwd)/zrpcd"
-#!/bin/bash
+#!/bin/sh
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
-#!/bin/bash
+#!/bin/sh
set -e
-#!/bin/bash
+#!/bin/sh
set -e
-#!/bin/bash
+#!/bin/sh
set -e
mkdir -p ".chartstorage"
chartmuseum --port=6464 --storage="local" --storage-local-rootdir=".chartstorage" &> /dev/null &
-source helm.prop
+. helm.prop
$HELM_BIN plugin install --version v0.9.0 https://github.com/chartmuseum/helm-push.git || true
$HELM_BIN repo add local http://localhost:6464
$HELM_BIN repo add opendaylight http://localhost:6464
helm_build_script: |
#!/bin/bash
set -x
- source helm.prop
+ . helm.prop
set -e -o pipefail
cd helm/opendaylight
helm3.7 version
set -eux -o pipefail
# shellcheck disable=SC1090
-source ~/lf-env.sh
+. ~/lf-env.sh
os_cloud="${OS_CLOUD:-vex}"
cluster_name="${CLUSTER_NAME}"
set -eux -o pipefail
# shellcheck disable=SC1090
-source ~/lf-env.sh
+. ~/lf-env.sh
OS_TIMEOUT=5 # Wait time in minutes for OpenStack cluster nodes to come up.
CLUSTER_NODE_RETRIES=15 # Number of times to retry waiting for a cluster nodes.
set -eux -o pipefail
# shellcheck disable=SC1090
-source ~/lf-env.sh
+. ~/lf-env.sh
lf-activate-venv python-openstackclient python-magnumclient
OS_TIMEOUT=20 # Wait time in minutes for OpenStack cluster to come up.
set -x
# shellcheck disable=SC1090
-source ~/lf-env.sh
+. ~/lf-env.sh
K8S_DEPLOY_LOG="$WORKSPACE/archives/k8s-kubectl-file.log"
mkdir -p "$WORKSPACE/archives"
-#!/bin/bash
+#!/bin/sh
echo "---> releng-maven-mri-stage.sh"
# This script publishes artifacts to a staging repo in Nexus and exports the karaf bundle URL.
-#!/bin/bash
+#!/bin/sh
# vi: ts=4 sw=4 sts=4 et :
# Nothing to do for Ubuntu specific provisioning
-#!/bin/bash
+#!/bin/sh
# vi: ts=4 sw=4 sts=4 et :
/bin/sed -i 's/ requiretty/ !requiretty/' /etc/sudoers;
-#!/bin/bash
+#!/bin/sh
# vim: sw=2 ts=2 sts=2 et :
-#!/bin/bash
+#!/bin/sh
# Here add local env changes.
-#!/bin/bash
+#!/bin/sh
# Script to delete Jenkins jobs by searching a string.
#