فهرست منبع

Adjust test-pr.sh to filter to only images which support the current BASHBREW_ARCH

Tianon Gravi 5 سال پیش
والد
کامیت
a9bd6229fd
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      test-pr.sh

+ 1 - 0
test-pr.sh

@@ -169,6 +169,7 @@ declare -A failedBuild=() failedTests=()
 for img in "${files[@]}"; do
 	IFS=$'\n'
 	uniqImgs=( $(bashbrew list --uniq --build-order "$img") )
+	uniqImgs=( $(bashbrew cat --format '{{ if .TagEntry.HasArchitecture arch }}{{ $.RepoName }}:{{ .TagEntry.Tags | first }}{{ end }}' "${uniqImgs[@]}") ) # filter to just the set supported by the current BASHBREW_ARCH
 	unset IFS
 
 	echo