up
This commit is contained in:
		
							
								
								
									
										14
									
								
								scripts/update-redhat-fixtures.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								scripts/update-redhat-fixtures.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
set -euo pipefail
 | 
			
		||||
 | 
			
		||||
repo_root=$(git rev-parse --show-toplevel)
 | 
			
		||||
project="$repo_root/src/Concelier/__Tests/StellaOps.Concelier.Connector.Distro.RedHat.Tests/StellaOps.Concelier.Connector.Distro.RedHat.Tests.csproj"
 | 
			
		||||
 | 
			
		||||
if [[ ! -f "$project" ]]; then
 | 
			
		||||
  echo "Red Hat connector test project not found at $project" >&2
 | 
			
		||||
  exit 1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
export UPDATE_GOLDENS=1
 | 
			
		||||
# Disable shared Concelier test infra so the test project can restore standalone packages.
 | 
			
		||||
dotnet test "$project" -p:UseConcelierTestInfra=false "$@"
 | 
			
		||||
		Reference in New Issue
	
	Block a user