tejaswini-imply commented on code in PR #13962:
URL: https://github.com/apache/druid/pull/13962#discussion_r1151467625
##########
.github/workflows/cron-job-its.yml:
##########
@@ -17,14 +17,44 @@ name: Cron Job ITs
on:
schedule: # Runs by default on master branch
- cron: '0 3 * * *' # Runs every day at 3:00 AM UTC
+ pull_request:
+ paths:
+ - 'owasp-dependency-check-suppressions.xml'
+ branches:
+ - master
+ - /^\d+\.\d+\.\d+(-\S*)?$/ # release branches
jobs:
+ build:
+ if: github.event_name == 'schedule'
+ name: build (jdk8)
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout branch
+ uses: actions/checkout@v3
+
+ - name: Setup java
+ run: export JAVA_HOME=$JAVA_HOME_8_X64
+
+ - name: Cache Maven m2 repository
+ id: maven
+ uses: actions/cache@v3
+ with:
+ path: ~/.m2/repository
+ key: maven-${{ runner.os }}-8-${{ github.sha }}
+
+ - name: Maven build
+ id: maven_build
+ run: |
+ ./it.sh ci
Review Comment:
Yes, build happens the same way independently in the old (standard&revised)
IT workflow. Also, old IT workflow builds docker container for revised ITs. Its
not needed here as of now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]