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

Jenkins CI to GH actions #112

Merged
merged 8 commits into from
Jun 26, 2024
Merged

Jenkins CI to GH actions #112

merged 8 commits into from
Jun 26, 2024

Conversation

pmallampati-sift
Copy link
Contributor

Purpose

Jenkins CI to GH actions

Summary

Jenkins CI to GH actions

Testing

test CI build for GH actions

Checklist

  • The change was thoroughly tested manually
  • The change was covered with unit tests
  • The change was tested with the integration example
  • Necessary changes were made in the integration example (if applicable)
  • New functionality is reflected in README (if applicable)

build:
runs-on: ubuntu-latest
container:
image: docker://fabernovel/android:api-29-v1.1.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you try using circleci image?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jlin-sift Per Github actions documentation above image was suggested for the android build.

Copy link
Contributor

Choose a reason for hiding this comment

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

Based on https://github.com/SiftScience/sift-android/blob/master/sift/build.gradle#L15-L16, SdkVersion is 31, and buildToolsVersion is 30.0.0. It does not look like fabernovel/android:api-29-v1.1.0 has these versions. See https://hub.docker.com/layers/fabernovel/android/api-29-v1.1.0/images/sha256-10f45f7c3a75f7220d58bf24039f3f7ac492c42dd0ebf37f76fa6010fe595271?context=explore. You might want to try api-31-v1.6.0.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure @jlin-sift Since it was the same version used in circleCI pipelineconfig i have added api-29-v1.1.0.
Let me update it to api-31-v1.6.0.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image: docker://fabernovel/android:api-29-v1.1.0
steps:
- uses: actions/checkout@v4
- name: set up JDK 11
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you need to install jdk11? Looks like fabernovel/android has Java?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

steps:
- uses: actions/checkout@v4
- name: Grant execute permission for gradlew
run: chmod +x gradlew
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this needed? Jenkins CI does not need this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed @jlin-sift

@jlin-sift
Copy link
Contributor

lgtm

@pmallampati-sift pmallampati-sift merged commit 41c7587 into master Jun 26, 2024
3 checks passed
@pmallampati-sift pmallampati-sift deleted the CI-16185 branch June 26, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants