Use tmp to store temporary resources.
@@ -23,8 +23,8 @@ oc new-app syndesis \
#Move image streams (one by one) inside the test namespace
-mkdir -p target/test-resources
+mkdir -p /tmp/syndesis-test-resources/
for i in `oc get is -n syndesis-ci | grep -v NAME | cut -d" " -f1`; do
- oc export is $i -n syndesis-ci > target/test-resources/$i.yml
- oc create -n "${KUBERNETES_NAMESPACE}" -f target/test-resources/$i.yml 2> /dev/null || oc replace -n "${KUBERNETES_NAMESPACE}" -f target/test-resources/$i.yml;
+ oc export is $i -n syndesis-ci > /tmp/syndesis-test-resources/$i.yml
+ oc create -n "${KUBERNETES_NAMESPACE}" -f /tmp/syndesis-test-resources/$i.yml 2> /dev/null || oc replace -n "${KUBERNETES_NAMESPACE}" -f /tmp/syndesis-test-resources/$i.yml;
done
