Skip to content

Use available resource class for backend-integration-tests-offline-job#4013

Merged
fire-at-will merged 5 commits into
mainfrom
fix-backend-integration-tests-offline-job
Jul 2, 2024
Merged

Use available resource class for backend-integration-tests-offline-job#4013
fire-at-will merged 5 commits into
mainfrom
fix-backend-integration-tests-offline-job

Conversation

@fire-at-will

@fire-at-will fire-at-will commented Jul 2, 2024

Copy link
Copy Markdown
Contributor

Description

The 5.0-dev branch was using the macos.x86.medium.gen2 resource class for the backend-integration-tests-offline-job, but that resource class was removed from CircleCI on June 28, 2024 (source). Since the resource class is now unavailable, this job currently fails 100% of the time on main.

This PR brings the job onto the same M1 resource as most other jobs. While the tests may be more flaky on M1 machines, the job retry mechanism we have in place now should help counter this.

@fire-at-will fire-at-will added the ci label Jul 2, 2024
@fire-at-will fire-at-will marked this pull request as ready for review July 2, 2024 14:24
@fire-at-will fire-at-will requested a review from a team July 2, 2024 14:24

@tonidero tonidero left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes look good! Just a comment.

Comment thread .circleci/config.yml
Comment thread .circleci/config.yml Outdated
# Forked pull requests have CIRCLE_BRANCH set to pull/XXX
ignore: /pull\/[0-9]+/
- backend-integration-tests-offline:
xcode_version: "15.2"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The base job uses 15.3 and iOS 17.4 which is why the simulator can't be found in https://circleci.com/gh/RevenueCat/purchases-ios/231400

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

THANK YOU!!! I was just trying to figure that out 😅

@fire-at-will fire-at-will merged commit 48a00ba into main Jul 2, 2024
@fire-at-will fire-at-will deleted the fix-backend-integration-tests-offline-job branch July 2, 2024 16:30
joshdholtz added a commit that referenced this pull request Jul 16, 2024
**This is an automatic release.**

### New Features
* Paywalls with custom purchase and restore logic handlers (#3973) via
James Borthwick (@jamesrb1)
### Bugfixes
* Prevent paywall PurchaseHandler from being cleared on rerender (#4035)
via Josh Holtz (@joshdholtz)
* Update Purchase Tester for 5.0.0 (#4015) via Will Taylor
(@fire-at-will)
### Dependency Updates
* Bump fastlane from 2.221.0 to 2.221.1 (#3977) via dependabot[bot]
(@dependabot[bot])
### Other Changes
* Bring official `xcodes` back to CI (#4029) via Cesar de la Vega
(@vegaro)
* Paywalls tester with sandbox purchases (#4024) via James Borthwick
(@jamesrb1)
* Update v5 migration guide to contain current latest version (#4019)
via Toni Rico (@tonidero)
* CI Build Docs Improvements (#4014) via Will Taylor (@fire-at-will)
* Use available resource class for backend-integration-tests-offline-job
(#4013) via Will Taylor (@fire-at-will)
* Add `X-Preferred-Locales` header (#4008) via Cesar de la Vega
(@vegaro)

---------

Co-authored-by: Toni Rico <antonio.rico.diez@revenuecat.com>
Co-authored-by: Josh Holtz <me@joshholtz.com>
nyeu pushed a commit that referenced this pull request Oct 2, 2024
**This is an automatic release.**

### New Features
* Paywalls with custom purchase and restore logic handlers (#3973) via
James Borthwick (@jamesrb1)
### Bugfixes
* Prevent paywall PurchaseHandler from being cleared on rerender (#4035)
via Josh Holtz (@joshdholtz)
* Update Purchase Tester for 5.0.0 (#4015) via Will Taylor
(@fire-at-will)
### Dependency Updates
* Bump fastlane from 2.221.0 to 2.221.1 (#3977) via dependabot[bot]
(@dependabot[bot])
### Other Changes
* Bring official `xcodes` back to CI (#4029) via Cesar de la Vega
(@vegaro)
* Paywalls tester with sandbox purchases (#4024) via James Borthwick
(@jamesrb1)
* Update v5 migration guide to contain current latest version (#4019)
via Toni Rico (@tonidero)
* CI Build Docs Improvements (#4014) via Will Taylor (@fire-at-will)
* Use available resource class for backend-integration-tests-offline-job
(#4013) via Will Taylor (@fire-at-will)
* Add `X-Preferred-Locales` header (#4008) via Cesar de la Vega
(@vegaro)

---------

Co-authored-by: Toni Rico <antonio.rico.diez@revenuecat.com>
Co-authored-by: Josh Holtz <me@joshholtz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants