Skip to content

Commit

Permalink
RA-45: Add install rosetta-cli step to integration-test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlksndrSlgb committed May 2, 2024
1 parent e49271e commit 6cd95e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.IntegrationTest
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DB_HOST="db" # Service name in docker-compose or local db
DB_PORT="5432"
DB_SCHEMA=${NETWORK}
DB_PATH="data"
GENESIS_INDEX_UPDATE = \"UPDATE preprod.block SET number = 0 WHERE number = -1; UPDATE preprod.block SET prev_hash = 'Genesis' WHERE number = 1;\"
GENESIS_INDEX_UPDATE=\"UPDATE preprod.block SET number = 0 WHERE number = -1; UPDATE preprod.block SET prev_hash = 'Genesis' WHERE number = 1;\"

# Cardano Node variables
CARDANO_NODE_HOST="yaci-cli" # Service name in docker-compose or local cardano node
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ jobs:
with:
node-version: '21.x'
- name: "Update Genesis block number"
run: "source ./.env.IntegrationTest
PGPASSWORD=$DB_ADMIN_USER_SECRET psql -h localhost -p 5432 -d $DB_NAME -U $DB_ADMIN_USER_NAME -c $GENESIS_INDEX_UPDATE"
run: |
source ./.env.IntegrationTest
PGPASSWORD=$DB_ADMIN_USER_SECRET psql -h localhost -p 5432 -d $DB_NAME -U $DB_ADMIN_USER_NAME -c $GENESIS_INDEX_UPDATE
- name: "Install newman"
run: npm install -g newman
- name: "Install rosetta-cli"
Expand Down

0 comments on commit 6cd95e3

Please sign in to comment.