Skip to content

Commit

Permalink
maint: remove drippie-mon (#10945)
Browse files Browse the repository at this point in the history
Drippie monitoring is now handled in monitorism.
  • Loading branch information
smartcontracts committed Jun 20, 2024
1 parent 8e98792 commit 9e68cb0
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 268 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/release-docker-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
# map the step outputs to job outputs
outputs:
balance-mon: ${{ steps.packages.outputs.balance-mon }}
drippie-mon: ${{ steps.packages.outputs.drippie-mon }}
fault-mon: ${{ steps.packages.outputs.fault-mon }}
multisig-mon: ${{ steps.packages.outputs.multisig-mon }}
replica-mon: ${{ steps.packages.outputs.replica-mon }}
Expand Down Expand Up @@ -123,33 +122,6 @@ jobs:
push: true
tags: ethereumoptimism/multisig-mon:${{ needs.canary-publish.outputs.canary-docker-tag }}

drippie-mon:
name: Publish Drippie Monitor Version ${{ needs.canary-publish.outputs.canary-docker-tag }}
needs: canary-publish
if: needs.canary-publish.outputs.drippie-mon != ''
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}

- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: ./ops/docker/Dockerfile.packages
target: drippie-mon
push: true
tags: ethereumoptimism/drippie-mon:${{ needs.canary-publish.outputs.canary-docker-tag }}

wd-mon:
name: Publish Withdrawal Monitor Version ${{ needs.canary-publish.outputs.canary-docker-tag }}
needs: canary-publish
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
# map the step outputs to job outputs
outputs:
balance-mon: ${{ steps.packages.outputs.balance-mon }}
drippie-mon: ${{ steps.packages.outputs.drippie-mon }}
fault-mon: ${{ steps.packages.outputs.fault-mon }}
multisig-mon: ${{ steps.packages.outputs.multisig-mon }}
replica-mon: ${{ steps.packages.outputs.replica-mon }}
Expand Down Expand Up @@ -187,33 +186,6 @@ jobs:
push: true
tags: ethereumoptimism/multisig-mon:${{ needs.release.outputs.multisig-mon }},ethereumoptimism/multisig-mon:latest

drippie-mon:
name: Publish Drippie Monitor Version ${{ needs.release.outputs.drippie-mon }}
needs: release
if: needs.release.outputs.drippie-mon != ''
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}

- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: ./ops/docker/Dockerfile.packages
target: drippie-mon
push: true
tags: ethereumoptimism/drippie-mon:${{ needs.release.outputs.drippie-mon }},ethereumoptimism/drippie-mon:latest

replica-mon:
name: Publish Replica Healthcheck Version ${{ needs.release.outputs.replica-mon }}
needs: release
Expand Down
4 changes: 0 additions & 4 deletions ops/docker/Dockerfile.packages
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@ FROM base as balance-mon
WORKDIR /opt/optimism/packages/chain-mon/internal
CMD ["start:balance-mon"]

FROM base as drippie-mon
WORKDIR /opt/optimism/packages/chain-mon/contrib
CMD ["start:drippie-mon"]

from base as fault-mon
WORKDIR /opt/optimism/packages/chain-mon/
CMD ["start:fault-mon"]
Expand Down
10 changes: 0 additions & 10 deletions packages/chain-mon/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@ WALLET_MON__RPC=
# Defaults to the first bedrock block if unset.
WALLET_MON__START_BLOCK_NUMBER=

###############################################################################
# ↓ drippie-mon ↓ #
###############################################################################

# RPC pointing to network where Drippie is deployed
DRIPPIE_MON__RPC=

# Address of the Drippie contract
DRIPPIE_MON__DRIPPIE_ADDRESS=

###############################################################################
# ↓ wd-mon ↓ #
###############################################################################
Expand Down
4 changes: 2 additions & 2 deletions packages/chain-mon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Once your environment variables have been set, run via:
pnpm start:<service name>
```

For example, to run `drippie-mon`, execute:
For example, to run `balance-mon`, execute:

```
pnpm start:drippie-mon
pnpm start:balance-mon
```
193 changes: 0 additions & 193 deletions packages/chain-mon/contrib/drippie-mon/service.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/chain-mon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
],
"scripts": {
"dev:balance-mon": "tsx watch ./internal/balance-mon/service.ts",
"dev:drippie-mon": "tsx watch ./contrib/drippie/service.ts",
"dev:fault-mon": "tsx watch ./src/fault-mon/service.ts",
"dev:multisig-mon": "tsx watch ./internal/multisig-mon/service.ts",
"dev:replica-mon": "tsx watch ./contrib/replica-mon/service.ts",
Expand All @@ -19,7 +18,6 @@
"dev:faultproof-wd-mon": "tsx ./src/faultproof-wd-mon/service.ts",
"dev:initialized-upgraded-mon": "tsx watch ./contrib/initialized-upgraded-mon/service.ts",
"start:balance-mon": "tsx ./internal/balance-mon/service.ts",
"start:drippie-mon": "tsx ./contrib/drippie/service.ts",
"start:fault-mon": "tsx ./src/fault-mon/service.ts",
"start:multisig-mon": "tsx ./internal/multisig-mon/service.ts",
"start:replica-mon": "tsx ./contrib/replica-mon/service.ts",
Expand Down
1 change: 0 additions & 1 deletion packages/chain-mon/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export * from '../internal/balance-mon/service'
export * from '../contrib/drippie-mon/service'
export * from './fault-mon/index'
export * from '../internal/multisig-mon/service'
export * from './wd-mon/service'
Expand Down

0 comments on commit 9e68cb0

Please sign in to comment.