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 #108

Merged
merged 51 commits into from
Jun 28, 2024
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
32868e6
migrate jenkins ci to GH actions
pmallampati-sift Jun 25, 2024
95cab0a
migrate jenkins ci to GH actions
pmallampati-sift Jun 25, 2024
3823bab
migrate jenkins ci to GH actions
pmallampati-sift Jun 25, 2024
6b8f592
migrate jenkins ci to GH actions
pmallampati-sift Jun 25, 2024
9deaa03
migrate jenkins ci to GH actions
pmallampati-sift Jun 25, 2024
b9217a7
migrate jenkins ci to GH actions
pmallampati-sift Jun 25, 2024
827d244
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
96068d4
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
5a04275
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
abf8973
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
f70ecc6
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
1fb8adb
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
c6de5f9
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
3f7fe61
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
019e2f2
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
9619a40
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
edb2a1c
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
ab4ab84
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
5518e84
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
8358e52
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
ff83ee5
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
3ef3c4b
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
951c323
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
2f5f420
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
6a76a21
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
bed332a
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
c89a56e
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
5ec73d8
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
3de2b61
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
8187a97
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
146526f
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
195dc05
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
240304c
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
c5b82da
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
cf76462
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
9c594ae
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
66b7447
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
15d64f8
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
35ff71f
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
0a0d144
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
21c36b8
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
fb4fcd0
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
bff7886
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
c767097
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
738ef56
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
48d93c1
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
6a0c9ec
migrate jenkins ci to GH actions
pmallampati-sift Jun 26, 2024
3a5611e
migrate jenkins ci to GH actions
pmallampati-sift Jun 27, 2024
b74e5f3
migrate jenkins ci to GH actions
pmallampati-sift Jun 27, 2024
9330f1c
migrate jenkins ci to GH actions
pmallampati-sift Jun 28, 2024
e560a35
migrate jenkins ci to GH actions
pmallampati-sift Jun 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Sift Java CI

on:
push:
branches:
- master
pull_request:
branches:
- master

env:
SIFT_ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
SIFT_API_KEY: ${{ secrets.API_KEY }}
GITHUBCLONEKEY: ${{ secrets.GITHUBCLONEKEY }}
GRADLE_OPTS: -Dorg.gradle.project.sonatypeUsername=username -Dorg.gradle.project.sonatypePassword=password

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v4

- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'

- name: Build with GradleWrapper
run: ./gradlew dependencies

- name: Gradle Test
run: ./gradlew test

java_integration_test:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' }}
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'

- run: |
./gradlew distZip
cp /home/runner/work/sift-java/sift-java/build/distributions/*.zip /home/runner/work/
cd /home/runner/work

- name: Clone sift-java-integration-app and extract sift-java
uses: actions/checkout@v4
with:
repository: SiftScience/sift-java-integration-app
ssh-key: ${{ secrets.GITHUBCLONEKEY }}
ref: main

- name: Run tests
run: |
unzip -j /home/runner/work/*.zip -d app/libs/
./gradlew test