diff --git a/bootstrap/ic-user-projects/create-projects-and-resources-job.yaml b/bootstrap/ic-user-projects/create-projects-and-resources-job.yaml index 6686b08b..e7621d07 100644 --- a/bootstrap/ic-user-projects/create-projects-and-resources-job.yaml +++ b/bootstrap/ic-user-projects/create-projects-and-resources-job.yaml @@ -48,6 +48,7 @@ spec: WORKBENCH_NAME="my-workbench" WORKBENCH_IMAGE="ic-workbench:1.2" PIPELINE_ENGINE="Argo" + BRANCH_NAME="dev" for i in $(seq 1 $user_count); do @@ -527,7 +528,7 @@ spec: args: - -ec - |- - pod_name=\$(oc get pods --selector=app=$WORKBENCH_NAME -o jsonpath='{.items[0].metadata.name}') && oc exec \$pod_name -- git clone https://github.com/rh-aiservices-bu/parasol-insurance + pod_name=\$(oc get pods --selector=app=$WORKBENCH_NAME -o jsonpath='{.items[0].metadata.name}') && oc exec \$pod_name -- bash -c "git clone https://github.com/rh-aiservices-bu/parasol-insurance && cd parasol-insurance && git checkout $BRANCH_NAME" restartPolicy: Never EOF