From 448f8f4ba53c89585a2223f659ba83c279c0387d Mon Sep 17 00:00:00 2001 From: Joe Tsang <30622993+jtsang586@users.noreply.github.com> Date: Wed, 21 Dec 2022 12:43:43 +0000 Subject: [PATCH] chore: update workflow files (#2448) * chore: update workflow files * chore: fix wallet flow --- .github/actions/setup-vegawallet-docker/action.yml | 10 +++++----- .github/workflows/cypress-explorer-e2e.yml | 2 +- .github/workflows/cypress-token-e2e.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/setup-vegawallet-docker/action.yml b/.github/actions/setup-vegawallet-docker/action.yml index 5d377c99a..d596288d6 100644 --- a/.github/actions/setup-vegawallet-docker/action.yml +++ b/.github/actions/setup-vegawallet-docker/action.yml @@ -14,11 +14,11 @@ runs: - name: Import wallet shell: bash - run: vega wallet import -w capsule_wallet --recovery-phrase-file ./frontend-monorepo/vegacapsule/recovery -p ./passphrase --home ~/.vegacapsule/testnet/wallet + run: vega wallet import -w capsule_wallet --recovery-phrase-file ./frontend-monorepo/vegacapsule/recovery -p ./frontend-monorepo/vegacapsule/passphrase --home ~/.vegacapsule/testnet/wallet - name: Generate second public key shell: bash - run: vega wallet key generate -w capsule_wallet -p ./passphrase --home ~/.vegacapsule/testnet/wallet + run: vega wallet key generate -w capsule_wallet -p ./frontend-monorepo/vegacapsule/passphrase --home ~/.vegacapsule/testnet/wallet - name: Import network shell: bash @@ -26,13 +26,13 @@ runs: - name: Init api-token shell: bash - run: vega wallet api-token init --home ~/.vegacapsule/testnet/wallet --passphrase-file passphrase + run: vega wallet api-token init --home ~/.vegacapsule/testnet/wallet --passphrase-file ./frontend-monorepo/vegacapsule/passphrase - name: Generate api-token id: generate-api-token shell: bash - run: echo api-token=$(vega wallet api-token generate --wallet-name capsule_wallet --tokens-passphrase-file passphrase --wallet-passphrase-file passphrase --home ~/.vegacapsule/testnet/wallet | grep -Eo '[a-zA-Z0-9]{64}') >> $GITHUB_OUTPUT + run: echo api-token=$(vega wallet api-token generate --wallet-name capsule_wallet --tokens-passphrase-file ./frontend-monorepo/vegacapsule/passphrase --wallet-passphrase-file ./frontend-monorepo/vegacapsule/passphrase --home ~/.vegacapsule/testnet/wallet | grep -Eo '[a-zA-Z0-9]{64}') >> $GITHUB_OUTPUT - name: Start service using capsule network shell: bash - run: vega wallet service run -n DV --load-tokens --tokens-passphrase-file passphrase --no-version-check --automatic-consent --home ~/.vegacapsule/testnet/wallet & + run: vega wallet service run -n DV --load-tokens --tokens-passphrase-file ./frontend-monorepo/vegacapsule/passphrase --no-version-check --automatic-consent --home ~/.vegacapsule/testnet/wallet & diff --git a/.github/workflows/cypress-explorer-e2e.yml b/.github/workflows/cypress-explorer-e2e.yml index fcb6a734a..5dba2f9fd 100644 --- a/.github/workflows/cypress-explorer-e2e.yml +++ b/.github/workflows/cypress-explorer-e2e.yml @@ -99,4 +99,4 @@ jobs: if: ${{ always() }} with: name: logs - path: ./vega-capsule-logs.txt + path: ./explorer-capsule-logs.txt diff --git a/.github/workflows/cypress-token-e2e.yml b/.github/workflows/cypress-token-e2e.yml index 14364e76b..9f0f091d0 100644 --- a/.github/workflows/cypress-token-e2e.yml +++ b/.github/workflows/cypress-token-e2e.yml @@ -94,4 +94,4 @@ jobs: if: ${{ always() }} with: name: logs - path: ./vega-capsule-logs.txt + path: ./token-capsule-logs.txt