Skip to content

refactor(dependency): replace groovy coordinates and code adjustment to accomodate upgrade of groovy 4.x #3761

refactor(dependency): replace groovy coordinates and code adjustment to accomodate upgrade of groovy 4.x

refactor(dependency): replace groovy coordinates and code adjustment to accomodate upgrade of groovy 4.x #3761

name: Integration Tests
on:
push:
branches:
- master
pull_request:
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false -Xmx4g -Xms4g
jobs:
it-test-kubernetes:
uses: ./.github/workflows/integration-tests-kubernetes.yml
it-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: |
11
17
distribution: 'zulu'
- name: Cache on push
if: github.event_name == 'push'
uses: actions/cache@v4
with:
path: ~/.gradle
key: ${{ runner.os }}-cd-it-${{ github.sha }}
# Restore build outputs from the previous commit (if successful), if current commit hasn't run successfully yet
restore-keys: |
${{ runner.os }}-cd-it-${{ github.event.before }}
- name: Cache on pull_request
if: github.event_name == 'pull_request'
uses: actions/cache@v4
with:
path: ~/.gradle
key: ${{ runner.os }}-cd-it-${{ github.event.pull_request.head.sha }}
restore-keys: |
${{ runner.os }}-cd-it-${{ github.event.before }}
# Separating integration tests by provider allows to have separate logs
- name: Amazon ECS Provider Integration Tests
run: ./gradlew -PenableCrossCompilerPlugin=true--build-cache --no-daemon :clouddriver-ecs:integrationTest
- name: Artifacts Integration Tests
run: ./gradlew -PenableCrossCompilerPlugin=true --build-cache :clouddriver-artifacts:integrationTest
- name: AWS EC2 Provider Integration Tests
run: ./gradlew -PenableCrossCompilerPlugin=true --build-cache :clouddriver-aws:integrationTest