Skip to content

Commit 6a14ad9

Browse files
committed
Merge branch 'main' of github.com:pyth-network/pyth-crosschain into tb/lazer-protocol/add-missing-symbols-response-type
2 parents e18e462 + 7fd5044 commit 6a14ad9

File tree

398 files changed

+1970
-1116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

398 files changed

+1970
-1116
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Build and Push hip-3-pusher Image
2+
on:
3+
push:
4+
tags:
5+
- hip-3-pusher-v*
6+
pull_request:
7+
paths:
8+
- "apps/hip-3-pusher/**"
9+
workflow_dispatch:
10+
inputs:
11+
dispatch_description:
12+
description: "Dispatch description"
13+
required: true
14+
type: string
15+
permissions:
16+
contents: read
17+
id-token: write
18+
packages: write
19+
env:
20+
REGISTRY: ghcr.io
21+
IMAGE_NAME: pyth-network/hip-3-pusher
22+
jobs:
23+
hip-3-pusher-image:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: Set image tag to version of the git tag
28+
if: ${{ startsWith(github.ref, 'refs/tags/hip-3-pusher-v') }}
29+
run: |
30+
PREFIX="refs/tags/hip-3-pusher-"
31+
VERSION="${GITHUB_REF:${#PREFIX}}"
32+
echo "IMAGE_TAG=${VERSION}" >> "${GITHUB_ENV}"
33+
- name: Set image tag to the git commit hash
34+
if: ${{ !startsWith(github.ref, 'refs/tags/hip-3-pusher-v') }}
35+
run: |
36+
echo "IMAGE_TAG=${{ github.sha }}" >> "${GITHUB_ENV}"
37+
- name: Log in to the Container registry
38+
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
39+
with:
40+
registry: ${{ env.REGISTRY }}
41+
username: ${{ github.actor }}
42+
password: ${{ secrets.GITHUB_TOKEN }}
43+
- name: Extract metadata (tags, labels) for Docker
44+
id: metadata_hip_3_pusher
45+
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
46+
with:
47+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
48+
- name: Build and push server docker image
49+
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
50+
with:
51+
context: .
52+
file: "./apps/hip-3-pusher/Dockerfile"
53+
push: ${{ github.event_name != 'pull_request' }}
54+
tags: ${{ steps.metadata_hip_3_pusher.outputs.tags }}
55+
labels: ${{ steps.metadata_hip_3_pusher.outputs.labels }}

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/developer-hub/content/docs/metrics/kpi/index.mdx renamed to apps/developer-hub/content/docs/metrics/kpi.mdx

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,18 @@ title: Pyth Network KPI
33
description: Monthly informative data points on the Pyth network, its growth, and performance metrics.
44
---
55

6-
_The KPI metrics section has been DISCONTINUED, please visit [here](https://kpi.pyth.network/) for the latest KPI dashboard from July 2024 onwards._
7-
8-
Every month, the Pyth contributors collect informative data points on the network, its growth, as well as its performance.
9-
10-
Disclaimer: All figures mentioned are just rough estimations. Due to Pyth's permissionless nature, any apps can use the Pyth price feeds without talking to the Pyth contributors. This will exclude them from the calculations.
6+
<Callout variant="info" header="Pyth Network KPI ">
7+
For the latest KPI dashboard, please visit
8+
[https://kpi.pyth.network/](https://kpi.pyth.network/).
9+
</Callout>
10+
Every month, the Pyth contributors collect informative data points on the
11+
network, its growth, as well as its performance.
12+
13+
<Callout variant="warning" header="Disclaimer">
14+
All figures mentioned are just rough estimations. Due to Pyth's permissionless
15+
nature, any apps can use the Pyth price feeds without talking to the Pyth
16+
contributors. This will exclude them from the calculations.
17+
</Callout>
1118

1219
- **Data Publishers**
1320

apps/developer-hub/content/docs/metrics/kpi/april-23.mdx

Lines changed: 0 additions & 48 deletions
This file was deleted.

apps/developer-hub/content/docs/metrics/kpi/april-24.mdx

Lines changed: 0 additions & 64 deletions
This file was deleted.

apps/developer-hub/content/docs/metrics/kpi/august-23.mdx

Lines changed: 0 additions & 52 deletions
This file was deleted.

apps/developer-hub/content/docs/metrics/kpi/december-21.mdx

Lines changed: 0 additions & 32 deletions
This file was deleted.

apps/developer-hub/content/docs/metrics/kpi/december-22.mdx

Lines changed: 0 additions & 40 deletions
This file was deleted.

apps/developer-hub/content/docs/metrics/kpi/december-23.mdx

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)