Skip to content

Commit

Permalink
fix workspace attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
twoshark committed Nov 15, 2023
1 parent 0fb3a08 commit dd0550a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -86,18 +90,20 @@ 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
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:
Expand Down

0 comments on commit dd0550a

Please sign in to comment.