Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE-398: fail if there are red lines in the Status Report admin page #684

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

beto-aveiga
Copy link
Collaborator

@beto-aveiga beto-aveiga commented Sep 6, 2024

Adds a check that fails if there are errors in the Status Report page.

@beto-aveiga beto-aveiga linked an issue Sep 6, 2024 that may be closed by this pull request
@github-actions github-actions bot temporarily deployed to pantheon-pr-684 September 6, 2024 18:59 Destroyed
@beto-aveiga beto-aveiga marked this pull request as ready for review September 6, 2024 20:23
@beto-aveiga
Copy link
Collaborator Author

I tested it using other projects, and it worked.

- |
[ $(drush core:requirements --severity=2 --format=tsv | wc -l) -lt 1 ] \
&& echo "🟢 Status Report page checked" \
|| false || echo "🔴 Status Report page check failed"
Copy link
Member

Choose a reason for hiding this comment

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

What's this || false for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You are right 🤔
I guess this wasn't needed...
Let me try without it.

@github-actions github-actions bot temporarily deployed to pantheon-pr-684 September 9, 2024 13:49 Destroyed
@deviantintegral
Copy link
Member

This is probably worth calling out specifically in the release notes since it could cause working builds to fail.

@mrdavidburns mrdavidburns merged commit 0c32d21 into main Oct 3, 2024
53 checks passed
@mrdavidburns mrdavidburns deleted the issue-398-check-status-report-page branch October 3, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check "Status Report" page
3 participants