Skip to content

Nightly Image Compare CI #1077

Nightly Image Compare CI

Nightly Image Compare CI #1077

name: Nightly Image Compare CI
on:
schedule:
# 10AM EST == 14 UTC
- cron: '0 14 * * *'
jobs:
compare:
runs-on: ubuntu-22.04
if: ${{ github.repository_owner == 'deephaven' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup JDK 11
id: setup-java-11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Set JAVA_HOME
run: echo "JAVA_HOME=${{ steps.setup-java-11.outputs.path }}" >> $GITHUB_ENV
- name: Setup gradle properties
run: |
.github/scripts/gradle-properties.sh >> gradle.properties
cat gradle.properties
- name: Run gradle
run: ./gradlew --continue pullImage compareImage
- name: Notify Slack
uses: slackapi/[email protected]
id: notify-slack
if: ${{ failure() }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DHC_NOTIFY }}
with:
payload: '{"repository": "${{ github.repository }}", "message": "${{ github.workflow }}/${{ github.job }} failure, some image is out of date", "link": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}'