From cc53c861eb550b7fb882212f4abd6c0c63ba0f71 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Mon, 28 Aug 2017 15:13:35 +0200 Subject: Add functest-healthcheck alpine to xci-verify-healthcheck-macro - add the rc file retrieval in fetch_os.sh - adapt alpine to split healtcheck from daily (healthcheck + smoke + features) - adapt the xci builder Change-Id: I38836814240a1d769d379a10c9ef14def7e6df97 Signed-off-by: Morgan Richomme --- jjb/functest/functest-alpine.sh | 9 +++++++-- jjb/xci/xci-verify-jobs.yml | 8 ++++---- 2 files changed, 11 insertions(+), 6 deletions(-) mode change 100644 => 100755 jjb/functest/functest-alpine.sh (limited to 'jjb') diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh old mode 100644 new mode 100755 index f0e08e171..9be9fe57f --- a/jjb/functest/functest-alpine.sh +++ b/jjb/functest/functest-alpine.sh @@ -68,9 +68,14 @@ volumes="${images_vol} ${results_vol} ${sshkey_vol} ${rc_file_vol} ${cacert_file set +e -tiers=(healthcheck smoke features vnf) +if ${FUNCTEST_SUITE_NAME} == 'healthcheck'; then + tiers=(healthcheck) +else + tiers=(healthcheck smoke features vnf) +fi + for tier in ${tiers[@]}; do - FUNCTEST_IMAGE=ollivier/functest-${tier} + FUNCTEST_IMAGE=opnfv/functest-${tier} echo "Functest: Pulling Functest Docker image ${FUNCTEST_IMAGE} ..." docker pull ${FUNCTEST_IMAGE}>/dev/null cmd="docker run ${envs} ${volumes} ${FUNCTEST_IMAGE}" diff --git a/jjb/xci/xci-verify-jobs.yml b/jjb/xci/xci-verify-jobs.yml index 8d1ee55a4..6913c1f0b 100644 --- a/jjb/xci/xci-verify-jobs.yml +++ b/jjb/xci/xci-verify-jobs.yml @@ -220,7 +220,7 @@ - builder: name: 'xci-verify-healthcheck-macro' builders: - - shell: | - #!/bin/bash - - echo "Hello World!" + - shell: + !include-raw: ../../utils/fetch_os_creds.sh + - shell: + !include-raw: ../functest/functest-alpine.sh -- cgit 1.2.3-korg