Skip to content

Commit

Permalink
Add temporary config to debug deployment failures
Browse files Browse the repository at this point in the history
  • Loading branch information
michalinacienciala committed Jul 12, 2022
1 parent 7bbb6f6 commit c4928e6
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,25 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile

# TODO: restore commented config before merge to `main`

# - name: Get upstream packages' versions
# uses: keep-network/ci/actions/upstream-builds-query@v1
# id: upstream-builds-query
# with:
# upstream-builds: ${{ github.event.inputs.upstream_builds }}
# query: |
# keep-core-contracts-version = github.com/keep-network/keep-core/solidity-v1#version
# tbtc-contracts-version = github.com/keep-network/tbtc/solidity#version
# solidity-contracts-version = github.com/threshold-network/solidity-contracts#version

# - name: Resolve latest contracts
# run: |
# yarn upgrade \
# @keep-network/keep-core@${{ steps.upstream-builds-query.outputs.keep-core-contracts-version }} \
# @keep-network/tbtc@${{ steps.upstream-builds-query.outputs.tbtc-contracts-version }} \
# @threshold-network/solidity-contracts@${{ steps.upstream-builds-query.outputs.solidity-contracts-version }}

- name: Get upstream packages' versions
uses: keep-network/ci/actions/upstream-builds-query@v1
id: upstream-builds-query
Expand All @@ -87,14 +106,13 @@ jobs:
query: |
keep-core-contracts-version = github.com/keep-network/keep-core/solidity-v1#version
tbtc-contracts-version = github.com/keep-network/tbtc/solidity#version
solidity-contracts-version = github.com/threshold-network/solidity-contracts#version
- name: Resolve latest contracts
run: |
yarn upgrade \
@keep-network/keep-core@${{ steps.upstream-builds-query.outputs.keep-core-contracts-version }} \
@keep-network/tbtc@${{ steps.upstream-builds-query.outputs.tbtc-contracts-version }} \
@threshold-network/solidity-contracts@${{ steps.upstream-builds-query.outputs.solidity-contracts-version }}
@threshold-network/solidity-contracts@github:threshold-network/solidity-contracts#6664c73
- name: Configure tenderly
if: github.event.inputs.environment == 'ropsten'
Expand Down

0 comments on commit c4928e6

Please sign in to comment.