Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tasks/acs-ci-nightly/workflow/preflight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ agent:
echo "Jira URL: $JIRA_URL"
echo

echo "GCS: gsutil ls gs://$GCS_BUCKET/logs/"
if /opt/gsutil/bin/gsutil ls "gs://$GCS_BUCKET/logs/" >/dev/null 2>"$gcs_error"; then
echo "GCS: gsutil ls -b gs://$GCS_BUCKET"
if /opt/gsutil/bin/gsutil ls -b "gs://$GCS_BUCKET" >/dev/null 2>"$gcs_error"; then

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check no longer verifies the existence of the logs subdirectory, only the bucket itself. This seems like a weaker preflight check that could allow subsequent steps to fail if they depend on that directory. Is this change intended?

echo "GCS: PASS"
else
gcs_status=$?
Expand Down
Loading