Skip to content

Commit

Permalink
properly transport bash env
Browse files Browse the repository at this point in the history
  • Loading branch information
twoshark committed Nov 15, 2023
1 parent 5ea6959 commit 51705d7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
echo "One or both of the RPC endpoints failed the checks."
exit 1
fi
- persist_to_workspace:
root: .
paths:
- bash.env
check_goerli_rpc_endpoints:
circleci_ip_ranges: true
docker:
Expand All @@ -60,6 +64,10 @@ jobs:
echo "One or both of the RPC endpoints failed the checks."
exit 1
fi
- persist_to_workspace:
root: .
paths:
- bash.env
check_mainnet_rpc_endpoints:
circleci_ip_ranges: true
docker:
Expand All @@ -78,14 +86,20 @@ jobs:
echo "One or both of the RPC endpoints failed the checks."
exit 1
fi
- persist_to_workspace:
root: .
paths:
- bash.env
# TODO: remove/replace when there are real consumers of the RPC URLs
example_mainnet_job:
circleci_ip_ranges: true
docker:
- image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
steps:
- attach_workspace:
at: /tmp
at: .
- run: |
cat bash.env >> $BASH_ENV
- run:
name: Use RPC URLs
command: |
Expand Down

0 comments on commit 51705d7

Please sign in to comment.