From 2bfdb2f6b9c0536718219b980e7c037f1e2a402c Mon Sep 17 00:00:00 2001 From: Simon Stone Date: Wed, 17 Jun 2020 18:09:42 +0100 Subject: [PATCH] Fix current directory for running tests (contributes to #71) (#315) Signed-off-by: Simon Stone --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f8cf2633..b4af88c9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -62,7 +62,7 @@ steps: displayName: Log in to IBM Cloud - script: | set -ex - ibmcloud oc cluster get -c $(IBM Cloud OpenShift Cluster ID) --json > cluster.json + cd ~/.ansible/collections/ansible_collections/ibm/blockchain_platform export TEST_RUN_ID=$(dd if=/dev/urandom bs=4096 count=1 2>/dev/null | shasum | awk '{print $1}') export SHORT_TEST_RUN_ID=$(echo ${TEST_RUN_ID} | awk '{print substr($1,1,8)}') yq -yi '.api_endpoint="$(IBM Blockchain Platform API Endpoint)"' tests/integration/integration_config.yml