From 51705d7aa2ae8793275fc67d471c97248dbabc27 Mon Sep 17 00:00:00 2001 From: Tushar Shah Date: Wed, 15 Nov 2023 10:26:29 -0700 Subject: [PATCH] properly transport bash env --- .circleci/config.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e6f48814..77fd3843 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: @@ -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: @@ -78,6 +86,10 @@ 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 @@ -85,7 +97,9 @@ jobs: - 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: |