-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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] fix Slack e2e announcement #5753
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
3 tasks
NicolasMassart
changed the title
[FIX] fix Slack e2e announcement
[FIX] [skip ci] fix Slack e2e announcement
Feb 10, 2023
[skip ci]
[skip ci]
[skip ci]
sethkfman
added
needs-dev-review
PR needs reviews from other engineers (in order to receive required approvals)
and removed
needs-dev-review
PR needs reviews from other engineers (in order to receive required approvals)
labels
Feb 14, 2023
NicolasMassart
force-pushed
the
fix/643-fix-announcement-step
branch
5 times, most recently
from
February 15, 2023 12:22
ab4f10d
to
5df50dc
Compare
NicolasMassart
force-pushed
the
fix/643-fix-announcement-step
branch
from
February 15, 2023 12:30
5df50dc
to
20cdf5a
Compare
Restore wrongly committed project.pbxproj
NicolasMassart
force-pushed
the
fix/643-fix-announcement-step
branch
from
February 15, 2023 12:50
b5c834a
to
4bc7d5b
Compare
sethkfman
approved these changes
Feb 15, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Can you add the correct labels and merge? |
NicolasMassart
changed the title
[FIX] [skip ci] fix Slack e2e announcement
[FIX] fix Slack e2e announcement
Feb 15, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Development & PR Process
release-xx
label to identify the PR slated for a upcoming release (will be used in release discussion)needs-dev-review
label when work is completedneeds-qa
label when dev review is completedQA Passed
label when QA has signed offDescription
Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions,
1. What is the reason for the change?
Hard to test before running in prod, the
start_e2e_tests
workflow announcement step fails because of workflow not cloning the repo. However, adding the setup step to have dependencies just for notification is too heavy. Makes the workflow run in 7min when it's only a notification... It can be done in a more simple way.2. What is the improvement/solution?
Completely replace the JS step by the Bitrise Go Slack step that doesn't require setup, runs faster and does the same thing (even better).
Testing
This has been tested on Bitrise directly with running the workflow using customised env vars to send message to a private slack.
Test Slack resulting message:
Next step after this PR
Q&A to explain why I'm doing it this way.
However there's a side effect, if you try to abstract things to make sure that they will work on any CI, it means that you will have to stick to common features and have some overlay that will slow down things and make them more complex.
Also when time will come to move, you will have surprises as CI tools will evolve and what you thought was portable will probably not be.
So you will not benefit from the power of the current CI tool you are using and will provide a poor dev experience as modifications of the workflows will be more complex. In the end, all this annoying abstraction will make you think that the CI system is not good and you will want to change to another one when the problem is not the CI system, but the way you used it. Then you will reproduce the exact same mistake on the next CI system. So, my advice, go CI native, use CI system 100% and benefit from all the features even if they are the only one to offer that, and especially if they are. Maybe one day you will have to change, we can't tell. But as WAGNI says, we will deal with moving to another CI when we will need to. Until then use the full potential of the one you have.
Issue
fixes MetaMask/mobile-planning#643
Checklist