Skip to content

ci: deploy/upload CocoaPods artifact on master commits#621

Merged
rebello95 merged 5 commits intomasterfrom
cocoapods-artifact
Jan 7, 2020
Merged

ci: deploy/upload CocoaPods artifact on master commits#621
rebello95 merged 5 commits intomasterfrom
cocoapods-artifact

Conversation

@rebello95
Copy link
Contributor

@rebello95 rebello95 commented Jan 7, 2020

Adds a job (run on merges to master) to upload an artifact that can be consumed by CocoaPods. This process requires the following steps (outlined in #577):

  • Unzipping envoy_ios_framework.zip
  • Renaming the directory to envoy_ios_cocoapods
  • Creating an empty file at envoy_ios_cocoapods/Envoy.framework/Swift/Empty.swift. This forces CocoaPods to link Swift libraries as necessary. We worked around this in Bazel similarly in the past here
  • Copying the repo's LICENSE file and placing it at envoy_ios_cocoapods/LICENSE
  • Re-zipping envoy_ios_cocoapods and uploading envoy_ios_cocoapods.zip

Tested and validated that the artifact was successfully uploaded in this job.

Resolves #578.

Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: Michael Rebello <me@michaelrebello.com>
Signed-off-by: Michael Rebello <me@michaelrebello.com>
@rebello95
Copy link
Contributor Author

@rebello95 rebello95 closed this Jan 7, 2020
@rebello95 rebello95 reopened this Jan 7, 2020
This reverts commit 2f4f5fc.

Signed-off-by: Michael Rebello <me@michaelrebello.com>
@rebello95 rebello95 marked this pull request as ready for review January 7, 2020 18:16
@rebello95 rebello95 requested a review from keith January 7, 2020 18:16
@rebello95 rebello95 merged commit bcffc4a into master Jan 7, 2020
@rebello95 rebello95 deleted the cocoapods-artifact branch January 7, 2020 19:47
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.

ci: publish CocoaPods artifact on merge to master

2 participants