Skip to content

v0.15.0

v0.15.0 #86

GitHub Actions / test report failed Nov 27, 2024 in 0s

60 passed, 1 failed and 0 skipped

Tests failed

❌ test-report.xml

61 tests were completed in 174ms with 60 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
datapipe simple case 1✅ 1ms
simple-app init job test 2✅ 1❌ 10ms
simple-app multiport case 4✅ 13ms
simple-app simple case 23✅ 73ms
simple-app simple case 11✅ 25ms
simple-app simple case 11✅ 31ms
simple-app volume mounts test 8✅ 21ms

✅ datapipe simple case

✅ All manifests should match snapshot

❌ simple-app init job test

❌ All manifests should match snapshot
	- asserts[0] `matchSnapshot` fail
✅ Init Job - Set default init job image
✅ Init Job - Set init job image

✅ simple-app multiport case

✅ All manifests should match snapshot
✅ Deployment multiple port specification should work correctly
✅ Service multiple port specification should work correctly
✅ Ingress multiple port specification should work correctly

✅ simple-app simple case

✅ All manifests should match snapshot
✅ Deployment should be named as release
✅ Deployment image tag should be set correctly
✅ Deployment simple port specification should work correctly
✅ Deployment should have readinessProbe set correctly by default
✅ Deployment should have livenessProbe set correctly by default
✅ Deployment should use imagePullSecrets if specified
✅ Deployment should mount shared memory volume if shmMem specified
✅ Deployment should correctly set livenessProbe path
✅ Deployment should have correctly mounted configs
✅ Service should be named as release
✅ Service simple port specification should work correctly
✅ Service should use custom port
✅ Ingress should be named as release
✅ Ingress should use default service port if not specified
✅ Ingress should use custom service port
✅ Deployment should have correctly mounted volumes with pvc
✅ Deployment should have correctly mounted volumes without pvc
✅ PVC should not be created if emptyDir
✅ PVC should have correctly mounted volumes with pvc
✅ PVC should have correctly mounted volumes without pvc
✅ Gateway should enable HTTPRoute
✅ Spread service across nodes

✅ simple-app simple case

✅ All manifests should match snapshot
✅ CronJob should be named as release
✅ CronJob image tag should be set correctly
✅ CronJob should use imagePullSecrets if specified
✅ CronJob should mount shared memory volume if shmMem specified
✅ CronJob should have correctly mounted configs
✅ CronJob should have correctly mounted volumes with pvc
✅ CronJob should have correctly mounted volumes without pvc
✅ PVC should not be created if emptyDir
✅ PVC should have correctly mounted volumes with pvc
✅ PVC should have correctly mounted volumes without pvc

✅ simple-app simple case

✅ All manifests should match snapshot
✅ Deployment should be named as release
✅ Deployment image tag should be set correctly
✅ Deployment should use imagePullSecrets if specified
✅ Deployment should mount shared memory volume if shmMem specified
✅ Deployment should have correctly mounted configs
✅ Deployment should have correctly mounted volumes with pvc
✅ Deployment should have correctly mounted volumes without pvc
✅ PVC should not be created if emptyDir
✅ PVC should have correctly mounted volumes with pvc
✅ PVC should have correctly mounted volumes without pvc

✅ simple-app volume mounts test

✅ PVC - Create PVC if size is set
✅ Deployment - Mount volume if volume is set
✅ PVC - Do not create PVC if emptyDir is set
✅ Deployment - Do not recreteate if emptyDir is set
✅ PVC - Use secret if secret is set
✅ Deployment - Do not recreteate if secret is set
✅ PVC - Use configMap if configMap is set
✅ Deployment - Do not recreteate if configMap is set

Annotations

Check failure on line 0 in test-report.xml

See this annotation in the file changed.

@github-actions github-actions / test report

simple-app init job test ► All manifests should match snapshot

Failed test found in:
  test-report.xml
Error:
  		 - asserts[0] `matchSnapshot` fail 
Raw output
		 - asserts[0] `matchSnapshot` fail 
			 Template:	simple-app/templates/initjob.yaml 
			 DocumentIndex:	0 
			 ValuesIndex:	0 
			 Path:	 
			 Expected to match snapshot 1: 
			 	--- Expected 
			 	+++ Actual 
			 	@@ -5,3 +5,3 @@ 
			 	     helm.sh/hook: post-install,post-upgrade 
			 	-    helm.sh/hook-delete-policy: hook-succeeded,before-hook-creation 
			 	+    helm.sh/hook-delete-policy: before-hook-creation 
			 	     helm.sh/hook-weight: "-1" 
			 	@@ -13,3 +13,3 @@ 
			 	     helm.sh/chart: simple-app-0.0.0 
			 	-  name: simple-init-job 
			 	+  name: simple-init 
			 	 spec: