Remove refspec and add required builders
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
diff --git a/jjb/cloud-infra/onap-jobs/onap-release-deploy-test.yaml b/jjb/cloud-infra/onap-jobs/onap-release-deploy-test.yaml
index ffc0d9e..6a41919 100644
--- a/jjb/cloud-infra/onap-jobs/onap-release-deploy-test.yaml
+++ b/jjb/cloud-infra/onap-jobs/onap-release-deploy-test.yaml
@@ -354,6 +354,9 @@
- fix-workspace-permissions
builders:
+ - 'generate-ssh-keypair-macro'
+ - 'wait-pkg-mgr-macro'
+ - 'download-deploy-artifact-macro'
- 'xtesting-infra-healthcheck-macro'
- job-template:
@@ -392,4 +395,7 @@
- fix-workspace-permissions
builders:
+ - 'generate-ssh-keypair-macro'
+ - 'wait-pkg-mgr-macro'
+ - 'download-deploy-artifact-macro'
- 'xtesting-healthcheck-macro'
diff --git a/jjb/cloud-infra/scripts/test-package.sh b/jjb/cloud-infra/scripts/test-package.sh
index ef20ad0..6361664 100644
--- a/jjb/cloud-infra/scripts/test-package.sh
+++ b/jjb/cloud-infra/scripts/test-package.sh
@@ -30,18 +30,9 @@
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:
-