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

Adding check wait for HITL #332

Merged
merged 9 commits into from
Apr 9, 2021
Merged

Adding check wait for HITL #332

merged 9 commits into from
Apr 9, 2021

Conversation

ryan-summers
Copy link
Member

@ryan-summers ryan-summers commented Apr 9, 2021

This PR integrates the HITL into the PR check process - specifically, the HITL now posts a check onto the PR that we can require to pass.

This required the following:

  1. Wait for the check to complete
  2. Wait for a startup period (in case of re-starting check) so that a previously-passed check isn't detected in (1)

.github/workflows/hitl.yml Outdated Show resolved Hide resolved
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 09:57 Inactive
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 10:09 Inactive
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 10:10 Inactive
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 10:15 Inactive
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 10:34 Inactive
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 10:50 Inactive
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 11:05 Inactive
@ryan-summers ryan-summers marked this pull request as ready for review April 9, 2021 11:08
Copy link
Member

@jordens jordens left a comment

Choose a reason for hiding this comment

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

Cool!

.github/workflows/hitl.yml Outdated Show resolved Hide resolved
- uses: fountainhead/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: HITL
Copy link
Member

@jordens jordens Apr 9, 2021

Choose a reason for hiding this comment

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

Suggested change
checkName: HITL
checkName: HITL Run Status
  • Can we move the cargo flash step into hitl/run.sh?
  • Where is the details_url ending up? It would be nice to have that link from the commit checks on stabilizer to the hitl run on hitl (for those who can access it). The check status stdout omits the commands that were executed (set -x goes to stderr). So the link to the actual run would be nice.

Copy link
Member Author

Choose a reason for hiding this comment

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

Re: details_url - this appears to be a broken portion of the GHA API: LouisBrunner/checks-action#18

@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 11:24 Inactive
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 11:36 Inactive
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 11:43 Inactive
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 12:01 Inactive
@ryan-summers ryan-summers temporarily deployed to hitl April 9, 2021 13:03 Inactive
@jordens jordens self-requested a review April 9, 2021 14:18
Copy link
Member

@jordens jordens left a comment

Choose a reason for hiding this comment

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

Nice

@ryan-summers ryan-summers merged commit 05ead19 into master Apr 9, 2021
@bors bors bot deleted the feature/hitl-check branch April 9, 2021 14:51
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.

2 participants