Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 49 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ orbs:
slack: circleci/slack@6.0.0
shellcheck: circleci/shellcheck@3.2.0
codecov: codecov/codecov@5.0.3
utils: ethereum-optimism/circleci-utils@1.0.22
utils: ethereum-optimism/circleci-utils@1.0.23
docker: circleci/docker@2.8.2
github-cli: circleci/github-cli@2.7.0

Expand Down Expand Up @@ -399,6 +399,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- setup_remote_docker:
docker_layer_caching: true
- run:
Expand Down Expand Up @@ -520,6 +521,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- attach_workspace:
at: .
- check-changed:
Expand Down Expand Up @@ -572,6 +574,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- run:
name: Check `RISCV.sol` bytecode
working_directory: packages/contracts-bedrock
Expand Down Expand Up @@ -622,6 +625,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- install-zstd
- install-contracts-dependencies
- run:
Expand Down Expand Up @@ -656,7 +660,8 @@ jobs:
- image: <<pipeline.parameters.default_docker_image>>
resource_class: xlarge
steps:
- utils/checkout-with-mise
- utils/checkout-with-mise:
enable-mise-cache: true
- attach_workspace:
at: .
- install-contracts-dependencies
Expand Down Expand Up @@ -720,6 +725,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- attach_workspace:
at: .
- run:
Expand Down Expand Up @@ -941,6 +947,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: full
enable-mise-cache: true
- install-zstd
- run:
name: Check if test list is empty
Expand Down Expand Up @@ -1011,6 +1018,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: full
enable-mise-cache: true
- install-contracts-dependencies
- install-zstd
- run:
Expand Down Expand Up @@ -1067,6 +1075,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- run:
name: Check Python version
command: python3 --version
Expand Down Expand Up @@ -1110,6 +1119,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: full
enable-mise-cache: true
- install-contracts-dependencies
- install-zstd
- attach_workspace:
Expand Down Expand Up @@ -1203,7 +1213,8 @@ jobs:
- image: <<pipeline.parameters.default_docker_image>>
resource_class: 2xlarge
steps:
- utils/checkout-with-mise
- utils/checkout-with-mise:
enable-mise-cache: true
- install-contracts-dependencies
- install-zstd
- attach_workspace:
Expand Down Expand Up @@ -1287,6 +1298,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- install-contracts-dependencies
- check-changed:
patterns: contracts-bedrock
Expand All @@ -1301,7 +1313,8 @@ jobs:
- image: <<pipeline.parameters.default_docker_image>>
resource_class: xlarge
steps:
- utils/checkout-with-mise
- utils/checkout-with-mise:
enable-mise-cache: true
- install-contracts-dependencies
- attach_workspace:
at: .
Expand Down Expand Up @@ -1347,7 +1360,8 @@ jobs:
- image: <<pipeline.parameters.default_docker_image>>
resource_class: 2xlarge
steps:
- utils/checkout-with-mise
- utils/checkout-with-mise:
enable-mise-cache: true
- install-zstd
- install-contracts-dependencies
- check-changed:
Expand Down Expand Up @@ -1375,6 +1389,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- run:
name: Install ripgrep
command: sudo apt-get install -y ripgrep
Expand All @@ -1401,6 +1416,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- check-changed:
patterns: "<<parameters.package_name>>"
- attach_workspace:
Expand Down Expand Up @@ -1433,6 +1449,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- restore_cache:
key: golangci-v1-{{ checksum ".golangci.yaml" }}
- run:
Expand Down Expand Up @@ -1482,6 +1499,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- attach_workspace:
at: .
- restore_cache:
Expand Down Expand Up @@ -1557,6 +1575,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- attach_workspace:
at: .
- run:
Expand Down Expand Up @@ -1621,6 +1640,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
# Restore cached Go modules
- restore_cache:
keys:
Expand Down Expand Up @@ -1719,6 +1739,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- attach_workspace:
at: .
- run:
Expand Down Expand Up @@ -1822,6 +1843,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- attach_workspace:
at: .
- run:
Expand Down Expand Up @@ -1880,6 +1902,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- attach_workspace:
at: .
- clean-old-acceptor-logs
Expand Down Expand Up @@ -1932,6 +1955,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- run:
name: Lint/Vet/Build op-acceptance-tests/cmd
working_directory: op-acceptance-tests
Expand Down Expand Up @@ -2012,6 +2036,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- run:
name: Install tools
command: |
Expand All @@ -2035,6 +2060,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- restore_cache:
name: Restore cannon prestate cache
key: cannon-prestate-{{ checksum "./cannon/bin/cannon" }}-{{ checksum "op-program/bin/op-program-client.elf" }}
Expand Down Expand Up @@ -2063,6 +2089,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- setup_remote_docker
- run:
name: Build prestates
Expand All @@ -2079,6 +2106,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- restore_cache:
name: Restore kona cache
key: kona-prestate-{{ checksum "./kona-proofs/justfile" }}-{{ checksum "./kona-proofs/version.json" }}
Expand All @@ -2102,6 +2130,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- restore_cache:
name: Restore kona host cache
key: kona-host-{{ checksum "./kona-proofs/justfile" }}-{{ checksum "./kona-proofs/version.json" }}
Expand Down Expand Up @@ -2236,6 +2265,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- attach_workspace:
at: "."
- gcp-cli/install
Expand Down Expand Up @@ -2297,6 +2327,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- run:
name: Verify reproducibility
command: make -C op-program verify-reproducibility
Expand All @@ -2312,6 +2343,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- setup_remote_docker
- run:
name: Build cannon
Expand Down Expand Up @@ -2380,6 +2412,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- setup_remote_docker
- run:
name: Run Analyzer
Expand All @@ -2394,6 +2427,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- run:
name: Verify Compatibility
command: |
Expand All @@ -2407,6 +2441,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- check-changed:
patterns: op-node
- run:
Expand All @@ -2420,6 +2455,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- check-changed:
patterns: op-service
- run:
Expand All @@ -2432,6 +2468,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- run:
command: just check-forge-version
working_directory: op-deployer
Expand All @@ -2443,6 +2480,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- install-contracts-dependencies
- check-changed:
no_go_deps: "true"
Expand Down Expand Up @@ -2482,6 +2520,7 @@ jobs:
service_account_email: GCP_CONTRACTS_PUBLISHER_SERVICE_ACCOUNT_EMAIL
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- install-contracts-dependencies
- install-zstd
- run:
Expand Down Expand Up @@ -2518,7 +2557,8 @@ jobs:
- gcp-oidc-authenticate:
gcp_cred_config_file_path: /tmp/gcp_cred_config.json
oidc_token_file_path: /tmp/oidc_token.json
- utils/checkout-with-mise
- utils/checkout-with-mise:
enable-mise-cache: true
- attach_workspace: { at: "." }
- run:
name: Configure Docker
Expand All @@ -2536,6 +2576,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- install-contracts-dependencies
- run:
name: Build contracts
Expand Down Expand Up @@ -2601,6 +2642,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- run:
name: Collect devnet metrics for op-acceptance-tests
command: |
Expand All @@ -2625,6 +2667,7 @@ jobs:
steps:
- utils/checkout-with-mise:
checkout-method: blobless
enable-mise-cache: true
- run:
name: Generate flaky acceptance tests report
command: |
Expand Down