Skip to content

Commit

Permalink
ci: remove mvn go-offline (#2303)
Browse files Browse the repository at this point in the history
  • Loading branch information
burkedavison authored Oct 27, 2023
1 parent 9c9ab6c commit ef30225
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 50 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/NativeTests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ jobs:
uses: google-github-actions/setup-gcloud@v1
with:
project_id: spring-cloud-gcp-ci-native
- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C
- name: Mvn install # Need this when the directory/pom structure changes
id: install
run: |
Expand Down Expand Up @@ -126,10 +122,6 @@ jobs:
uses: google-github-actions/setup-gcloud@v1
with:
project_id: spring-cloud-gcp-ci-native
- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C
- name: Mvn install # Need this when the directory/pom structure changes
id: install
run: |
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ jobs:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }}

- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/compatibilityCheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@ jobs:
run: |
gcloud components install pubsub-emulator beta && \
gcloud components update
- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C
env:
REPO: ${{ inputs.mavenRepository }}
- name: Retry install on failure
id: install2
if: steps.install1.outcome == 'failure'
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/integrationTests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ jobs:
run: |
gcloud components install pubsub-emulator beta && \
gcloud components update
- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C
- name: Mvn install # Need this when the directory/pom structure changes
id: install
run: |
Expand Down Expand Up @@ -140,10 +136,6 @@ jobs:
project_id: spring-cloud-gcp-ci
service_account_key: ${{ secrets.SPRING_CLOUD_GCP_CI_SA_KEY }}
export_default_credentials: true
- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C
- name: Mvn install # Need this when the directory/pom structure changes
id: install
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/linkageCheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }}
- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C
- name: install
# install before running Linkage Checker
run: |
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ jobs:
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }}
- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C
- name: Mvn install w/ coverage # Need this when the directory/pom structure changes
id: install
run: |
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/unitTests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ jobs:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }}

- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C

- name: Mvn install # Need this when the directory/pom structure changes
id: install1
continue-on-error: true
Expand Down Expand Up @@ -113,11 +108,6 @@ jobs:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }}

- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C

- name: releaseCheck
run: |
./mvnw \
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/updateDocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ jobs:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.date }}

- name: Maven go offline
id: mvn-offline
if: steps.mvn-cache.outputs.cache-hit != 'true'
run: ./mvnw dependency:go-offline -ntp -B -T 1.5C

- name: Mvn install # Need this when the version/directory/pom structure changes
run: |
./mvnw \
Expand Down

0 comments on commit ef30225

Please sign in to comment.