Skip to content

Commit

Permalink
Fix Github Actions failures due to possible rate limiting. (#972)
Browse files Browse the repository at this point in the history
* 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

* Limit GitHub actions docker build max docker images built at once to be 1

* Increase no. of parallel docker builds to 3 in docker build Github action.
  • Loading branch information
mrzzy authored Sep 1, 2020
1 parent 1794357 commit 07625dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/complete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
build-push-docker-images:
runs-on: [self-hosted]
strategy:
max-parallel: 3
matrix:
component: [core, serving, jobcontroller, jupyter]
env:
Expand Down Expand Up @@ -74,6 +75,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
Expand All @@ -92,6 +94,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
Expand All @@ -102,6 +105,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
Expand All @@ -112,6 +116,7 @@ jobs:

integration-test:
runs-on: ubuntu-latest
needs: unit-test-java
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
Expand Down

0 comments on commit 07625dd

Please sign in to comment.