wordpress-mobile / release-toolkit-gutenberg-mobile

Automation Scripts for Releasing Gutenberg-Mobile Updates to the WordPress Mobile Apps.
Mozilla Public License 2.0
5 stars 2 forks source link

Address Gutenberg Podspec fetching failure #182

Closed derekblank closed 10 months ago

derekblank commented 10 months ago

The iOS integration command currently fails when fetching the Gutenberg Podspec:

Analyzing dependencies
Pre-downloading: `FSInteractiveMap` from `https://github.com/wordpress-mobile/FSInteractiveMap.git`, tag `0.2.0`
Fetching podspec for `Gutenberg` from `https://cdn.a8c-ci.services/gutenberg-mobile/Gutenberg-v1.11.0.podspec`
[!] Failed to fetch podspec for `Gutenberg` at `https://cdn.a8c-ci.services/gutenberg-mobile/Gutenberg-v1.11.0.podspec`.
 Error: 403 Forbidden
jhnstn commented 10 months ago

I ran into this when trying to create a "fork" release with a version of GBM that did not exist. v1.11.0 likely exists but predated the recent switch to using the xcframework to package GBM.

I'm thinking we should add a check to see if the Gutenberg package exists before continuing. Also thinking about a --watch flag to poll for that before continuing with the ios integration

jhnstn commented 10 months ago

I added a check to the integrate command to check for published GB builds in this PR

I'm still not sure how to test this without an open production release. I tried pointing to an old release but all the status checks are gone. Github has been a bit flaky for me so not sure if it's a temporary thing or if the old status checks are deleted after some time after closing the pr.

derekblank commented 10 months ago

@jhnstn I believe this issue has been resolved by the two PRs below, and can be moved to the Done column. WDYT?

derekblank commented 10 months ago

Resolved in https://github.com/wordpress-mobile/release-toolkit-gutenberg-mobile/pull/179 and https://github.com/wordpress-mobile/release-toolkit-gutenberg-mobile/pull/199