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

Split workflow into PR and nightly #146

Conversation

zmichaels11
Copy link
Contributor

Changes

  • Split GitHub workflow into cron task (paging) and PRs
  • PR tasks skip the AWS credential stage so they should work if ran on forks

Signed-off-by: Zachary Michaels zmichaels11@gmail.com

Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
@zmichaels11 zmichaels11 requested a review from piraka9011 March 9, 2020 18:09
Copy link
Collaborator

@piraka9011 piraka9011 left a comment

Choose a reason for hiding this comment

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

👍

@zmichaels11 zmichaels11 marked this pull request as ready for review March 9, 2020 18:29
status: 'success'
if: success() && github.event_name == 'schedule'

double_test:
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is "double" test and how is it not handled by the matrix in ros1_tests

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not quite sure what it does; the purpose of this PR was to improve the GitHub workflow by refactoring what we currently have.

I've opened the issue: #148 to resolve this

Copy link
Collaborator

Choose a reason for hiding this comment

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

all right - i see now that this is a full duplicate of the PR one plus cloudwatch. it feels really fragile to be completely duplicated with one difference, let's move forward as long as you're brainstorming how to deduplicate

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I can skip steps using if, opening a PR to test this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Opened PR #149 which skips AWS configuration instead of duplicating work. I'll close this PR out if that workflow is working and its agreed upon that its a better solution.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@zmichaels11 @emersonknapp See the .travis.yml to understand what each of these tests are doing. Each one is matrix of the tests using a specific Docker build.

Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
@zmichaels11
Copy link
Contributor Author

Closing in favor of PR #149 which does the same thing, but without duplicating code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants