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

support two modes of okhttp instrumentation via plugin + wire up release pipeline #144

Merged
merged 5 commits into from
Dec 9, 2024

Conversation

snowp
Copy link
Contributor

@snowp snowp commented Dec 8, 2024

Release pipeline updated to support multiple additional artifacts, in this case:

  • capture-plugin
  • capture-apollo3

"$sdk_repo/ci/LICENSE.txt" \
"$sdk_repo/ci/NOTICE.txt" \
)
cp "$sdk_repo/capture-timber.zip" "$sdk_repo/capture-timber-$version.android.zip"
Copy link
Contributor Author

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

Copy link
Contributor

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" ./*)
Copy link
Contributor

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

Copy link
Contributor

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 ??

Copy link
Contributor

@murki murki left a 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

@murki murki enabled auto-merge (squash) December 9, 2024 20:26
@murki murki disabled auto-merge December 9, 2024 20:40
popd
}

release_capture_sdk
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong method call removed

@murki murki merged commit 418d77c into main Dec 9, 2024
14 checks passed
@murki murki deleted the instrumentation-options branch December 9, 2024 21:12
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants