Skip to content

Commit 411639e

Browse files
authored
Merge pull request #403 from namada-net/update-ci-org-move
update ci
2 parents 0c4d3dd + 46836fe commit 411639e

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
env:
5252
GIT_LFS_SKIP_SMUDGE: 1
5353
REGISTRY_URL: ghcr.io
54+
REPOSITORY: ${{ github.repository }}
5455

5556
strategy:
5657
fail-fast: true
@@ -88,7 +89,7 @@ jobs:
8889
file: Dockerfile
8990
build-args: PACKAGE=${{ matrix.docker.package }}
9091
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
91-
tags: ${{ env.REGISTRY_URL }}/anoma/namada-indexer:${{ matrix.docker.image }}-${{ steps.get_version.outputs.version-without-v }}
92+
tags: ${{ env.REGISTRY_URL }}/${{ env.REPOSITORY }}/namada-indexer:${{ matrix.docker.image }}-${{ steps.get_version.outputs.version-without-v }}
9293
labels: ${{ steps.meta.outputs.labels }}
9394
cache-from: type=gha
9495
cache-to: type=gha,mode=max

.github/workflows/queue_and_merge.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ jobs:
120120
env:
121121
GIT_LFS_SKIP_SMUDGE: 1
122122
REGISTRY_URL: ghcr.io
123+
REPOSITORY: ${{ github.repository }}
123124

124125
strategy:
125126
fail-fast: true
@@ -145,7 +146,7 @@ jobs:
145146
id: meta
146147
uses: docker/metadata-action@v5
147148
with:
148-
images: ${{ env.REGISTRY_URL }}/anoma/namada-indexer
149+
images: ${{ env.REGISTRY_URL }}/${{ env.REPOSITORY }}/namada-indexer
149150
flavor: |
150151
latest=auto
151152
prefix=${{ matrix.docker.image }}
@@ -166,7 +167,7 @@ jobs:
166167
context: .
167168
file: Dockerfile
168169
build-args: PACKAGE=${{ matrix.docker.package }}
169-
push: ${{ github.event.pull_request.head.repo.full_name == 'anoma/namada-indexer' || github.event_name == 'push' }}
170+
push: ${{ github.event.pull_request.head.repo.full_name == '${{ env.REPOSITORY }}/namada-indexer' || github.event_name == 'push' }}
170171
tags: ${{ steps.meta.outputs.tags }}
171172
labels: ${{ steps.meta.outputs.labels }}
172173
cache-from: type=gha

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
## About
44

5-
This repository, **Namada Indexer**, is distinct from and incomparable to the similarly named [Namada MASP Indexer](https://github.com/anoma/namada-masp-indexer).
5+
This repository, **Namada Indexer**, is distinct from and incomparable to the similarly named [Namada MASP Indexer](https://github.com/namada-net/namada-masp-indexer).
66

77
Note that: `Namada Indexer != Namada MASP Indexer && Namada MASP Indexer != Namada Indexer`.
88

99
The **Namada Indexer** is a collection of microservices that crawls data from a Namada Node, stores it in a PostgreSQL database, and makes it accessible via a REST API.
1010

11-
The primary goal of the indexer is to retrieve and store the data necessary for [Namadillo](https://github.com/anoma/namada-interface) (the Namada Interface) to operate. Consequently, the indexer does not store historical data, except for the `Transactions Service`, which indexes all transactions starting from block 1 and is not used by Namadillo.
11+
The primary goal of the indexer is to retrieve and store the data necessary for [Namadillo](https://github.com/namada-net/namada-interface) (the Namada Interface) to operate. Consequently, the indexer does not store historical data, except for the `Transactions Service`, which indexes all transactions starting from block 1 and is not used by Namadillo.
1212

1313
## Namadillo Integration
1414

15-
When using this project as a backend for [Namadillo](https://github.com/anoma/namada-interface), always ensure you check out the latest tag. The `main` branch may contain an incompatible set of APIs.
15+
When using this project as a backend for [Namadillo](https://github.com/namada-net/namada-interface), always ensure you check out the latest tag. The `main` branch may contain an incompatible set of APIs.
1616

1717
## Contribution
1818

@@ -115,7 +115,7 @@ If you prefer not to use Docker, you can follow the instructions below to set up
115115
- Other services can be run as needed based on your requirements.
116116

117117
## REST API
118-
The API endpoints are described in the `swagger.yml` file located in the project root. A hosted HTML version of the API documentation is available at [Namada Interface Indexer REST API](https://anoma.github.io/namada-indexer).
118+
The API endpoints are described in the `swagger.yml` file located in the project root. A hosted HTML version of the API documentation is available at [Namada Interface Indexer REST API](https://namada-net.github.io/namada-indexer).
119119

120120
## Populating the Database for Testing
121121

swagger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ info:
55
description: "Set of API to interact with a namada indexer."
66
contact:
77
email: hello@heliax.dev
8-
url: https://github.com/anoma/namada-indexer
8+
url: https://github.com/namada-net/namada-indexer
99
servers:
1010
- url: http://localhost:5001
1111
- url: https://indexer.namada.tududes.com

0 commit comments

Comments
 (0)