-
Notifications
You must be signed in to change notification settings - Fork 28
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
chore(ci): addresses issue about archiving in releases the APK (cycle 4.4) #2473
Conversation
} | ||
|
||
sh './gradlew jacocoReport' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed at all in Jenkins. Confirmed with QA.
We only run coverage in GH actions.
APKs built during tests are available here. Scroll down to Artifacts! |
|
||
// building gh api request | ||
def apiUrl = shellQuote("https://api.github.com/repos/wireapp/wire-android/releases/latest") | ||
def releaseId = sh(script: "curl -s ${apiUrl} | grep -m 1 \"id.:\" | grep -w id | tr : = | tr -cd '[[:alnum:]]=' | cut -d'=' -f2", returnStdout: true).trim() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In an ideal world, this can be simplified if ./jq
would be available.
But grep
, tr
and cut
can also manage to do it.
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
Address issue to have APKs on GH releases.
wireapp/wire#396
Causes (Optional)
Whenever a new tag is created, it will run on Jenkins the tag workflow to upload the APK to the latest release.
This only considers semantic tags and named fixed versions, to be consistent with our GH Release action.
Solutions
Use GH API to upload a release asset to a release.
Testing
Manually tested
https://10.10.124.134/blue/organizations/jenkins/AR-build-pipeline/detail/AR-build-pipeline/2021/pipeline
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.