Skip to content

Compress xcframework release asset#2324

Merged
jpsim merged 1 commit intomainfrom
compress-xcframework-release-asset
May 26, 2022
Merged

Compress xcframework release asset#2324
jpsim merged 1 commit intomainfrom
compress-xcframework-release-asset

Conversation

@jpsim
Copy link
Contributor

@jpsim jpsim commented May 26, 2022

bazel uses zip as a container with no compression.

Reduces the size of the zip from 1.0GB to 352MB.

Risk Level: Low
Testing: Ran the commands locally
Docs Changes: N/A
Release Notes: N/A

bazel uses zip as a container with no compression.

Reduces the size of the zip from 1.0GB to 352MB.

Signed-off-by: JP Simard <jp@jpsim.com>
@jpsim jpsim marked this pull request as ready for review May 26, 2022 15:48
@jpsim jpsim requested a review from keith May 26, 2022 15:48
//:ios_xcframework
- name: 'Move Envoy.xcframework.zip'
run: mv bazel-bin/library/swift/Envoy.xcframework.zip .
- name: 'Recompress Envoy.xcframework.zip' # Recompress as bazel uses zip as a container with no compression
Copy link
Member

Choose a reason for hiding this comment

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

really? seems like a bug we should fix upstream since that zip is always meant for distribution

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, really:

$ du -h bazel-bin/library/swift/Envoy.xcframework.zip
1.0G	bazel-bin/library/swift/Envoy.xcframework.zip

@jpsim jpsim merged commit 5d7cd70 into main May 26, 2022
@jpsim jpsim deleted the compress-xcframework-release-asset branch May 26, 2022 17:03
jpsim added a commit that referenced this pull request May 26, 2022
* origin/main: (32 commits)
  Compress xcframework release asset (#2324)
  bazel: update rules_apple (#2326)
  Merge `android_dist` with `android_dist_ci` (#2323)
  kotlin: fix flaky receive error test (#2317)
  kotlin: fix flaky grpc test (#2316)
  build(deps): bump pyjwt from 2.1.0 to 2.4.0 in /.github/actions/pr_notifier (#2314)
  test: making C++ integration test more authentic (#2315)
  reverting override to override_request_timeout_by_gateway_timeout (#2296)
  Update Envoy (#2309)
  release: use `CREDENTIALS_GITHUB_RELEASE_DEPLOY_KEY`
  Use `CREDENTIALS_GITHUB_PUSH_TOKEN`
  Push to branch before tagging the release
  Cronvoy: preparation to unittest certificate verification JNI (#2251)
  Corrected typo in documentation for Android building requirements (#2313)
  instrumentation: add timers and warnings to platform callbacks (#2300)
  Bump Lyft Support Rotation (#2310)
  Revert "android: use local addresses as opposed to prefix (#2081)" (#2307)
  Fix release GitHub workflow (#2306)
  mobile: moving the c++ integration test to use default config (#2293)
  config: cleaning up deprecated configs (#2295)
  ...

Signed-off-by: JP Simard <jp@jpsim.com>
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.

2 participants