mirror of https://github.com/knative/pkg.git
				
				
				
			Auto-update dependencies (#724)
Produced via: `dep ensure -update knative.dev/test-infra` /assign mattmoor
This commit is contained in:
		
							parent
							
								
									d02c80dc62
								
							
						
					
					
						commit
						f00ff90b54
					
				|  | @ -1251,14 +1251,14 @@ | ||||||
| 
 | 
 | ||||||
| [[projects]] | [[projects]] | ||||||
|   branch = "master" |   branch = "master" | ||||||
|   digest = "1:d65a0f4c8458b9720f97b17d6d04c9efe341298f1c3f6c37e124a6c83c716668" |   digest = "1:8009d9ea7464198279c5c1b1a760365c1f731aa88239632c08929df5b7f323f6" | ||||||
|   name = "knative.dev/test-infra" |   name = "knative.dev/test-infra" | ||||||
|   packages = [ |   packages = [ | ||||||
|     "scripts", |     "scripts", | ||||||
|     "tools/dep-collector", |     "tools/dep-collector", | ||||||
|   ] |   ] | ||||||
|   pruneopts = "UT" |   pruneopts = "UT" | ||||||
|   revision = "0496d5ca277c0826349264be609cb0bdf8ad5b64" |   revision = "5d51ed40c38a606beaa42197961edb6d737227fc" | ||||||
| 
 | 
 | ||||||
| [[projects]] | [[projects]] | ||||||
|   digest = "1:8730e0150dfb2b7e173890c8b9868e7a273082ef8e39f4940e3506a481cf895c" |   digest = "1:8730e0150dfb2b7e173890c8b9868e7a273082ef8e39f4940e3506a481cf895c" | ||||||
|  |  | ||||||
|  | @ -93,15 +93,32 @@ function dump_cluster_state() { | ||||||
|   echo "***         E2E TEST FAILED         ***" |   echo "***         E2E TEST FAILED         ***" | ||||||
|   echo "***    Start of information dump    ***" |   echo "***    Start of information dump    ***" | ||||||
|   echo "***************************************" |   echo "***************************************" | ||||||
|   echo ">>> All resources:" | 
 | ||||||
|   kubectl get all --all-namespaces --show-labels -o wide |   local output="${ARTIFACTS}/k8s.dump.txt" | ||||||
|   echo ">>> Services:" |   echo ">>> The dump is located at ${output}" | ||||||
|   kubectl get services --all-namespaces --show-labels -o wide | 
 | ||||||
|   echo ">>> Events:" |   for crd in $(kubectl api-resources --verbs=list -o name | sort); do | ||||||
|   kubectl get events --all-namespaces --show-labels -o wide |     local count="$(kubectl get $crd --all-namespaces --no-headers 2>/dev/null | wc -l)" | ||||||
|   function_exists dump_extra_cluster_state && dump_extra_cluster_state |     echo ">>> ${crd} (${count} objects)" | ||||||
|   echo ">>> Full dump: ${ARTIFACTS}/k8s.dump.txt" |     if [[ "${count}" > "0" ]]; then | ||||||
|   kubectl get all --all-namespaces -o yaml > ${ARTIFACTS}/k8s.dump.txt |       echo ">>> ${crd} (${count} objects)" >> ${output} | ||||||
|  | 
 | ||||||
|  |       echo ">>> Listing" >> ${output} | ||||||
|  |       kubectl get ${crd} --all-namespaces >> ${output} | ||||||
|  | 
 | ||||||
|  |       echo ">>> Details" >> ${output} | ||||||
|  |       if [[ "${crd}" == "secrets" ]]; then | ||||||
|  |         echo "Secrets are ignored for security reasons" >> ${output} | ||||||
|  |       else | ||||||
|  |         kubectl get ${crd} --all-namespaces -o yaml >> ${output} | ||||||
|  |       fi | ||||||
|  |     fi | ||||||
|  |   done | ||||||
|  | 
 | ||||||
|  |   if function_exists dump_extra_cluster_state; then | ||||||
|  |     echo ">>> Extra dump" >> ${output} | ||||||
|  |     dump_extra_cluster_state >> ${output} | ||||||
|  |   fi | ||||||
|   echo "***************************************" |   echo "***************************************" | ||||||
|   echo "***         E2E TEST FAILED         ***" |   echo "***         E2E TEST FAILED         ***" | ||||||
|   echo "***     End of information dump     ***" |   echo "***     End of information dump     ***" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue