diff --git a/.circleci/config.yml b/.circleci/config.yml index d4054f13..a7b258fd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,10 +42,12 @@ jobs: echo "One or both of the RPC endpoints failed the checks." exit 1 fi + - run: | + cp $BASH_ENV bash.env - persist_to_workspace: root: . paths: - - /tmp/bash.env + - bash.env check_goerli_rpc_endpoints: circleci_ip_ranges: true docker: @@ -64,10 +66,12 @@ jobs: echo "One or both of the RPC endpoints failed the checks." exit 1 fi + - run: | + cp $BASH_ENV bash.env - persist_to_workspace: root: . paths: - - /tmp/bash.env + - bash.env check_mainnet_rpc_endpoints: circleci_ip_ranges: true docker: @@ -86,10 +90,12 @@ jobs: echo "One or both of the RPC endpoints failed the checks." exit 1 fi + - run: | + cp $BASH_ENV bash.env - persist_to_workspace: root: . paths: - - /tmp/bash.env + - bash.env # TODO: remove/replace when there are real consumers of the RPC URLs example_mainnet_job: circleci_ip_ranges: true @@ -97,7 +103,7 @@ 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: