Commit Graph

12 Commits

Author SHA1 Message Date
Pascal Hartig
781df776f2 Rename default branch references to main (#2689)
Summary:
I really hope I hit everything and didn't break anything that wasn't
referring to branch names.

Pull Request resolved: https://github.com/facebook/flipper/pull/2689

Test Plan:
_eyes

CI

|[Site Preview: flipper](https://our.intern.facebook.com/intern/staticdocs/eph/D30305789/V2/flipper/)

Reviewed By: timur-valiev

Differential Revision: D30305789

Pulled By: passy

fbshipit-source-id: 5daaa09250bb96bb50be679fc01dae86c666eb73
2021-08-13 15:00:39 -07:00
Pritesh Nandgaonkar
8ef5a62010 Update pod push script to handle multiple edge cases (#2511)
Summary:
This PR adds a script to publish pods. It handles different edge cases like:
- The version was already pushed but still you are trying to push it, it will skip in that case and give a proper message.
- This also makes sure that the same version Flipper pod exists before pushing FlipperKit.
- It also has the retry mechanism in place if at all the pod trunk push fails to push.

## Changelog

Updated the workflow to push pods

Pull Request resolved: https://github.com/facebook/flipper/pull/2511

Test Plan:
While pushing already published release:
https://github.com/facebook/flipper/actions/runs/974346766

While pushing new release:

https://github.com/facebook/flipper/actions/runs/978707041

Reviewed By: passy

Differential Revision: D29415078

Pulled By: priteshrnandgaonkar

fbshipit-source-id: f0fb68a2e399802e5719d7be4216d4a5ed6ef782
2021-06-30 07:21:43 -07:00
Michel Weststrate
c94fbbee14 Fix bump pods (#2374)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2374

Quick fix for create_pr flow

Reviewed By: priteshrnandgaonkar

Differential Revision: D28711029

fbshipit-source-id: 893a15a62896a96739b3cf5e784ca29e5d9647b5
2021-05-26 09:22:39 -07:00
Michel Weststrate
42325e41c5 Automatically bump iOS pods
Summary: Update our pods automatically post release

Reviewed By: priteshrnandgaonkar

Differential Revision: D28283782

fbshipit-source-id: eff0b033c6704e4e46c0eb96cc4d527969ce7ccc
2021-05-07 09:41:22 -07:00
Pritesh Nandgaonkar
5a69213dc3 Fixes the create pr job. (#2273)
Summary:
It fixes the GH action to create PR.

## Changelog

Updated the GH action to v3.

Pull Request resolved: https://github.com/facebook/flipper/pull/2273

Test Plan:
Check the PR created by CI
https://github.com/facebook/flipper/actions/runs/817306111
https://github.com/facebook/flipper/pull/2274/files

Reviewed By: mweststrate

Differential Revision: D28256828

Pulled By: priteshrnandgaonkar

fbshipit-source-id: c8d7a09723d6a1de1d4534891428b6dbc5be6277
2021-05-06 09:01:33 -07:00
Pascal Hartig
1d67dd8a9f Remove pod bumps without flipperkit_version (#2117)
Summary:
Sample and SampleSwift directly link to the debug version and don't reference `flipperkit_version` which is why the script is failing.

Pull Request resolved: https://github.com/facebook/flipper/pull/2117

Test Plan: hopeitwork

Reviewed By: priteshrnandgaonkar

Differential Revision: D27395244

Pulled By: passy

fbshipit-source-id: 3485731b0489376fbdf987c082ef7d288f66bbe8
2021-03-29 06:53:54 -07:00
Anton Nikolaev
c431657a39 Use --synchronous option for pushing FlipperKit cocoapod which should fix consistency issue
Summary: This is suggested as a fix for the consistency issue (https://github.com/facebook/flipper/issues/1638) when interdependent packages published together and one of them cannot find another because it takes time to synchronise published packages to CDN. This fix is suggested here: https://github.com/CocoaPods/CocoaPods/issues/9497.

Reviewed By: mweststrate

Differential Revision: D25184732

fbshipit-source-id: d8d58b33f65ff7e87f935fb7cb85964dbf95dd13
2020-11-26 02:14:14 -08:00
Pascal Hartig
50f2b0db5f Trigger publish-pods from release workflow
Summary: Had the `PERSONAL_TOKEN` put in place by the OSS oncall. Still won't know if it has the right permissions until we run this. :/

Reviewed By: nikoant

Differential Revision: D24833829

fbshipit-source-id: 4fbf6e0b0abbc50d0b9a1e9b7ca8b02f6e1f5171
2020-11-10 04:24:58 -08:00
Pritesh Nandgaonkar
a4422a7687 Update pod version after release (#1338)
Summary:
This diff updates the Github workflow to update pod versions after the release is published on Cocoapods.
## Changelog

- Update Github workflow to update the pod versions till the release is published in Cocoapods.

Pull Request resolved: https://github.com/facebook/flipper/pull/1338

Test Plan:
A PR got created with the updated pod versions after the release was pushed.
https://github.com/facebook/flipper/pull/1365

Reviewed By: passy

Differential Revision: D22456857

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 335996bc1ebb6da309d3f60a8f3401559e0a83c7
2020-07-10 02:20:14 -07:00
Pritesh Nandgaonkar
96a6172cb7 Increase retry number and increase retry delay (#1140)
Summary:
It increases the retry  number and the retry delay.  Because the previous number of retries were too less. The link to the job which failed is [here](https://github.com/facebook/flipper/pull/1138/checks?check_run_id=649669866).
## Changelog

- Increase retries and retry delay.
Pull Request resolved: https://github.com/facebook/flipper/pull/1140

Test Plan: I relased a path version and it worked successfully. Here is the [job](https://github.com/facebook/flipper/actions/runs/97466572) and it also created the PR(https://github.com/facebook/flipper/issues/1141 )

Reviewed By: passy

Differential Revision: D21440674

Pulled By: priteshrnandgaonkar

fbshipit-source-id: f8131239d30dbd6a4589a6dc2f36893e8df0ae09
2020-05-07 04:31:41 -07:00
Pritesh Nandgaonkar
63a512a910 Github Action to create PR for Podfile.lock (#1097)
Summary:
This PR adds GH action to create PR with the updated Podfile.lock when a new tag is released.

## Changelog

- Add GH action to automatically create PR with updated Podfile.lock.
Pull Request resolved: https://github.com/facebook/flipper/pull/1097

Test Plan: I was not able to test it on a release of tag. But I tested it by triggering the workflow on a push to the branch. It created a PR like [this](https://github.com/facebook/flipper/pull/1110).

Reviewed By: jknoxville

Differential Revision: D21381996

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 2dffa0f71f7e211541728acb06aea5763ae53f47
2020-05-05 03:05:55 -07:00
Pritesh Nandgaonkar
6f9d82117e Publish pods gh (#1083)
Summary:
This PR adds a github action to publish pods on a new tag. It also tries to fix a race condition which happens when we try to publish FlipperKit pod. During the release of FlipperKit pod, we rely on the newly published Flipper Pod, and sometimes the release of Flipper Pod takes a time to get updated in the cocoapods trunk.

This is a known issue by the Cocoapods and they will be shipping a fix to this in Cocoapods 1.10. Till then we can keep retrying for 5 times.

Ref: https://github.com/CocoaPods/CocoaPods/issues/9502#issuecomment-579486258

## Changelog

- Adds Github actions to publish cocoapods.
- Removes the Circle CI config to publish on cocoapods
Pull Request resolved: https://github.com/facebook/flipper/pull/1083

Test Plan: I tested this action by running it on this PR and it worked fine.

Reviewed By: jknoxville

Differential Revision: D21348084

Pulled By: priteshrnandgaonkar

fbshipit-source-id: f33f3cdef43ae032ad42c94db72323212e40ec67
2020-05-01 09:07:02 -07:00