diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index e7cdce0d..230c10c7 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -97,6 +97,11 @@ jobs: kubectl -n source-system apply -f ./config/testdata/helmchart-from-bucket/source.yaml kubectl -n source-system wait bucket/charts --for=condition=ready --timeout=1m kubectl -n source-system wait helmchart/helmchart-bucket --for=condition=ready --timeout=1m + - name: Run large Git repo tests + run: | + kubectl -n source-system apply -f ./config/testdata/git/large-repo.yaml + kubectl -n source-system wait gitrepository/large-repo-go-git --for=condition=ready --timeout=2m + kubectl -n source-system wait gitrepository/large-repo-libgit2 --for=condition=ready --timeout=2m - name: Logs run: | kubectl -n source-system logs deploy/source-controller diff --git a/config/testdata/git/large-repo.yaml b/config/testdata/git/large-repo.yaml new file mode 100644 index 00000000..b8e00619 --- /dev/null +++ b/config/testdata/git/large-repo.yaml @@ -0,0 +1,27 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: GitRepository +metadata: + name: large-repo-go-git +spec: + gitImplementation: go-git + interval: 10m + url: https://github.com/hashgraph/hedera-mirror-node.git + ref: + branch: master + ignore: | + /* + !/charts +--- +apiVersion: source.toolkit.fluxcd.io/v1beta1 +kind: GitRepository +metadata: + name: large-repo-libgit2 +spec: + gitImplementation: libgit2 + interval: 10m + url: https://github.com/hashgraph/hedera-mirror-node.git + ref: + branch: master + ignore: | + /* + !/charts