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

fix: correct action for macos slack notification is used #14163

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

nstng
Copy link
Contributor

@nstng nstng commented Oct 13, 2022

Signed-off-by: Nils Semmelrock nils.semmelrock@tngtech.com

Summary

In #14093 a macos based workflow was introduced that sends a slack notification in case of failure. I used an action that only works on ubuntu based workflows. For review: compare with slack action used established macos workflows.

See notification send failure on: https://github.com/magma/magma/actions/runs/3242702815/jobs/5316352859
Error: Container action is only supported on Linux.

Test Plan

CI

Additional Information

  • This change is backwards-breaking

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>
@nstng nstng requested a review from a team as a code owner October 13, 2022 18:35
@nstng nstng requested a review from LKreutzer October 13, 2022 18:35
@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines. label Oct 13, 2022
@github-actions
Copy link
Contributor

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions github-actions bot added the component: ci All updates on CI (Jenkins/CircleCi/Github Action) label Oct 13, 2022
@github-actions
Copy link
Contributor

dp-workflow

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit a111593.

if: failure() && github.event_name == 'push' && github.repository_owner == 'magma'
uses: rtCamp/action-slack-notify@12e36fc18b0689399306c2e0b3e0f2978b7f1ee7 # pin@v2.2.0
if: failure() && github.repository_owner == 'magma'
uses: Ilshidur/action-slack@689ad44a9c9092315abd286d0e3a9a74d31ab78a # pin@2.1.0
Copy link
Member

Choose a reason for hiding this comment

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

Ilshidur/action-slack seems to be way less maintained and less popular as rtCamp/action-slack-notify

Copy link
Member

Choose a reason for hiding this comment

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

used by 600 compared to used by 8k

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but rtCamps action does not work on macos runners.

Copy link
Member

Choose a reason for hiding this comment

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

OK, was just surprised and thought it would be wroth asking,

@nstng nstng linked an issue Oct 14, 2022 that may be closed by this pull request
@nstng nstng merged commit e69b7e0 into magma:master Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ci All updates on CI (Jenkins/CircleCi/Github Action) size/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bazel magma.deb is used in an integ-test workflow
3 participants