Commit f49f67d2 authored by Adrian Sutton's avatar Adrian Sutton Committed by GitHub

ci: Move sdk-next-test to run on develop only (#10390)

It requires env vars that aren't set for external PRs.
parent 080d5f62
...@@ -29,6 +29,9 @@ parameters: ...@@ -29,6 +29,9 @@ parameters:
kontrol_dispatch: kontrol_dispatch:
type: boolean type: boolean
default: false default: false
sdk_dispatch:
type: boolean
default: false
orbs: orbs:
go: circleci/go@1.8.0 go: circleci/go@1.8.0
...@@ -247,6 +250,7 @@ jobs: ...@@ -247,6 +250,7 @@ jobs:
- ".devnet-plasma/allocs-l2-delta.json" - ".devnet-plasma/allocs-l2-delta.json"
- "packages/contracts-bedrock/deploy-config/devnetL1.json" - "packages/contracts-bedrock/deploy-config/devnetL1.json"
- "packages/contracts-bedrock/deployments/devnetL1" - "packages/contracts-bedrock/deployments/devnetL1"
- notify-failures-on-develop
docker-build: docker-build:
environment: environment:
...@@ -728,6 +732,7 @@ jobs: ...@@ -728,6 +732,7 @@ jobs:
VITE_E2E_PRIVATE_KEY: "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" VITE_E2E_PRIVATE_KEY: "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"
VITE_E2E_RPC_URL_L1: http://localhost:8545 VITE_E2E_RPC_URL_L1: http://localhost:8545
VITE_E2E_RPC_URL_L2: http://localhost:9545 VITE_E2E_RPC_URL_L2: http://localhost:9545
- notify-failures-on-develop
todo-issues: todo-issues:
machine: machine:
...@@ -1648,10 +1653,6 @@ workflows: ...@@ -1648,10 +1653,6 @@ workflows:
name: proxyd-tests name: proxyd-tests
binary_name: proxyd binary_name: proxyd
working_directory: proxyd working_directory: proxyd
- sdk-next-tests:
name: sdk-next-tests
requires:
- pnpm-monorepo
- indexer-tests: - indexer-tests:
name: indexer-tests<< matrix.fpac >> name: indexer-tests<< matrix.fpac >>
matrix: matrix:
...@@ -2208,6 +2209,26 @@ workflows: ...@@ -2208,6 +2209,26 @@ workflows:
context: context:
- slack - slack
develop-sdk-next-tests:
when:
and:
- or:
- equal: [ "develop", <<pipeline.git.branch>> ]
- equal: [ true, <<pipeline.parameters.sdk_dispatch>> ]
- not:
equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
jobs:
- pnpm-monorepo:
name: pnpm-monorepo
context:
- slack
- sdk-next-tests:
name: sdk-next-tests
requires:
- pnpm-monorepo
context:
- slack
scheduled-docker-publish: scheduled-docker-publish:
when: when:
equal: [ build_hourly, <<pipeline.schedule.name>> ] equal: [ build_hourly, <<pipeline.schedule.name>> ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment