Skip to content

Commit b00108f

Browse files
committed
chore: remove Lava testnet deploy target
The Lava testnet (lava-testnet-2) is being sunset, so the indexer no longer offers a testnet deployment. - deploy.yml: testnet removed from the environment choice. The mainnet path (environment `mainnet`, task definition lava-indexer-mainnet-indexer) is unchanged. - ci.yml: push trigger no longer includes the testnet branch. - README: CI/CD section updated to match. Intentionally kept: indexer code and tests that mention testnet-2 (start-height handling, chain-id guard, multi-endpoint tests). That is generic chain logic and test data, not a testnet deployment. Not covered here (infra, handled separately): the GitHub `testnet` environment and its secrets, the lava-indexer-testnet ECS service and RDS instance, and testnet-indexer-status.lavanet.xyz.
1 parent 731f06c commit b00108f

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches: [main, mainnet, testnet]
5+
branches: [main, mainnet]
66
pull_request:
77
branches: [main]
88

‎.github/workflows/deploy.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
type: choice
1010
options:
1111
- mainnet
12-
- testnet
1312
tag:
1413
description: "Image tag (commit SHA or latest)"
1514
required: false

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ design.
693693

694694
`.github/workflows/` ships four pipelines:
695695

696-
- **`ci.yml`** — runs on every push to `main` / `mainnet` / `testnet` and
696+
- **`ci.yml`** — runs on every push to `main` / `mainnet` and
697697
every PR targeting `main`. `go mod download` → `go vet ./...` →
698698
`go build ./...` → `go test ./...`. Concurrency-grouped on the ref
699699
with `cancel-in-progress: true`, so outdated PR pushes are cancelled.
@@ -705,8 +705,8 @@ design.
705705
`:<sha>` plus `:latest`.
706706
- **`publish.yml`** — manual (`workflow_dispatch`). Same image-build
707707
logic as `build.yml`, for ad-hoc re-publishes without a push.
708-
- **`deploy.yml`** — manual, takes an `environment` (`mainnet` /
709-
`testnet`) and a `tag` input (default `latest`). Pulls the current
708+
- **`deploy.yml`** — manual, takes an `environment` (`mainnet`)
709+
and a `tag` input (default `latest`). Pulls the current
710710
ECS task definition for `lava-indexer-<env>-indexer`, rewrites its
711711
container image to point at the chosen ECR tag, registers a new
712712
task-def revision, and `update-service`s the `indexer` service to

0 commit comments

Comments
 (0)