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

Optimize bitrise #3051

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open

Optimize bitrise #3051

wants to merge 38 commits into from

Conversation

vargaat
Copy link
Contributor

@vargaat vargaat commented Jan 6, 2025

What's new?

  • A brand new bitrise app created with the yml file hosted in our repository.
  • Workflow for PR ad-hoc builds supporting all 4 apps.
  • A single workflow to trigger and build all apps to reduce build count from 5 (trigger + 3 canvas apps + horizon) to 1.
  • In case when the 3 canvas apps are built the total build time is reduced from 24 minutes to 18 m 30 sec, if we include horizon the save is even larger.

Bitrise Configurations:

Script Additions:

refs: MBL-18174
affects: Student, Teacher, Parent

@inst-danger
Copy link
Contributor

inst-danger commented Jan 6, 2025

Teacher Build QR Code:

@inst-danger
Copy link
Contributor

inst-danger commented Jan 6, 2025

Builds

Student
Teacher
Parent

@inst-danger
Copy link
Contributor

inst-danger commented Jan 6, 2025

Parent Build QR Code:

@inst-danger
Copy link
Contributor

inst-danger commented Jan 6, 2025

Student Build QR Code:

@inst-danger
Copy link
Contributor

inst-danger commented Jan 6, 2025

Fails
🚫 Build failed, skipping coverage check
❌ XCTest failed: CoreTests/AssignmentCellViewModelTests/testSubmissionStatusAndIconAndColor
XCTAssertEqual failed: ("#6a7883") is not equal to ("#697783")
XCTAssertEqual failed: ("#03893d") is not equal to ("#03893c")
❌ XCTest failed: CoreTests/DiscussionDetailsViewControllerTests/testAutomaticRead
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x113012800; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x6000006eb7e0>>".
XCTAssertNotNil failed
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x113012800; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x6000006eb7e0>>".
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x113012800; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x6000006eb7e0>>".
❌ XCTest failed: CoreTests/DiscussionDetailsViewControllerTests/testLayout
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x108068000; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x60000072d980>>".
XCTAssertTrue failed
XCTAssertTrue failed
XCTAssertTrue failed
XCTAssertTrue failed
XCTAssertTrue failed
XCTAssertTrue failed
XCTAssertTrue failed
XCTAssertTrue failed
XCTAssertTrue failed
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x108068000; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x60000072d980>>".
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x108068000; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x60000072d980>>".
XCTAssertTrue failed
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x108068000; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x60000072d980>>".
XCTAssertTrue failed
❌ XCTest failed: CoreTests/DiscussionDetailsViewControllerTests/testShowEntry
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x111008200; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x600000711e40>>".
XCTAssertEqual failed: ("nil") is not equal to ("Optional("4")")
❌ XCTest failed: CoreTests/DiscussionDetailsViewControllerTests/testShowReplies
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x106018600; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x60000071a140>>".
XCTAssertTrue failed
XCTAssertTrue failed
❌ XCTest failed: CoreTests/DiscussionDetailsViewControllerTests/testStudentGroupTopic
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x10802be00; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x60000072eb40>>".
XCTAssertTrue failed
XCTAssertTrue failed
XCTAssertTrue failed
❌ XCTest failed: CoreTests/DiscussionDetailsViewControllerTests/testStudentGroupTopicWhenUserNotInAGroup
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x108076600; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x60000072f3c0>>".
XCTAssertTrue failed
XCTAssertTrue failed
XCTAssertTrue failed
❌ XCTest failed: CoreTests/DiscussionDetailsViewControllerTests/testTeacherGroupTopic
Asynchronous wait failed: Exceeded timeout of 9 seconds, with unfulfilled expectations: "Expect predicate `runningCount == 0` for object <_TtCC9CoreTests36DiscussionDetailsViewControllerTests11MockWebView: 0x10807b200; frame = (0 0; 375 100); opaque = NO; backgroundColor = <UIDynamicCatalogColor: 0x600002366f80; name = backgroundLightest>; layer = <CALayer: 0x60000072fc40>>".
XCTAssertTrue failed
XCTAssertTrue failed
XCTAssertTrue failed

Generated by 🚫 dangerJS against 60b0868

.bitrise/pr_adhoc/bitrise_pr_adhoc.yml Outdated Show resolved Hide resolved
.bitrise/pr_adhoc/create_pr_comment.sh Outdated Show resolved Hide resolved
.bitrise/pr_adhoc/create_pr_comment.sh Show resolved Hide resolved
rh12
rh12 previously approved these changes Jan 7, 2025
Copy link
Contributor

@rh12 rh12 left a comment

Choose a reason for hiding this comment

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

Thanks for consolidating all this!

ndrsszsz
ndrsszsz previously approved these changes Jan 7, 2025
Copy link
Contributor

@ndrsszsz ndrsszsz left a comment

Choose a reason for hiding this comment

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

Nice! 👍

@vargaat vargaat dismissed stale reviews from ndrsszsz and rh12 via 60b0868 January 8, 2025 15:25
Copy link
Contributor

@szabinst szabinst left a comment

Choose a reason for hiding this comment

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

Nice improvements! 🚀

@vargaat vargaat requested review from ndrsszsz and rh12 January 9, 2025 07:56
@Deluciferrral
Copy link

  • No1

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.

6 participants