-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Refactor MTE-2095 [v124] Consolidate and optimise bitrise files #18538
Refactor MTE-2095 [v124] Consolidate and optimise bitrise files #18538
Conversation
Generated by 🚫 Danger Swift against 5a3d0e2 |
1296d83
to
ba1193f
Compare
ba1193f
to
102ffe2
Compare
a329d4a
to
43684f0
Compare
# inputs: | ||
# - content: | | ||
# set -euxo pipefail | ||
# echo "$BITRISE_ARTIFACT_PATHS" |
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.
Is this going to need the changes similar to firefox_pull_and_unzip-dependencies?
derived_data=${BITRISE_ARTIFACT_PATHS##*|}
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.
No, explained in Slack, the value we get in that variable depends on the artifacts that we generate in previous stage and that are passed to next one.
Since we specify that in this line:
Line 222 in ec35137
- artifact_sources: build_applications.configure_build_fennec |
I don't expect changes in this.
What we could do is to try to have a way to get that derived_data folder path for both app and re-use this code. But it will be easier to implement once we see both apps running I guess
adding workflows one by one copy current focus file
67ebc25
to
5a3d0e2
Compare
# run_if: '{{getenv "BUILD_FOCUS_IOS" | eq "true"}}' | ||
run_tests: | ||
workflows: | ||
- build_and_test_1_SmokeTest2: | ||
- build_and_test_1_SmokeTest1: |
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.
💯 Thanks for renaming this workflow. test_1
and SmokeTest2
has been inconsistent here.
run_if: '{{getenv "BUILD_FIREFOX_IOS" | eq "true"}}' | ||
- build_and_test_2_SmokeTest: | ||
- build_and_test_2_SmokeTest2: |
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.
Ditto. Smoketest2
instead of just Smoketest
. 👍🏼
@@ -245,7 +245,7 @@ | |||
default = "YES"> | |||
</TestPlanReference> | |||
<TestPlanReference | |||
reference = "container:firefox-ios-tests/Tests/SmokeXCUITests.xctestplan"> | |||
reference = "container:firefox-ios-tests/Tests/Smoketest1.xctestplan"> |
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.
💯 Yes, this test plan should be called Smoketest1
.
📜 Tickets
Jira ticket
Let's have an idea bout how the bitrise.yml file will look like. Using this PR to make so improvement and reduce code duplication too.
I addition to the consolidation, I'm doing some optimisations here to try to reduce the file's size
💡 Description
📝 Checklist
You have to check all boxes before merging