Skip to content

Commit 7b0af0d

Browse files
authored
ci: Remove need to download maven cache in CI (feast-dev#3391)
Signed-off-by: Danny Chiao <danny@tecton.ai> Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent bc9c07c commit 7b0af0d

File tree

5 files changed

+0
-24
lines changed

5 files changed

+0
-24
lines changed

.github/workflows/java_master_only.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ jobs:
3434
project_id: ${{ secrets.GCP_PROJECT_ID }}
3535
service_account_key: ${{ secrets.GCP_SA_KEY }}
3636
- run: gcloud auth configure-docker --quiet
37-
- name: Get m2 cache
38-
run: |
39-
infra/scripts/download-maven-cache.sh \
40-
--archive-uri ${MAVEN_CACHE} \
41-
--output-dir .
4237
- name: Get version
4338
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
4439
- name: Build image

.github/workflows/java_pr.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ jobs:
8585
project_id: ${{ secrets.GCP_PROJECT_ID }}
8686
service_account_key: ${{ secrets.GCP_SA_KEY }}
8787
- run: gcloud auth configure-docker --quiet
88-
- name: Get m2 cache
89-
run: |
90-
infra/scripts/download-maven-cache.sh \
91-
--archive-uri ${MAVEN_CACHE} \
92-
--output-dir .
9388
- name: Build image
9489
run: make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${GITHUB_SHA}
9590

.github/workflows/master_only.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,6 @@ jobs:
203203
- name: Use gcloud CLI
204204
run: gcloud info
205205
- run: gcloud auth configure-docker --quiet
206-
- name: Get m2 cache
207-
run: |
208-
infra/scripts/download-maven-cache.sh \
209-
--archive-uri ${MAVEN_CACHE} \
210-
--output-dir .
211206
- name: Build image
212207
run: |
213208
make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${GITHUB_SHA}

.github/workflows/publish.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ jobs:
7373
- name: Use gcloud CLI
7474
run: gcloud info
7575
- run: gcloud auth configure-docker --quiet
76-
- name: Get m2 cache
77-
run: |
78-
infra/scripts/download-maven-cache.sh \
79-
--archive-uri ${MAVEN_CACHE} \
80-
--output-dir .
8176
- name: Build image
8277
run: |
8378
make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${VERSION_WITHOUT_PREFIX}

infra/scripts/test-java-serving.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/usr/bin/env bash
22

3-
infra/scripts/download-maven-cache.sh \
4-
--archive-uri gs://feast-templocation-kf-feast/.m2.2019-10-24.tar \
5-
--output-dir /root/
6-
73
mvn -f java/pom.xml --batch-mode --also-make --projects serving test
84
TEST_EXIT_CODE=$?
95

0 commit comments

Comments
 (0)