diff --git a/.github/workflows/ci-integration-backwards-compatibility.yaml b/.github/workflows/ci-integration-backwards-compatibility.yaml index 3cdd7c01de0cc..3123c63d5457e 100644 --- a/.github/workflows/ci-integration-backwards-compatibility.yaml +++ b/.github/workflows/ci-integration-backwards-compatibility.yaml @@ -44,31 +44,68 @@ jobs: args: site2 .github deployment .asf.yaml - name: Set up JDK 1.8 - if: steps.docs.outputs.changed_only == 'no' uses: actions/setup-java@v1 with: java-version: 1.8 + - name: get space size + run: df -h + + - name: get file size + run: du -sh + + - name: clean disk + run: | + sudo swapoff -a + sudo rm -f /swapfile + sudo apt clean + docker rmi -f $(docker image ls -aq) + df -h + + - name: get space size + run: df -h + - name: run install by skip tests - if: steps.docs.outputs.changed_only == 'no' run: mvn clean install -DskipTests + - name: get space size + run: df -h + + - name: get file size + run: du -sh + + - name: get directory size + run: ls / + + - name: get file size + run: sudo du -sh / + - name: build artifacts and docker image - if: steps.docs.outputs.changed_only == 'no' run: mvn -B -f tests/docker-images/pom.xml install -am -Pdocker -DskipTests + - name: get docker size + run: df -h + + - name: get docker size + run: docker images + + - name: get file size + run: du -sh / + - name: clean docker container - if: steps.docs.outputs.changed_only == 'no' run: docker system prune -f - name: remove docker node image - if: steps.docs.outputs.changed_only == 'no' run: docker rmi -f node:10 && docker rmi -f node:12 && docker rmi -f buildpack-deps:stretch - name: remove docker builder and microsoft image - if: steps.docs.outputs.changed_only == 'no' run: docker rmi -f jekyll/builder:latest && docker rmi -f mcr.microsoft.com/azure-pipelines/node8-typescript:latest + - name: get docker size + run: df -h + + - name: get docker size + run: docker images + - name: run integration tests - if: steps.docs.outputs.changed_only == 'no' run: mvn -B -f tests/pom.xml test -DintegrationTestSuiteFile=pulsar-backwards-compatibility.xml -DintegrationTests -DredirectTestOutputToFile=false