Skip to content

[object-storage] Update common files for branch 2.7.x #892

[object-storage] Update common files for branch 2.7.x

[object-storage] Update common files for branch 2.7.x #892

Workflow file for this run

name: Azure CI
on:
push:
branches:
- master
- '[1-9]+.[0-9]+.x'
paths:
- 'object-storage-azure/**'
- 'object-storage-core/**'
- 'object-storage-tck/**'
pull_request:
branches:
- master
- '[1-9]+.[0-9]+.x'
paths:
- 'gradle/**'
- 'object-storage-azure/**'
- 'object-storage-core/**'
- 'object-storage-tck/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['17']
steps:
# https://github.com/actions/virtual-environments/issues/709
- name: Free disk space
run: |
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo apt-get clean
df -h
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Build with Gradle
run: |
./gradlew :micronaut-object-storage-azure:test --no-daemon --parallel --continue
env:
TESTCONTAINERS_RYUK_DISABLED: true
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
PREDICTIVE_TEST_SELECTION: "${{ github.event_name == 'pull_request' && 'true' || 'false' }}"
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_TEST_STORAGE_ACCOUNT_ENDPOINT: ${{ secrets.AZURE_TEST_STORAGE_ACCOUNT_ENDPOINT }}
- name: Publish Test Report
if: always()
uses: mikepenz/[email protected]
with:
check_name: Java CI / Test Report (${{ matrix.java }})
report_paths: '**/build/test-results/test/TEST-*.xml'
check_retries: 'true'