-
Notifications
You must be signed in to change notification settings - Fork 5
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
support two modes of okhttp instrumentation via plugin + wire up release pipeline #144
Conversation
"$sdk_repo/ci/LICENSE.txt" \ | ||
"$sdk_repo/ci/NOTICE.txt" \ | ||
) | ||
cp "$sdk_repo/capture-timber.zip" "$sdk_repo/capture-timber-$version.android.zip" |
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 has the implication that we will now include checksum files in the GH release zips for timber/plugin which isn't ideal but I don't think anyone relies on the GH releases so seems fine until we can simplify the deployment pipeline further
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.
that should be fine, arguably any artifact bundle can benefit from including checksums
- name: Compress Plugin artifacts | ||
run: | | ||
readonly dir=$(pwd) | ||
(cd capture-plugin/build/repos/releases/io/bitdrift/capture-plugin/${{ inputs.version }} && zip -r "$dir/capture-plugin.zip" ./*) |
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.
I'm pretty sure the upload artifacts job already compresses all the files in a folder, not sure why we had this compression step to being with
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.
also aren't you missing a step to run run: ./gradlew :capture-plugin:publish
??
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.
lgtm, I'm gonna take over to merge it and build on top of it the similar changes required to releasing capture-apollo lib
popd | ||
} | ||
|
||
release_capture_sdk |
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.
wrong method call removed
Release pipeline updated to support multiple additional artifacts, in this case: