Skip to content

Commit

Permalink
Shamadi fix fsdiffpod (#32)
Browse files Browse the repository at this point in the history
remove fsdiff dependency
  • Loading branch information
hamadise committed Aug 27, 2021
1 parent 357b529 commit 835c172
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 136 deletions.
13 changes: 1 addition & 12 deletions deploy-partner-pods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,8 @@ else
echo "namespace ${NAMESPACE_TO_GENERATE} already exists, no reason to recreate"
fi

if [[ -n "${TNF_MINIKUBE_ONLY}" ]] && [[ ${TNF_MINIKUBE_ONLY} = "true" ]]; then
echo "Running with Minikube, no FsDiff pod created"
else
cat ./local-test-infra/fsdiff-deployment.yaml | ./script/mo > ./temp/rendered-fsdiff-template.yaml
oc apply -f ./temp/rendered-fsdiff-template.yaml
rm ./temp/rendered-fsdiff-template.yaml
sleep 3
oc wait pod -n $NAMESPACE_TO_GENERATE --for=condition=ready -l "app=node-master" --timeout=30s
fi


cat ./local-test-infra/local-partner-deployment.yaml | ./script/mo > ./temp/rendered-partner-template.yaml
oc apply -f ./temp/rendered-partner-template.yaml
rm ./temp/rendered-partner-template.yaml
sleep 3
oc wait pod -n $NAMESPACE_TO_GENERATE --for=condition=ready -l "app=partner" --timeout=30s
oc wait pod -n $NAMESPACE_TO_GENERATE --for=condition=ready -l "app=partner" --timeout=30s
63 changes: 0 additions & 63 deletions local-test-infra/fsdiff-deployment.yaml

This file was deleted.

53 changes: 0 additions & 53 deletions local-test-infra/fsdiff-pod.yaml

This file was deleted.

1 change: 0 additions & 1 deletion test-partner/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM registry.access.redhat.com/ubi7/ubi:latest

RUN yum install -y hostname iproute iputils openssh openssh-clients podman
COPY diff-fs.sh /diff-fs.sh

CMD ["tail", "-f", "/dev/null"]
7 changes: 0 additions & 7 deletions test-partner/diff-fs.sh

This file was deleted.

0 comments on commit 835c172

Please sign in to comment.