Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit b1506ea

Browse files
authored
Merge pull request #528 from keep-network/sthompson22/keep-test/fix-circle-workflow
testing keep-test Circle workflow There's a couple things we needed to address here. 1. When #485 was merged I failed to account for the job `setup_github_package_registry` being required in `migrate_contracts`. When we merged the linked PR npm auth on contract migrations from the utility-box started failing as a result. This was observed in both `keep-dev` and `keep-test` migrations. To address this we are now mounting the workspace that has `setup_github_package_registry` output to `migrate_contracts` and added a new job too remove the problematic `npm_modules` dir on scp to the utility-box. 2. Include git tag filters on the `compile_contracts` step. This one is a bit perplexing but the job chain doesn't get produced unless the filter is present. 3. Updated the `keep-tecdsa` package to `0.10.0-rc`, and updated `package-lock.json` via `npm i`.
2 parents fbb2018 + 54e61fd commit b1506ea

File tree

3 files changed

+3121
-1762
lines changed

3 files changed

+3121
-1762
lines changed

.circleci/config.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,16 @@ jobs:
180180
migrate_contracts:
181181
executor: docker-thesis-buildpack
182182
steps:
183+
- checkout
183184
- setup_remote_docker:
184185
docker_layer_caching: true
185-
- checkout
186+
- attach_workspace:
187+
at: .
188+
- run:
189+
name: Remove Installed node_module
190+
working_directory: ~/project/implementation
191+
command: |
192+
rm -rf node_modules
186193
- run:
187194
name: Provision External Contract Addresses
188195
command: |
@@ -301,6 +308,11 @@ workflows:
301308
- compile_contracts:
302309
requires:
303310
- setup_github_package_registry
311+
filters:
312+
tags:
313+
only: /^v.*/
314+
branches:
315+
ignore: /.*/
304316
- migrate_contracts:
305317
filters:
306318
tags:

0 commit comments

Comments
 (0)