Skip to content

Commit

Permalink
ci: improve output of validate_start_codebuild_script (aws#5031)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart authored Jan 14, 2025
1 parent 1c38961 commit 0673015
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci_linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,19 @@ jobs:
| sed -r "s/^.*?for project (.*?)\"$/\1/" \
| sort -u
)
if [ -z "$from_github" ]; then
echo "No codebuild job statuses!"
echo "You may need to kick off the codebuild jobs with" \
"./codebuild/bin/start_codebuild.sh and then retry."
exit 1
fi
echo builds from github statuses:
echo "$from_github"
printf "$from_github\n\n"
from_file=$(
source codebuild/bin/start_codebuild.sh > /dev/null \
|| printf "%s\n" "${BUILDS[@]}" | cut -d" " -f1 | sort -u
)
echo builds from start_codebuild.sh:
echo "$from_file"
printf "$from_file\n\n"
echo "diff output:"
diff <(echo "$from_github") <(echo "$from_file")

0 comments on commit 0673015

Please # to comment.