Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve deployment script #464

Open
hvge opened this issue Jul 15, 2022 · 1 comment
Open

Improve deployment script #464

hvge opened this issue Jul 15, 2022 · 1 comment
Assignees
Milestone

Comments

@hvge
Copy link
Member

hvge commented Jul 15, 2022

The current deployment script suffers with the following problems:

  1. It's damn slow, due to cocoapods
    • We have to wait about 20 minutes between releasing PowerAuthCore and PowerAuth2, because the new version is not immediately visible for
  2. It's complicated when we're deploying from non-develop branch (several switches required)

Solution for poor release speed

We should deploy libraries in the following order:

  • Run pod lib lints for all podpsecs (it's possible to trick linter for PowerAuth2 to include PowerAuthCore from the local file)
  • Publish android library to the local maven (to test possible failures during the real deployment)
  • Publish PowerAuthCore pod
  • Publish PowerAuth2ForExtensions pod
  • Publish PowerAuth2ForWatch pod
  • Publish Android library
  • Wait for a shorter time
  • Publish PowerAuth2 pod

Simplify script usage

  • We're always deploy all platforms, so options for deploying specific platform is deprecated.
  • There should be config.sh specifying releasing branch and allowing automatic release from that branch
  • There should be automatic detection whether the tag is already created (useful when deploy process fails on some unexpected error, like expired pod session)
@hvge hvge self-assigned this Jul 15, 2022
@hvge hvge added this to the 1.8.0 milestone Aug 22, 2022
@hvge hvge closed this as completed in 8331ac0 Aug 23, 2022
hvge added a commit that referenced this issue Aug 23, 2022
Fix #464: Deployment script improvements
@hvge
Copy link
Member Author

hvge commented Aug 23, 2022

Reopen. There are still missing improvements related to script usage simplification in my c098783 commit.

@hvge hvge reopened this Aug 23, 2022
@hvge hvge modified the milestones: 1.8.0, 1.9.0 Sep 11, 2023
@hvge hvge modified the milestones: 1.9.0, 1.10.0 Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant