forked from linkedin/venice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from linkedin/main
Update fork
- Loading branch information
Showing
229 changed files
with
12,501 additions
and
1,925 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,6 +108,101 @@ jobs: | |
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | ||
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | ||
|
||
IntegrationTests_1001: | ||
name: IntegrationTests_1001 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
jdk: [17] | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
contents: read | ||
checks: write | ||
pull-requests: write | ||
issues: write | ||
timeout-minutes: 120 | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-jdk${{ matrix.jdk }}-IntegrationTests_1001 | ||
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: ${{ matrix.jdk }} | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
- shell: bash | ||
run: | | ||
git remote set-head origin --auto | ||
git remote add upstream https://github.com/linkedin/venice | ||
git fetch upstream | ||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v4 | ||
with: | ||
add-job-summary: never | ||
- name: Run Integration Tests | ||
run: ./gradlew --continue --no-daemon -DforkEvery=1 -DmaxParallelForks=1 integrationTests_1001 | ||
- name: Package Build Artifacts | ||
if: success() || failure() | ||
shell: bash | ||
run: | | ||
mkdir ${{ github.job }}-artifacts | ||
echo "Repository owner: ${{ github.repository_owner }}" | ||
echo "Repository name: ${{ github.repository }}" | ||
echo "event name: ${{ github.event_name }}" | ||
find . -path "**/build/reports/*" -or -path "**/build/test-results/*" > artifacts.list | ||
rsync -R --files-from=artifacts.list . ${{ github.job }}-artifacts | ||
tar -zcvf ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz ${{ github.job }}-artifacts | ||
- name: Generate Fork Repo Test Reports | ||
if: ${{ (github.repository_owner != 'linkedin') && (success() || failure()) }} | ||
uses: dorny/[email protected] | ||
env: | ||
NODE_OPTIONS: --max-old-space-size=9182 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
name: ${{ github.job }} Test Reports # Name where it report the test results | ||
path: '**/TEST-*.xml' | ||
fail-on-error: 'false' | ||
max-annotations: '10' | ||
list-tests: 'all' | ||
list-suites: 'all' | ||
reporter: java-junit | ||
- name: Publish Test Report | ||
continue-on-error: true | ||
env: | ||
NODE_OPTIONS: "--max_old_space_size=8192" | ||
uses: mikepenz/action-junit-report@v5 | ||
if: always() | ||
with: | ||
check_name: ${{ github.job }}-jdk${{ matrix.jdk }} Report | ||
comment: false | ||
annotate_only: true | ||
flaky_summary: true | ||
commit: ${{github.event.workflow_run.head_sha}} | ||
detailed_summary: true | ||
report_paths: '**/build/test-results/test/TEST-*.xml' | ||
- name: Upload Build Artifacts | ||
if: success() || failure() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.job }} | ||
path: ${{ github.job }}-jdk${{ matrix.jdk }}-logs.tar.gz | ||
retention-days: 30 | ||
- name: Upload test results to BuildPulse for flaky test detection | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !cancelled() | ||
uses: buildpulse/buildpulse-action@main | ||
with: | ||
account: 100582612927 | ||
repository: 100441445875 | ||
path: | | ||
**/TEST-*.xml | ||
key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }} | ||
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }} | ||
|
||
IntegrationTests_1010: | ||
name: IntegrationTests_1010 | ||
strategy: | ||
|
@@ -2964,7 +3059,7 @@ jobs: | |
matrix: | ||
jdk: [17] | ||
runs-on: ubuntu-latest | ||
needs: [IntegrationTests_1000, IntegrationTests_1010, IntegrationTests_1020, IntegrationTests_1030, IntegrationTests_1040, IntegrationTests_1050, IntegrationTests_1060, IntegrationTests_1070, IntegrationTests_1080, IntegrationTests_1090, IntegrationTests_1100, IntegrationTests_1110, IntegrationTests_1120, IntegrationTests_1130, IntegrationTests_1200, IntegrationTests_1210, IntegrationTests_1220, IntegrationTests_1230, IntegrationTests_1240, IntegrationTests_1250, IntegrationTests_1260, IntegrationTests_1270, IntegrationTests_1280, IntegrationTests_1400, IntegrationTests_1410, IntegrationTests_1420, IntegrationTests_1430, IntegrationTests_1440, IntegrationTests_1500, IntegrationTests_1550, IntegrationTests_9999] | ||
needs: [IntegrationTests_1000, IntegrationTests_1001, IntegrationTests_1010, IntegrationTests_1020, IntegrationTests_1030, IntegrationTests_1040, IntegrationTests_1050, IntegrationTests_1060, IntegrationTests_1070, IntegrationTests_1080, IntegrationTests_1090, IntegrationTests_1100, IntegrationTests_1110, IntegrationTests_1120, IntegrationTests_1130, IntegrationTests_1200, IntegrationTests_1210, IntegrationTests_1220, IntegrationTests_1230, IntegrationTests_1240, IntegrationTests_1250, IntegrationTests_1260, IntegrationTests_1270, IntegrationTests_1280, IntegrationTests_1400, IntegrationTests_1410, IntegrationTests_1420, IntegrationTests_1430, IntegrationTests_1440, IntegrationTests_1500, IntegrationTests_1550, IntegrationTests_9999] | ||
timeout-minutes: 20 | ||
steps: | ||
- name: NoOp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.