Commit Graph

133 Commits

Author SHA1 Message Date
Lorenzo Blasa
8fb7c503b8 Add CI workflow (#4054)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/4054

Build RNW example on Github

Reviewed By: aigoncharov

Differential Revision: D39257309

fbshipit-source-id: dda414c025bfe6720449fe6c3d81fe9fb9373b2a
2022-09-07 02:21:58 -07:00
Lorenzo Blasa
23ed745105 Update Java version in Github workflow (#4052)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/4052

Update to use Java 11 instead of 1.8.

Aim is to bring parity with the other existing workflows but more importantly fix the build as is broken at the moment.

Reviewed By: antonk52

Differential Revision: D39254936

fbshipit-source-id: c60332a288d9a671df5db0180fb501ddf185a075
2022-09-05 03:54:17 -07:00
Andrey Goncharov
41d7b2a307 Update OSS node version (#3822)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3822

Update Node version in CI pipeline

Reviewed By: lblasa

Differential Revision: D37207646

fbshipit-source-id: 157d1da9b01ca3ad34047908abc629f84d6736bc
2022-06-16 06:27:01 -07:00
Lorenzo Blasa
9aed8ce02d Remove RSocket
Summary:
^
Changelog: Remove rsocket dependency for iOS

Reviewed By: aigoncharov

Differential Revision: D33656299

fbshipit-source-id: aab00c425976273112a127e06aca82dfd63194eb
2022-02-25 02:02:24 -08:00
Pascal Hartig
e602cc0305 GH Action: Only publish to NPM when tagged (#3453)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3453

Per title. Otherwise leads to continuous errors on every
commit like these: https://github.com/facebook/flipper/runs/5188689903?check_suite_focus=true

Reviewed By: nikoant

Differential Revision: D34216898

fbshipit-source-id: 686abdca5e70bee62917bcb8db265dcea5fcbb98
2022-02-15 04:14:25 -08:00
Pascal Hartig
b8fdb14dfb Add library verification step (#3436)
Summary:
This is pretty dumb but hopefully good enough to prevent accidental regressions. We simply check if there are "enough" `libevent_core.so`s in the bundle. This is obviously not future-proof but it's super cheap to run and if it causes problems at some point, we can always remove it.

Apologies for the formatting spam. Didn't notice until I submitted this that my editor got a little passive-aggressive.

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

Test Plan: CI here.

Reviewed By: lblasa

Differential Revision: D34210743

Pulled By: passy

fbshipit-source-id: a57c397e39456fae33af9f3ceed08b6944eac79e
2022-02-14 11:30:45 -08:00
Pascal Hartig
6a28a712f9 Hopefully fix flipper-release npm publish step (#3366)
Summary:
This is really stupid but the download creates a directory with the same name before putting the file in it. I think `v2` no longer does but hey, this is the devil we know.

You can look at the actions further down to see that we reference all the other downloads by `filename/filename` as well, so this should do it.

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

Test Plan: Another release, I'm afraid. This is a step you cannot dry-run.

Reviewed By: cekkaewnumchai, aigoncharov

Differential Revision: D33842700

Pulled By: passy

fbshipit-source-id: d6f7a4a711ec056ba16f13c72f2c550e9a632ac0
2022-01-28 06:32:51 -08:00
Andrey Goncharov
ef852438b0 Link react-flipper-example to local js-flipper (#3315)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3315

Before this change, it was impossible to make changes to js-flipper and react-flipper-example at the same time because react-flipper-example used a published version of js-flipper

Reviewed By: passy

Differential Revision: D33623034

fbshipit-source-id: b291b18aace49163a6edc4a3f5c22da9ef936b7c
2022-01-19 03:31:25 -08:00
Andrey Goncharov
28e79fe4e5 Run js-flipper tests on GH (#3298)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/3298

Reviewed By: passy

Differential Revision: D33620152

fbshipit-source-id: 3ed14dd8a4813f9e3e8b62774d6969c52348e6d1
2022-01-17 07:55:41 -08:00
Pascal Hartig
c1d5a2c62f Back out "Temporarily remove flipper-server release steps"
Summary:
Original commit changeset: 1117a177c8eb

Original Phabricator Diff: D33584907 (8a3f48d7a4)

Reviewed By: aigoncharov

Differential Revision: D33585460

fbshipit-source-id: b4a220f7ddb1ce8aee24427df7cb81982ec431ce
2022-01-17 05:48:31 -08:00
Pascal Hartig
8a3f48d7a4 Temporarily remove flipper-server release steps (#3291)
Summary:
It's late Friday now and we still don't have a release out.

Let's revert this once we've got one stable build out.

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

Reviewed By: fabiomassimo

Differential Revision: D33584907

Pulled By: passy

fbshipit-source-id: 1117a177c8eb12c7db69a53ad0bc949b53aaf04f
2022-01-14 09:26:46 -08:00
Pascal Hartig
9451911709 Fix windows build (for real this time?) (#3289)
Summary:
This previous attempt didn't work. Not even sure what happens now, it seems to just return the result of a boolean evaluation? Cool.

Still haven't verified that this works in the release build but noticed that we do effectively the same in the build step. By upgrading to the same revision of the action we use and then switching from `&&` to simply `;`, we can be reasonably sure that this will work now.

The alternative would be to switch to `pwsh` which appears to be the new name. `powershell` is the default shell and seems to be an older version without support for `&&`. I honestly never want to touch this or read about it again, so let's go with the simpler option.

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

Reviewed By: aigoncharov

Differential Revision: D33582853

Pulled By: passy

fbshipit-source-id: 7c70ff360a5c327139b6ecb5463e85883a2caf9d
2022-01-14 06:30:38 -08:00
Michel Weststrate
ff0d5f2736 fix release build, attempt 2
Summary: Fix flipper-server release. Fixes https://github.com/facebook/flipper/runs/4803844153?check_suite_focus=true

Reviewed By: lblasa

Differential Revision: D33566443

fbshipit-source-id: 7610c4f73841a66ed9104f8ec0626d6d99bf5a71
2022-01-13 06:24:07 -08:00
Pascal Hartig
d825bd29c2 Fix Windows release job (#3282)
Summary:
I'm not entirely sure why this broke. Some Powershell versions
support `&&` but others don't. Something downgraded us, apparently.

Failing job: https://github.com/facebook/flipper/runs/4791210127?check_suite_focus=true
Issue: https://github.com/facebook/flipper/issues/3281
Stackoverflow post I copy-pasted from: https://stackoverflow.com/questions/65627536/the-token-is-not-a-valid-statement-separator-in-this-version

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

Test Plan: New release, I reckon.

Reviewed By: aigoncharov

Differential Revision: D33565457

Pulled By: passy

fbshipit-source-id: 1751a84fc86d10ee87c60feecb07947e9d5780cf
2022-01-13 04:30:32 -08:00
Pascal Hartig
f34f146f1a Update js client path for dependabot (#3264)
Summary:
This has been failing since the move in D31688105 (9a47f41056).

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

Test Plan: _eyes_

Reviewed By: antonk52

Differential Revision: D33509970

Pulled By: passy

fbshipit-source-id: 5cb49cc96fe7d74fa9a1820a99daf79641f25837
2022-01-11 07:44:15 -08:00
Pascal Hartig
cc70cf0fae Upgrade checkout workflows (#3241)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3241

Fixes https://github.com/facebook/flipper/issues/3196

Reviewed By: lawrencelomax

Differential Revision: D33403962

fbshipit-source-id: 3f282e5bd10fc25f72cac58fa97f026e00a87dae
2022-01-05 09:39:56 -08:00
Michel Weststrate
582ea64011 Publish flipper-server to NPM (#3224)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3224

Automatically publish to https://www.npmjs.com/package/flipper-server

Changelog: [experimental] It is now possible to run a full fledged Flipper as node + browser appication by using `npx flipper-server`

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

Test Plan:
https://github.com/facebook/flipper/runs/4659854128?check_suite_focus=true

Checked that the build is non-fb, has no fb plugins etc, and runs from npm

{F690008124}

{F690008123}

{F690008122}

Reviewed By: nikoant

Differential Revision: D33297125

Pulled By: mweststrate

fbshipit-source-id: b5fe6fcb81c665036273db814cb61855aaceff85
2022-01-04 04:13:10 -08:00
Michel Weststrate
efdf9d2d64 Upgrade GH retry action so that stdout/ stderr is captures (#3211)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3211

The GH retry action did ate all the stdout / stderr, so if the retry fails, it was completely unclear why. This was fixed in a newer version of the action

Reviewed By: antonk52

Differential Revision: D33308437

fbshipit-source-id: a599161e0c72b95b35e6ecab8cd84c6fa7027cd3
2021-12-24 07:15:23 -08:00
Pascal Hartig
8ccae8a7ac Upgrade Android build infra (#3095)
Summary:
This includes a bunch of different things which I wanted to do separately, but it's all a massive Jenga Tower and you cannot remove a single piece.

- Litho upgrade
- Gradle plugin upgrade
- Remove storage permission as it apparently doesn't do anything above Android 10
- Upgraded build target to Android 12 because the new support lib/Kotlin stdlib required this which then caused the issue below to pop up
- Added "export=true" everywhere as this is now a blocking issue if you don't have it
- Upgraded to the LeakCanary2 plugin as version one no longer builds with an Android 12 target for the export reason
- Make CI run on JRE 11 because that's required by the new Gradle plugin
- Update internal CI to no longer define the SDK twice and use Java 11

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

Test Plan: Built Android Sample and Tutorial app, connected to Flipper.

Reviewed By: lblasa

Differential Revision: D32644410

Pulled By: passy

fbshipit-source-id: 8978f158d9c642b3bbd9dbbd7321eb20098a7a53
2021-11-25 12:21:59 -08:00
Pascal Hartig
c9daf81098 Undo upload fix
Summary:
This one is actually fine. We don't do the upload/download dance,
so the file exists in the place we expect it to.

We can see in this run that the current path actually works:
https://github.com/facebook/flipper/runs/4316082427?check_suite_focus=true

Reviewed By: nikoant

Differential Revision: D32652626

fbshipit-source-id: ca9c52d2c3016fe2ec300d1f4fd875b9f3301e3b
2021-11-25 10:36:53 -08:00
Pascal Hartig
9f7085788c Increase publish verbosity (#3100)
Summary:
I can run the same commands locally and everything is fine but in CI, it creates two separate staging repositories.

Maybe this will shed some light.

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

Reviewed By: nikoant

Differential Revision: D32651863

Pulled By: passy

fbshipit-source-id: 30441b29ab6a4270dee1c958e19242f71265a174
2021-11-25 10:33:29 -08:00
Pascal Hartig
93bc23e9cd Potential fix for artefact upload issue
Summary:
I've been investigating the now persistent upload issue for our artifacts and it appears to come down to artifacts being uploaded and downloaded as folder structures while they used to be individual files.

Annoyingly, the `ghr` tool we use for uploading throws a cryptic and misleading error: https://github.com/facebook/flipper/runs/4314584032?check_suite_focus=true

There is some more control in the `v2` version of the actions but for now, this seems like the safer option to fix this problem.

{F682461661}

Reviewed By: lblasa

Differential Revision: D32649218

fbshipit-source-id: 47ebefc434cb3b928b82a9fe8da3002b7b8465b6
2021-11-24 09:52:46 -08:00
Pascal Hartig
d9848ab6cf Upgrade upload action
Summary:
Fixed an issue with the setup of the retry script:

31ee58a796

Reviewed By: nikoant

Differential Revision: D32644463

fbshipit-source-id: 23ac1508784f24e9403e0bca0091f05847a9e91d
2021-11-24 06:31:15 -08:00
Pascal Hartig
dbe9106762 Create issue on publish failure (#3071)
Summary:
We've done this for the "release" part of the workflow
before but need to handle the "publish" branch separately.

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

Test Plan: _eyes

Reviewed By: nikoant

Differential Revision: D32532348

Pulled By: passy

fbshipit-source-id: 622ed99ba509d4eaf7671e9b6ff3adbab277ab4e
2021-11-18 09:28:13 -08:00
Pascal Hartig
1b54a079f5 Upgrade upload actions (#3070)
Summary:
We're seeing some spurious failures, unrelated to any changes on our end.

I've upgraded the action to do two things:

- Retry on failure (up to three times): b0dfcdf1c7
- Replace the artefact if it's already present (otherwise this might fail subsequent retries): 92bec0ba48

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

Reviewed By: nikoant

Differential Revision: D32532277

Pulled By: passy

fbshipit-source-id: f1899c89c405772490958674fa7f46f479c666f9
2021-11-18 08:50:26 -08:00
Pascal Hartig
c4fe39f413 Add failure issue tracking for release task (#3025)
Summary:
This failed without giving us a notification.

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

Reviewed By: nikoant

Differential Revision: D32246987

Pulled By: mweststrate

fbshipit-source-id: da04b5d8e7e50480bdb0e0a5b55d387b0b23eced
2021-11-09 04:09:52 -08:00
Michel Weststrate
1e146d68c3 Fix publish script
Summary:
Changelog: Fix js-flipper package being published empty

Build js-flipper before publishing

Fixes(?) https://github.com/facebook/flipper/issues/3023

Reviewed By: jknoxville

Differential Revision: D32201978

fbshipit-source-id: 962b14fe1b5accb99bb06c098d86a6824599c967
2021-11-05 05:08:46 -07:00
Andrey Goncharov
3176c2f81d Update js-flipper in the pre-release phase and publish it
Summary:
1. Update js-flipper's version in pre-release
2. Update current version of js-flipper to match react-native-flipper
3. Publish js-flipper automatically

Reviewed By: mweststrate

Differential Revision: D31858522

fbshipit-source-id: e5a9816980d89d3ca6745bc16942f7b75f8d2a88
2021-10-25 04:35:12 -07:00
Pascal Hartig
0ae986758e Fix android build (#2956)
Summary:
Following mweststrate's advice on how to fix this.

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

Test Plan: Watch the Action.

Reviewed By: lblasa

Differential Revision: D31502115

Pulled By: passy

fbshipit-source-id: 0f6dc73bcfde30fe7e2ee78e58d1c8e6fc16ec29
2021-10-08 06:55:05 -07:00
Pascal Hartig
4736abc29c Upgrade publish action
Summary: I upgraded the docker image which should pull the latest GHR release (https://github.com/tcnksm/ghr).

Reviewed By: lblasa

Differential Revision: D31442256

fbshipit-source-id: 0f9fa81ec1be1285aea3da621b7ef5a1e63c3e84
2021-10-08 03:40:49 -07:00
Pascal Hartig
111177b44e Upgrade to Node 14 for Actions (#2928)
Summary:
I believe that matches what we have internally. This has been causing some upgrades to fail.

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

Reviewed By: aigoncharov

Differential Revision: D31324394

Pulled By: passy

fbshipit-source-id: eec38dcc6322e3e8957bbc20bf74d343855be8c0
2021-10-01 04:40:09 -07:00
Pascal Hartig
1ec7ebbdb5 Create issue on publish failure (#2904)
Summary:
Because the publish runs aren't triggered on the main branch, we have limited visibility. Sending push notifications, webhooks or email integrations are hard, but opening an issue seems like a decent work-around for this.

We can broaden this to more publish actions as needed.

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

Test Plan: Ran on my fork which generated this issue: https://github.com/passy/flipper/issues/9

Reviewed By: mweststrate

Differential Revision: D31146956

Pulled By: passy

fbshipit-source-id: 08f66bd4c96a5ea2cc5e70a7461c30e7e1f3d42e
2021-09-27 06:10:08 -07:00
Pascal Hartig
da9511a5bf Fix CI build for Android (#2836)
Summary:
I've been really sweating about this one. It looks like Google now removed NDK 21 as it's too old. However, we've been struggling with the upgrade because OpenSSL was built against an old version of the NDK/glibc/LLVM/some other stuff.

I've now managed to create an OpenSSL distribution for 1.1.1k (we had 1.1.0h before) that seems to build with this after some small modifications.

This seems to do the trick, but I wouldn't be shocked if we found some more incompatibilities further down the line.

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

Test Plan:
- Locally: `./gradlew :tutorial:installDebug`. Builds, starts up. Cool.
- Public GitHub CI: Happy.
- Circle CI: Only triggers post-land. We'll see. But the setup is simple, so hopefully it should work there, too.
- Internal CI: Waiting for signal.

Reviewed By: fabiomassimo

Differential Revision: D30839209

Pulled By: passy

fbshipit-source-id: efe599f28cc0edfdf2149f905c3483555239edc0
2021-09-09 08:46:59 -07:00
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
Pascal Hartig
4909296d86 Wrap yarn install with a retry (#2685)
Summary:
Often fails with things like "can't resolve github.com" ... I don't think there's a fix for that apart from trying again.

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

Test Plan: Waiting for things to turn green here.

Reviewed By: timur-valiev

Differential Revision: D30301456

Pulled By: passy

fbshipit-source-id: 585758284e18bd02ab2a905b6f110a32099b861e
2021-08-13 03:34:23 -07:00
Pascal Hartig
3afcc9f415 Dependabot antispam (#2641)
Summary:
This is a starting point. `types/*` is aggressive but it's not only spammy but also should only really be used in combination with a dep update.

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

Test Plan: hopeitwork

Reviewed By: nikoant

Differential Revision: D29992458

Pulled By: passy

fbshipit-source-id: f42023d2dff55bf2226ddd984c81a1cfa017b0bb
2021-07-30 03:35:04 -07:00
Pascal Hartig
4f3ee3ea57 Bump gradle-maven-publish-plugin from 0.16.0 to 0.17.0
Summary:
From the changelog:

> Removed the deprecated uploadArchives and installArchives tasks. Use publish and publishToMavenLocal instead.

Made the necessary changes to docs and scripts.

Reviewed By: nikoant

Differential Revision: D29752895

fbshipit-source-id: 6e96c7ea9b26be2acb40b9089cb361837ab10a1b
2021-07-29 09:35:04 -07:00
Pritesh Nandgaonkar
3f04577548 Pod lib lint subspecs in a concurrent manner (#2540)
Summary:
This PR splits the linting of the flipperkit pods into different subspecs. This will fasten the overall validation time. Before, all the pods were validated in a serialised fashion, but now its done in a parallel way.

This brings down the total validation time from 2+ hrs to ~ 25mins

## Changelog

- Split the validation of the FlipperKit pod into parallelised subspecs

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

Test Plan: https://github.com/facebook/flipper/actions/runs/986790548

Reviewed By: passy

Differential Revision: D29489716

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 55557c581d56ee01796ca64405cf78b647d2a68b
2021-06-30 09:52:19 -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
Pascal Hartig
f3f0756da7 Update android-sample.yml (#2432)
Summary:
This should take care of the build issue. It's an annoying caching issue that's been around for ages. Also why it didn't happen locally.

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

Test Plan: GitHub CI

Reviewed By: mweststrate

Differential Revision: D28958707

Pulled By: passy

fbshipit-source-id: 8538f6616dec934d924c04713af93e7a6b89e617
2021-06-08 03:08:46 -07:00
Pascal Hartig
89d05d5e46 Build all artifacts as part of GH workflow (#2404)
Summary:
We missed that D28795384 (09951d505e) broke the Kotlin plugin until we got to
our Snapshot job. This makes sure we build all artifacts and get
signal on PRs.

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

Test Plan:
CI

`./gradlew assembleDebug` failed correctly when applying the change.

Reviewed By: nikoant

Differential Revision: D28801494

Pulled By: passy

fbshipit-source-id: 704047ea17af632091c6597024ddacc9247255a9
2021-06-01 11:02:10 -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
d680a2807f Bumped deps / pods to latest (0.91.1), re-enabled i386
Summary:
Per title

After landing this and verifying in CI, will apply those version bumps to RN itself: https://github.com/facebook/react-native/pull/31562, and remove the custom overrides in the future

Reviewed By: passy

Differential Revision: D28573552

fbshipit-source-id: e52c40f4751f933f17312aac2aacfd695f554a3f
2021-05-21 03:54:39 -07:00
Pritesh Nandgaonkar
15454ceec7 Update Boost iOSX dep and make it work for arm and i386 for sims (#2341)
Summary:
This diff updates and adds the boost ios podspec in flipper repo. This new boost dep works for Arm and i386 archs for simulator too.

This diff also updates our GH Action to remove i386 from excluded archs. Still arm64 is kept as non M1 mac machines do not have arm swift symbols for arm simulator. And since all our CI is on non M1, it is required.

It also takes care of https://github.com/facebook/flipper/issues/2268
## Changelog

- Update the boost dep
- Update the GH action

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

Test Plan: CI

Reviewed By: mweststrate

Differential Revision: D28537004

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 474ccec674d0edf5fa7b792b15a326e0f139d977
2021-05-19 11:15:13 -07:00
Pascal Hartig
e0e95b59c7 Update docs workflow (#2342)
Summary:
Updated to the latest version which apparently doesn't need a privileged token anymore, which would be good news.
Also updated the message to include a `[ci skip]` which instructs CircleCI not to run because we're having a chicken-and-egg-problem here with CircleCI otherwise needing a config to tell it not to run, otherwise it will run and fail because there's no config.

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

Test Plan:
hopeitwork

Task: T91157540

Reviewed By: mweststrate

Differential Revision: D28539468

Pulled By: passy

fbshipit-source-id: 609c3fa1578e0506aadeb225c4e38ff53db67934
2021-05-19 09:37:41 -07:00
Pascal Hartig
ab93c24dd6 Fix publishing pipeline (hopefully) (#2311)
Summary:
https://github.com/facebook/flipper/runs/2574198766?check_suite_focus=true
shows that the env vars aren't getting picked up. There's some sort
of transformation syntax (https://docs.gradle.org/current/userguide/build_environment.html#sec:project_properties)
which I thought this would follow but didn't.

I'm merging this now with the already existing gradle.properties update
we do. I also tested locally that this approach works.

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

Test Plan:
Updated my local gradle.properties accordingly and re-uploaded the 0.90
release.

Reviewed By: nikoant

Differential Revision: D28440724

Pulled By: passy

fbshipit-source-id: 9f7238b61fe309eea087b5d6a063788e9ea76e85
2021-05-14 06:57:13 -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
Michel Weststrate
25424ed47c Bump all Pods to latest (#2275)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2275

Forced all current pods to use the latest available. If this builds successfully, will create a PR against React Native so that they become the default, and remove them here again.

This job currently does limit the architectures we build for. Pritesh is investigating if we can wide that again, as this might not be acceptable to RN in general.

This doesn't bump the android version to 0.88, as the artifact publishing failed for that version, but since there are currently less problems with the Android version I wanted to go ahead with just iOS.

Reviewed By: cekkaewnumchai, priteshrnandgaonkar

Differential Revision: D28257283

fbshipit-source-id: a631b1c354617ed356cd1e74b9e8e8aa050eed60
2021-05-07 05:05:20 -07:00
Pascal Hartig
4a636c8e7b Update android publish task
Summary: A recent plugin upgrade removed the previous ones.

Reviewed By: cekkaewnumchai

Differential Revision: D28285219

fbshipit-source-id: e8dcb004ede225283d805b13011709c9d5f3bdae
2021-05-07 04:21:52 -07:00
Michel Weststrate
fcab54a76d Fix React Native build (#2271)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2271

Fix react native OSS build. As discussed a couple of weeks ago, we can bump deps, but cannot bump lock files during release, as artifacts are then not yet available.

We backed out from these bumps before D27764997 (98c3913b62), but that didn't seem to be sufficient. Filed T90301619 as follow up

Reviewed By: priteshrnandgaonkar

Differential Revision: D28255272

fbshipit-source-id: ee4d5b158a653c78f73b46c9ca695cfced315e56
2021-05-06 09:48:41 -07:00