Skip to content

Commit 9ef6316

Browse files
aryan9600Paulo Gomes
authored andcommitted
ci: remove explicit managed transport init and tests
Signed-off-by: Sanskar Jaiswal <[email protected]>
1 parent b6d6b59 commit 9ef6316

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

hack/ci/e2e.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -145,22 +145,6 @@ kubectl -n source-system wait gitrepository/large-repo-go-git --for=condition=re
145145
kubectl -n source-system wait gitrepository/large-repo-libgit2 --for=condition=ready --timeout=2m15s
146146

147147

148-
# Test experimental libgit2 transport. Any tests against the default transport must
149-
# either run before this, or patch the deployment again to disable this, as once enabled
150-
# only the managed transport will be used.
151-
kubectl -n source-system patch deployment source-controller \
152-
--patch '{"spec": {"template": {"spec": {"containers": [{"name": "manager","env": [{"name": "EXPERIMENTAL_GIT_TRANSPORT", "value": "true"}]}]}}}}'
153-
154-
# wait until the patch took effect and the new source-controller is running
155-
sleep 20s
156-
157-
kubectl -n source-system wait --for=condition=ready --timeout=1m -l app=source-controller pod
158-
159-
echo "Re-run large libgit2 repo test with managed transport"
160-
kubectl -n source-system wait gitrepository/large-repo-libgit2 --for=condition=ready --timeout=2m15s
161-
kubectl -n source-system exec deploy/source-controller -- printenv | grep EXPERIMENTAL_GIT_TRANSPORT=true
162-
163-
164148
echo "Run HelmChart from OCI registry tests"
165149
kubectl -n source-system apply -f "${ROOT_DIR}/config/testdata/helmchart-from-oci/source.yaml"
166150
kubectl -n source-system wait helmrepository/podinfo --for=condition=ready --timeout=1m

0 commit comments

Comments
 (0)