From f85f5ab145b00fd57aa85b50536db7a8730d059e Mon Sep 17 00:00:00 2001 From: Zhu Zhanyan Date: Tue, 1 Sep 2020 14:00:06 +0800 Subject: [PATCH 1/3] Make GitHub actions intergration depend on unit, unit on lint to reduce conccurent load. This reduces the no. of concurrent actions running at a time, which should reduce failures due to rate limiting on github.com --- .github/workflows/complete.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/complete.yml b/.github/workflows/complete.yml index cb3467b1d03..14b686141ce 100644 --- a/.github/workflows/complete.yml +++ b/.github/workflows/complete.yml @@ -74,6 +74,7 @@ jobs: unit-test-java: runs-on: ubuntu-latest + needs: lint-java container: gcr.io/kf-feast/feast-ci:latest steps: - uses: actions/checkout@v2 @@ -92,6 +93,7 @@ jobs: unit-test-python: runs-on: ubuntu-latest + needs: lint-python container: gcr.io/kf-feast/feast-ci:latest steps: - uses: actions/checkout@v2 @@ -102,6 +104,7 @@ jobs: unit-test-go: runs-on: ubuntu-latest + needs: lint-go container: gcr.io/kf-feast/feast-ci:latest steps: - uses: actions/checkout@v2 @@ -112,6 +115,7 @@ jobs: integration-test: runs-on: ubuntu-latest + needs: unit-test-java steps: - uses: actions/checkout@v2 - name: Set up JDK 1.8 From e4b15689cffd9803232f22693dd7e6759c3968fd Mon Sep 17 00:00:00 2001 From: Zhu Zhanyan Date: Tue, 1 Sep 2020 14:01:52 +0800 Subject: [PATCH 2/3] Limit GitHub actions docker build max docker images built at once to be 1 --- .github/workflows/complete.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/complete.yml b/.github/workflows/complete.yml index 14b686141ce..115d0116f3c 100644 --- a/.github/workflows/complete.yml +++ b/.github/workflows/complete.yml @@ -6,6 +6,7 @@ jobs: build-push-docker-images: runs-on: [self-hosted] strategy: + max-parallel: 1 matrix: component: [core, serving, jobcontroller, jupyter] env: From 0d4ee407ecd532f95cb402c90729587e5831121e Mon Sep 17 00:00:00 2001 From: Zhu Zhanyan Date: Tue, 1 Sep 2020 14:28:45 +0800 Subject: [PATCH 3/3] Increase no. of parallel docker builds to 3 in docker build Github action. --- .github/workflows/complete.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/complete.yml b/.github/workflows/complete.yml index 115d0116f3c..6c3bb2d0870 100644 --- a/.github/workflows/complete.yml +++ b/.github/workflows/complete.yml @@ -6,7 +6,7 @@ jobs: build-push-docker-images: runs-on: [self-hosted] strategy: - max-parallel: 1 + max-parallel: 3 matrix: component: [core, serving, jobcontroller, jupyter] env: