Skip to content

Commit

Permalink
chore(apps/ocean-api): removing ocean-api to save CI time (#1985)
Browse files Browse the repository at this point in the history
#### What this PR does / why we need it:

The high failure rate of docker images recently — to reduce CI time due
to failure and having to retry them. I've removed `apps/ocean-api` , and
`ocean-api-client` is kept intact as it provide the abstraction for both
`playground-api-client` and `whale-api-client` (although not implemented
yet for whale).
  • Loading branch information
fuxingloh authored Jan 19, 2023
1 parent 66547ab commit c43c41c
Show file tree
Hide file tree
Showing 22 changed files with 14 additions and 658 deletions.
1 change: 0 additions & 1 deletion .github/governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ issue:
- legacy-api
- ocean-api
- playground-api
- rich-list-api
- stats-api
- whale-api
- website
Expand Down
5 changes: 0 additions & 5 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ labels:
matcher:
files: "apps/playground-api/**"

- label: apps/rich-list-api
sync: true
matcher:
files: "apps/rich-list-api/**"

- label: apps/stats-api
sync: true
matcher:
Expand Down
2 changes: 0 additions & 2 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@
name: apps/ocean-api
- color: 0581fa
name: apps/playground-api
- color: 0581fa
name: apps/rich-list-api
- color: 0581fa
name: apps/stats-api
- color: 0581fa
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
strategy:
matrix:
platform: [ linux/amd64 ]
app: [ legacy-api, ocean-api, playground-api, status-api, whale-api ]
app: [ legacy-api, playground-api, status-api, whale-api ]
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # v2.1.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
cancel-in-progress: true

env:
APPS: 'legacy-api,ocean-api,playground-api,status-api,whale-api'
APPS: 'legacy-api,playground-api,status-api,whale-api'

jobs:
build:
Expand All @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
app: [ legacy-api, ocean-api, playground-api, status-api, whale-api ]
app: [ legacy-api, playground-api, status-api, whale-api ]
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
cancel-in-progress: true

env:
APPS: 'legacy-api,ocean-api,playground-api,status-api,whale-api'
APPS: 'legacy-api,playground-api,status-api,whale-api'

jobs:
build:
Expand All @@ -18,7 +18,7 @@ jobs:
environment: ECR Release Publishing
strategy:
matrix:
app: [ legacy-api, ocean-api, playground-api, status-api, whale-api ]
app: [ legacy-api, playground-api, status-api, whale-api ]
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

Expand Down
43 changes: 0 additions & 43 deletions apps/ocean-api/README.md

This file was deleted.

151 changes: 0 additions & 151 deletions apps/ocean-api/__tests__/controllers/ActuatorController.test.ts

This file was deleted.

40 changes: 0 additions & 40 deletions apps/ocean-api/__tests__/controllers/RawTxController.test.ts

This file was deleted.

48 changes: 0 additions & 48 deletions apps/ocean-api/__tests__/modules/PlaygroundModule.test.ts

This file was deleted.

25 changes: 0 additions & 25 deletions apps/ocean-api/src/controllers/RawTxController.ts

This file was deleted.

Loading

0 comments on commit c43c41c

Please sign in to comment.