Skip to content

Commit

Permalink
ci: use a3p u17 container
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Jan 9, 2025
1 parent 1bcf6b8 commit cf74710
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/vaults-and-reserve-metrics-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,41 +51,41 @@ jobs:
- name: Wait for GraphQL server
run: sleep 60

- name: Test VaultManagerGovernance
run: ./scripts/validateData.mjs
env:
entity: vaultManagerGovernances
blockHeight: 1212

- name: Test VaultManagerMetrics
run: ./scripts/validateData.mjs
env:
entity: vaultManagerMetrics
blockHeight: 1212
# - name: Test VaultManagerGovernance
# run: ./scripts/validateData.mjs
# env:
# entity: vaultManagerGovernances
# blockHeight: 1178

# - name: Test VaultManagerMetrics
# run: ./scripts/validateData.mjs
# env:
# entity: vaultManagerMetrics
# blockHeight: 1170

- name: Test VaultManagerMetricsDaily
run: ./scripts/validateData.mjs
env:
entity: vaultManagerMetricsDailies
blockHeight: 1212
blockHeight: 1231

- name: Test ReserveMetrics
run: ./scripts/validateData.mjs
env:
entity: reserveMetrics
blockHeight: 1212
blockHeight: 1231

- name: Test ReserveAllocationMetrics
run: ./scripts/validateData.mjs
env:
entity: reserveAllocationMetrics
blockHeight: 1212
blockHeight: 1231

- name: Test ReserveAllocationMetricsDaily
run: ./scripts/validateData.mjs
env:
entity: reserveAllocationMetricsDailies
blockHeight: 1212
blockHeight: 1231

- name: Notify About Failure
if: >
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ services:
- ci

a3p:
image: ghcr.io/agoric/agoric-3-proposals:latest
image: ghcr.io/agoric/agoric-3-proposals:use-upgrade-17
container_name: agd
ports:
- 26657:26657
Expand Down
1 change: 1 addition & 0 deletions scripts/validateData.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const filter = dailyEntities.includes(entity) ? { blockHeightLast: blockHeight }

try {
const graphqlQuery = { query: getQuery(entity, filter) };
console.log('Fetch data for query:', graphqlQuery);

const response = await fetch(apiUrl, {
method: 'POST',
Expand Down

0 comments on commit cf74710

Please sign in to comment.