Skip to content

Commit

Permalink
Fix a failure introduced by the change in monorepo (ethereum#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishb authored Jun 14, 2019
1 parent 4fd835d commit 079d46b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,14 @@ jobs:
export CELO_MONOREPO_DIR="./celo-monorepo"
git clone --depth 1 https://${GH_AUTH_USERNAME}:${GH_AUTH_TOKEN}@github.com/celo-org/celo-monorepo.git ${CELO_MONOREPO_DIR} -b master
# Change these paths to use https login since the SSH key does not have access to these repositories.
# These environment variables are configured atssh -p 64535 34.230.3.71 https://circleci.com/gh/celo-org/geth/edit#env-vars
# Once we open source this code, these modifications can be eliminated.
# These environment variables are configured at https://circleci.com/gh/celo-org/geth/edit#env-vars
sed -i "s#git+ssh#git+https#" ${CELO_MONOREPO_DIR}/packages/protocol/package.json
sed -i "s#git+ssh#git+https#" ${CELO_MONOREPO_DIR}/packages/sdk/package.json
sed -i "s#[email protected]:#${GH_AUTH_USERNAME}:${GH_AUTH_TOKEN}@github.com/#" ${CELO_MONOREPO_DIR}/packages/protocol/package.json
sed -i "s#[email protected]/#${GH_AUTH_USERNAME}:${GH_AUTH_TOKEN}@github.com/#" ${CELO_MONOREPO_DIR}/packages/protocol/package.json
sed -i "s#[email protected]:#${GH_AUTH_USERNAME}:${GH_AUTH_TOKEN}@github.com/#" ${CELO_MONOREPO_DIR}/packages/sdk/package.json
sed -i "s#[email protected]/#${GH_AUTH_USERNAME}:${GH_AUTH_TOKEN}@github.com/#" ${CELO_MONOREPO_DIR}/packages/sdk/package.json
cd ${CELO_MONOREPO_DIR}/packages/celotool
yarn
- persist_to_workspace:
Expand Down Expand Up @@ -105,10 +109,8 @@ workflows:
- lint
- unit-tests
- coverage

- end-to-end-checkout:
requires:
- unit-tests
- end-to-end-checkout

- end-to-end-transfer-test:
requires:
- end-to-end-checkout
Expand Down

0 comments on commit 079d46b

Please sign in to comment.