From 6f3e54ba0dad8136d330ea1aa15f3d807e09b6a3 Mon Sep 17 00:00:00 2001 From: Ethan Bennett Date: Wed, 22 Jul 2020 00:14:04 -0400 Subject: [PATCH 1/3] Testing circleci-config workflow --- scripts/commit-and-push.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/commit-and-push.sh b/scripts/commit-and-push.sh index f5582b4e8..85f0f4b6c 100755 --- a/scripts/commit-and-push.sh +++ b/scripts/commit-and-push.sh @@ -6,7 +6,6 @@ git add . git commit -m "Create new snapshot" git push origin $BRANCH - # git/yarn authentication: # should move out of this file # should allow for pushing to this branch From 041acfd73e3549e4ca553909c5e5a71114da015f Mon Sep 17 00:00:00 2001 From: Ethan Bennett Date: Wed, 22 Jul 2020 18:03:43 -0400 Subject: [PATCH 2/3] Remove nix installation from config --- .circleci/config.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 212532322..34781b04a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,23 +3,21 @@ workflows: version: 2 create-snapshot: jobs: - - deploy-and-snapshot: + - deploy-and-create-snapshot: filters: branches: only: - update-dss-deploy-scripts - circleci-config jobs: - deploy-and-snapshot: + deploy-and-create-snapshot: docker: - image: levity/dapptools-node-latest steps: - checkout - run: name: Install dependencies - command: | - yarn - yarn install-nix + command: yarn - run: name: Build new snapshot command: | From 0580d56aff5dfe4298ed495595258102b09f4b05 Mon Sep 17 00:00:00 2001 From: Ethan Bennett Date: Wed, 22 Jul 2020 19:17:25 -0400 Subject: [PATCH 3/3] Add show-trace flag --- scripts/deploy-mcd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy-mcd b/scripts/deploy-mcd index 7fb813cb3..f6ff33eda 100644 --- a/scripts/deploy-mcd +++ b/scripts/deploy-mcd @@ -35,7 +35,7 @@ function deploy_mcd_dds { # submodule contracts are deprecated; this nix command # installs all necessary dependencies - ETH_RPC_URL="http://localhost:2000" nix run -f ./ -c dss-deploy testchain + ETH_RPC_URL="http://localhost:2000" nix run --show-trace -f ./ -c dss-deploy testchain # Copy addresses and abis jq -S . $DDS/out/addresses.json > $OUT/addresses-mcd.json