Skip to content

Commit c999d9c

Browse files
committed
chore(op-acceptance-tests): self-hosted runner
Default to using our self-hosted runners. Accept a parameter which allows individual jobs to opt-out and use CCI/Cloud runners.
1 parent 8e675fb commit c999d9c

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.circleci/config.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,12 +1182,14 @@ jobs:
11821182
description: Timeout for when CircleCI kills the job if there's no output
11831183
type: string
11841184
default: 30m
1185+
use_circleci_runner:
1186+
description: Whether to use CircleCI runners (with Docker) instead of self-hosted runners
1187+
type: boolean
1188+
default: false
11851189
machine:
1186-
image: ubuntu-2404:current
1187-
docker_layer_caching: true # Since we are building docker images for components, we'll cache the layers for faster builds
1188-
resource_class: xlarge
1189-
environment:
1190-
OP_ACCEPTOR_CONCURRENCY: 4 # limit concurrency to 4 to reduce strain on the CI runner
1190+
image: <<# parameters.use_circleci_runner >>ubuntu-2404:current<</ parameters.use_circleci_runner >><<^ parameters.use_circleci_runner >>true<</ parameters.use_circleci_runner >>
1191+
docker_layer_caching: <<parameters.use_circleci_runner>>
1192+
resource_class: <<# parameters.use_circleci_runner >>xlarge<</ parameters.use_circleci_runner >><<^ parameters.use_circleci_runner >>ethereum-optimism/latitude-1<</ parameters.use_circleci_runner >>
11911193
steps:
11921194
- checkout-from-workspace
11931195
- unless:
@@ -2498,6 +2500,7 @@ workflows:
24982500
name: kurtosis-simple
24992501
devnet: simple
25002502
gate: base
2503+
use_circleci_runner: true
25012504
# CircleCI params
25022505
no_output_timeout: 30m
25032506
context:
@@ -2511,6 +2514,7 @@ workflows:
25112514
name: kurtosis-isthmus
25122515
devnet: isthmus
25132516
gate: isthmus
2517+
use_circleci_runner: true
25142518
# CircleCI params
25152519
no_output_timeout: 30m
25162520
context:
@@ -2524,6 +2528,7 @@ workflows:
25242528
name: kurtosis-interop
25252529
devnet: interop
25262530
gate: interop
2531+
use_circleci_runner: true
25272532
# CircleCI params
25282533
no_output_timeout: 30m
25292534
context:
@@ -2574,6 +2579,7 @@ workflows:
25742579
name: kurtosis-simple
25752580
devnet: simple
25762581
gate: base
2582+
use_circleci_runner: true
25772583
# CircleCI params
25782584
no_output_timeout: 30m
25792585
context:
@@ -2587,6 +2593,7 @@ workflows:
25872593
name: kurtosis-isthmus
25882594
devnet: isthmus
25892595
gate: isthmus
2596+
use_circleci_runner: true
25902597
# CircleCI params
25912598
no_output_timeout: 30m
25922599
context:
@@ -2600,6 +2607,7 @@ workflows:
26002607
name: kurtosis-interop
26012608
devnet: interop
26022609
gate: interop
2610+
use_circleci_runner: true
26032611
# CircleCI params
26042612
no_output_timeout: 30m
26052613
context:

0 commit comments

Comments
 (0)