Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Remove Kurtosis-specific go job #13249

Merged
merged 2 commits into from
Dec 5, 2024
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
65 changes: 1 addition & 64 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -807,63 +807,6 @@ jobs:
make lint-go
working_directory: .

go-test-kurtosis:
parameters:
module:
description: Go Module Name
type: string
uses_artifacts:
description: Uses contract artifacts
type: boolean
default: false
test_directory:
description: Test directory
type: string
default: "./..."
machine:
image: <<pipeline.parameters.base_image>>
resource_class: xlarge
steps:
- run:
name: Install components
command: |
go version
go install gotest.tools/[email protected]
- run:
name: Install Kurtosis
command: |
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install kurtosis-cli=1.4.0
kurtosis engine start
- checkout
- when:
condition: <<parameters.uses_artifacts>>
steps:
- attach_workspace: { at: "." }
- run:
name: prep results dir
command: |
# Make sure the workspace is properly owned
mkdir -p ./tmp/test-results
mkdir -p ./tmp/testlogs
- run:
name: run tests
command: |
ENABLE_KURTOSIS=true gotestsum \
--format=testname \
--junitfile=../tmp/test-results/<<parameters.module>>.xml \
--jsonfile=../tmp/testlogs/log.json \
-- -parallel=$(nproc) \
-coverpkg=github.com/ethereum-optimism/optimism/... \
-coverprofile=coverage.out <<parameters.test_directory>>
working_directory: <<parameters.module>>
- store_test_results:
path: tmp/test-results
- store_artifacts:
path: tmp/testlogs
when: always

go-tests:
parameters:
notify:
Expand Down Expand Up @@ -919,6 +862,7 @@ jobs:
formatted_packages="$formatted_packages ./$package/..."
done

export ENABLE_KURTOSIS=true
export OP_E2E_CANNON_ENABLED="false"
export OP_E2E_SKIP_SLOW_TEST=true
export OP_E2E_USE_HTTP=true
Expand Down Expand Up @@ -1351,12 +1295,6 @@ workflows:
on_changes: op-e2e,packages/contracts-bedrock/src
uses_artifacts: true
requires: ["contracts-bedrock-build"]
- go-test-kurtosis:
name: op-deployer-integration
module: op-deployer
test_directory: ./pkg/deployer/integration_test
uses_artifacts: true
requires: ["contracts-bedrock-build"]
- go-tests:
packages: |
op-batcher
Expand Down Expand Up @@ -1391,7 +1329,6 @@ workflows:
- check-generated-mocks-op-node
- check-generated-mocks-op-service
- go-mod-download
- op-deployer-integration
- op-program-compat
# Not needed for the devnet but we want to make sure they build successfully
- cannon-docker-build
Expand Down