wire-android icon indicating copy to clipboard operation
wire-android copied to clipboard

CI: Setup workflows to build all variants in the app (WPB-8644)

Open ohassine opened this issue 1 year ago • 2 comments

TaskWPB-8644 [Android] Setup pipeline step to build all variants in the app


PR Submission Checklist for internal contributors

  • The PR Title

    • [x] conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • [x] contains a reference JIRA issue number like SQPIT-764
    • [x] answers the question: If merged, this PR will: ... ³
  • The PR Description

    • [x] is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Description

Created 4 workflows to build apks from develop, prod, internal and main based on some events.

  • On each push/pull request into/against develop we build: DevDebug and StagingRelease

  • On each push/pull request into/against prod we build: ProdCompatRelease

  • On each push/pull request into/against main we build: BetaRelease

  • On each push/pull request into/against release/candidate we build: InternalCompat and StagingCompat

Needs releases with:

  • [ ] GitHub link to other pull request

  • [ ] Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • [ ] If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

ohassine avatar May 17 '24 16:05 ohassine

Build 4800 failed.

AndroidBob avatar May 17 '24 16:05 AndroidBob

Build 4825 failed.

AndroidBob avatar May 21 '24 08:05 AndroidBob

Build 4863 failed.

AndroidBob avatar May 21 '24 16:05 AndroidBob

Build 4869 failed.

AndroidBob avatar May 22 '24 08:05 AndroidBob

Build 4924 failed.

AndroidBob avatar May 22 '24 17:05 AndroidBob

Build 4934 failed.

AndroidBob avatar May 23 '24 09:05 AndroidBob

Build 4939 failed.

AndroidBob avatar May 23 '24 11:05 AndroidBob

@ohassine looks like you are rolling back kalium to a previous commitish.

This means that the PR's target branch (develop) is using a newer version of Kalium, and the changes in this PR will rollback Kalium to an older version.

develop This PR
323fad3c7ba910ccafaa3a279007d5ace1607e8c dcd806b84178f1873df629a427a573a22bf027c9

Is this intentional?

github-actions[bot] avatar May 23 '24 13:05 github-actions[bot]

Build 4951 failed.

AndroidBob avatar May 23 '24 14:05 AndroidBob

Build 4957 failed.

AndroidBob avatar May 23 '24 16:05 AndroidBob

Build 4960 failed.

AndroidBob avatar May 23 '24 18:05 AndroidBob

Build 4963 failed.

AndroidBob avatar May 23 '24 20:05 AndroidBob

Build 4966 failed.

AndroidBob avatar May 24 '24 07:05 AndroidBob

Build 4967 succeeded.

The build did not produce any APK artifacts.

AndroidBob avatar May 24 '24 08:05 AndroidBob

Build 4993 succeeded.

The build did not produce any APK artifacts.

AndroidBob avatar May 27 '24 09:05 AndroidBob

Build 5020 failed.

AndroidBob avatar May 27 '24 15:05 AndroidBob

Build 5022 succeeded.

The build produced the following APK's:

AndroidBob avatar May 27 '24 16:05 AndroidBob

After this is merged, we got to update the branch rules so we require ui-tests / ui-tests (29) and unit-tests / coverage for PRs, instead of ui-tests (29) and unit-tests that we currently do

vitorhugods avatar May 28 '24 09:05 vitorhugods

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

sonarqubecloud[bot] avatar May 28 '24 09:05 sonarqubecloud[bot]

Build 5036 succeeded.

The build produced the following APK's:

AndroidBob avatar May 28 '24 10:05 AndroidBob