Skip to content

Commit

Permalink
Add two new satellites
Browse files Browse the repository at this point in the history
  • Loading branch information
MaticConradi committed Aug 23, 2024
1 parent a6b8604 commit b58b96a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Configure Workload Identity Federation and generate an access token.
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v0'
uses: 'google-github-actions/auth@v2'
with:
token_format: 'access_token'
workload_identity_provider: 'projects/742548057431/locations/global/workloadIdentityPools/github-identity-pool/providers/github-identity-provider'
Expand All @@ -42,7 +42,7 @@ jobs:
# Get the GKE credentials so we can deploy to the cluster
- name: Set up GKE credentials
uses: google-github-actions/get-gke-credentials@v0
uses: google-github-actions/get-gke-credentials@v2
with:
cluster_name: ${{ env.GKE_CLUSTER }}
location: ${{ env.GKE_ZONE }}
Expand Down
10 changes: 10 additions & 0 deletions build/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -776,5 +776,15 @@ spec:
secretKeyRef:
name: alpha-satellite-tokens
key: ID_1249095722758832138
- name: ID_1276573804730126430
valueFrom:
secretKeyRef:
name: alpha-satellite-tokens
key: ID_1276573804730126430
- name: ID_1276576283165331626
valueFrom:
secretKeyRef:
name: alpha-satellite-tokens
key: ID_1276576283165331626
ports:
- containerPort: 6911
4 changes: 3 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,7 @@ pub static CONFIGURATION: Map<&'static str, (&'static str, Option<&'static str>,
"1242440601362894880" => ("CoinGecko", None, "WSDMUSD"),
"1248640249492541480" => ("CoinGecko", None, "DRIFTUSD"),
"1248644191534448690" => ("CoinGecko", None, "GMEUSD"),
"1249095722758832138" => ("On-Chain", Some("base"), "0xa699c7ba0aee9f6f675d960aaaf1018e983c4247")
"1249095722758832138" => ("On-Chain", Some("base"), "0xa699c7ba0aee9f6f675d960aaaf1018e983c4247"),
"1276573804730126430" => ("CCXT", Some("binance"), "TRXUSDT"),
"1276576283165331626" => ("CoinGecko", None, "SUNUSD")
};

0 comments on commit b58b96a

Please sign in to comment.