Add e2e tests for large Git repositories
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
		
							parent
							
								
									e1682da795
								
							
						
					
					
						commit
						2819924c78
					
				|  | @ -97,6 +97,11 @@ jobs: | ||||||
|           kubectl -n source-system apply -f ./config/testdata/helmchart-from-bucket/source.yaml |           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 bucket/charts --for=condition=ready --timeout=1m | ||||||
|           kubectl -n source-system wait helmchart/helmchart-bucket --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 |       - name: Logs | ||||||
|         run: | |         run: | | ||||||
|           kubectl -n source-system logs deploy/source-controller |           kubectl -n source-system logs deploy/source-controller | ||||||
|  |  | ||||||
|  | @ -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 | ||||||
		Loading…
	
		Reference in New Issue