WalletConnectKotlinV2 icon indicating copy to clipboard operation
WalletConnectKotlinV2 copied to clipboard

Improve CI/CD

Open Talhaali00 opened this issue 3 years ago • 2 comments

Talhaali00 avatar Sep 09 '22 15:09 Talhaali00

The goal of this issue is to provide the Github action workflow for building and releasing the sdk artefacts to the Maven Central also building and sending sample apps via Firebase app distribution.

Phase 1 defines release workflow for single artefact:

  • on push to master
  • run unit tests
  • run integration tests
  • build artefact
  • send artefact to MavenCentral
  • build and sign sample apps
  • send sample app via Firebase app distro

Phase 2 defines the logic which artefact should be released:

  • define a release version var in gradle file of each artefact to determine which artefact to release
  • slack notification when artefact is released
  • slack notification when sample app is sent
  • generate test reports

jakubuid avatar Oct 08 '22 03:10 jakubuid

TBE:

The goal is to update our CI to automatically tag with the version based on env variables (potentially being pulled from a rest service) and creating a release when merging from Develop into Master. Also create artifacts for the sample apps.

Create env variables for each SDK (Sign, Chat, Auth, Push) Merge develop into Master and then tag Master. Tag will be determined by running a Gradle task for each SDK. Pipeline should determine if a new tag needs to be created based on the previous tag and the current value returned by the Gradle task. Create a release per new tag Generate an artifact for each updated SDK based on if a new tag was generated. Attach artifact to the appropriate release

Elyniss avatar Nov 04 '22 13:11 Elyniss