You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "tejaswini-imply (via GitHub)" <gi...@apache.org> on 2023/03/29 06:52:17 UTC
[GitHub] [druid] tejaswini-imply commented on a diff in pull request #13962: Cache mvn dependencies for cron workflow ITs
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org