Remove refspec and add required builders 60/7860/1
authorPrasad Mukhedkar <prasad.mukhedkar@est.tech>
Tue, 9 Mar 2021 11:44:31 +0000 (12:44 +0100)
committerPrasad Mukhedkar <prasad.mukhedkar@est.tech>
Tue, 9 Mar 2021 11:45:58 +0000 (12:45 +0100)
This commit removes refspec reference in test-package.sh script that points
 to infra/engine repo and adds builders to download artifacts.

Signed-off-by: Prasad Mukhedkar <prasad.mukhedkar@est.tech>
Change-Id: I213bb6de525fe7c7de2dfa6e9c2e653e9a12ea0d

jjb/cloud-infra/onap-jobs/onap-release-deploy-test.yaml
jjb/cloud-infra/scripts/test-package.sh

index ffc0d9e4cf93691da83858b22943f76648b6f2a6..6a419190df732933043c881db9034ee0960c37f5 100644 (file)
       - fix-workspace-permissions
 
     builders:
+      - 'generate-ssh-keypair-macro'
+      - 'wait-pkg-mgr-macro'
+      - 'download-deploy-artifact-macro'
       - 'xtesting-infra-healthcheck-macro'
 
 - job-template:
       - fix-workspace-permissions
 
     builders:
+      - 'generate-ssh-keypair-macro'
+      - 'wait-pkg-mgr-macro'
+      - 'download-deploy-artifact-macro'
       - 'xtesting-healthcheck-macro'
index ef20ad087e05acc8b1b452b46e6735865fcea82b..6361664b3f9713c31a87dc2a374ab72af34ae02f 100644 (file)
@@ -30,18 +30,9 @@ if [[ "$GERRIT_PROJECT" != "infra/test" ]]; then
   cd "$WORKSPACE"
 fi
 
-# NOTE (fdegir): this variable is set by generate-change-metadata.sh script
-# if a dependency to engine repo is determined so we check out that refspec
-# to ensure we respect the dependency
-if [[ ! -z "${NORDIX_ENGINE_REFSPEC+x}" ]]; then
-  echo "Info  : Fetching dependent change ${NORDIX_ENGINE_REFSPEC} infra/engine"
-  git fetch "https://gerrit.nordix.org/infra/test" ${NORDIX_ENGINE_REFSPEC} && git checkout FETCH_HEAD
-fi
-
-echo "Info  : Packaging stack $STACK_TYPE"
+echo "Info  : Packaging test stack $STACK_TYPE"
 
 cd "$WORKSPACE/test"
 ./package.sh -s "$STACK_TYPE" -b "$STACK_VERSION" -d "$DISTRO" -v
 
 # vim: set ts=2 sw=2 expandtab:
-