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

Update CI workflows for E2E tests #13740

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
8e21ca5
wip nightly pipeline
lukaszcl Jun 21, 2024
01d71a3
add reusable workflow
lukaszcl Jun 22, 2024
08eb8d0
on push
lukaszcl Jun 22, 2024
3b5a6e7
echo tests
lukaszcl Jun 22, 2024
2bf79bc
fix matrix
lukaszcl Jun 22, 2024
dfbdecf
fix
lukaszcl Jun 22, 2024
397ba14
add job name
lukaszcl Jun 22, 2024
6603e9b
run docker tests
lukaszcl Jun 22, 2024
e17499e
add reusable workflow
lukaszcl Jun 22, 2024
f255221
fix
lukaszcl Jun 22, 2024
1f3b5ca
fail if no test found
lukaszcl Jun 22, 2024
5901261
fix run selected workflow
lukaszcl Jun 22, 2024
d550f1d
Rename reusable workflow
lukaszcl Jun 22, 2024
04f2b32
Add nighly workflow
lukaszcl Jun 22, 2024
06f5922
try running k8s tests
lukaszcl Jun 22, 2024
099d654
cleanup
lukaszcl Jun 22, 2024
53858e0
add permissions
lukaszcl Jun 22, 2024
7db6612
fix
lukaszcl Jun 22, 2024
5611e17
test
lukaszcl Jun 22, 2024
f54a25b
Fix
lukaszcl Jun 22, 2024
a6ca1ff
fix
lukaszcl Jun 22, 2024
c2b411a
test remote runner
lukaszcl Jun 22, 2024
2c9ab53
Add test suite param
lukaszcl Jun 22, 2024
ada4954
Run all_tests_in_ocr_tests_go in parallel
lukaszcl Jun 22, 2024
3d587e8
Update e2e-tests.yml
lukaszcl Jun 22, 2024
fb95890
Add check-tests cmd
lukaszcl Jun 22, 2024
a82ad06
Unify tools into single cmd
lukaszcl Jun 22, 2024
79d3146
Add check tests step to workflow
lukaszcl Jun 22, 2024
0e6d314
show more info in annotation
lukaszcl Jun 22, 2024
cad8ebd
fix
lukaszcl Jun 22, 2024
880ae3b
Do not require check-tests
lukaszcl Jun 24, 2024
8079dab
fix go mod
lukaszcl Jun 24, 2024
2e112fc
temp: Disable checking test configuration
lukaszcl Jun 24, 2024
aa967ac
Add enable-check-test-configurations to reusable workflow. False by d…
lukaszcl Jun 24, 2024
acd558a
Add automation upgrade test to e2e list
lukaszcl Jun 24, 2024
f6c5049
Fix enable-check-test-configurations
lukaszcl Jun 24, 2024
74fb16d
Fix test cmd
lukaszcl Jun 24, 2024
27b3201
Make enable-check-test-configurations false by default
lukaszcl Jun 24, 2024
b7375e0
support test config override
lukaszcl Jun 24, 2024
be845a2
add more automation tests
lukaszcl Jun 24, 2024
b0acdda
Run automation upgrade tests on latest develop
lukaszcl Jun 24, 2024
73ed44e
Migrate automation-nightly-tests.yml to reusable workflow
lukaszcl Jun 24, 2024
8c19ba8
Update automation tests
lukaszcl Jun 24, 2024
092d8b0
Fix automation workflow
lukaszcl Jun 24, 2024
74d55e7
Fix
lukaszcl Jun 24, 2024
bbbbfc9
Fix
lukaszcl Jun 24, 2024
f4feb7f
Fx
lukaszcl Jun 24, 2024
5f44e12
Fix workflow_call inputs
lukaszcl Jun 24, 2024
c88a7f0
Select tests by github workflows
lukaszcl Jun 24, 2024
e7be8f1
Allow either test-ids or test-workflow in reusable workflow
lukaszcl Jun 24, 2024
ea39b14
Fix
lukaszcl Jun 24, 2024
a36fcee
Update workflow
lukaszcl Jun 24, 2024
0b02624
Add comment
lukaszcl Jun 24, 2024
8f7e27c
Fix
lukaszcl Jun 24, 2024
a4754da
Fix
lukaszcl Jun 24, 2024
3e0dcb7
Update e2e tests
lukaszcl Jun 24, 2024
da3b625
Add remote-runner-memory option
lukaszcl Jun 24, 2024
a780c75
Disable nightly run for now
lukaszcl Jun 24, 2024
52016f4
Fix output in k8s tests
lukaszcl Jun 24, 2024
f0b4a66
Add show test configuration step
lukaszcl Jun 24, 2024
d3bf504
Uncomment building test runner image
lukaszcl Jun 24, 2024
20e1409
Do not use json output for k8s tests
lukaszcl Jun 24, 2024
973cdff
test
lukaszcl Jun 24, 2024
104dbdc
Support custom runner version
lukaszcl Jun 24, 2024
1ff30f2
Fix test type env in remote runner
lukaszcl Jun 24, 2024
3d9820e
Update names and docs
lukaszcl Jun 25, 2024
9f0b76d
Add script to prepare test config override
lukaszcl Jun 26, 2024
b1f617b
Add CI test config override tools
lukaszcl Jun 26, 2024
d3cdd00
Add mask-secrets cmd and stop using reusable workflow
lukaszcl Jun 27, 2024
d388580
Use reusable workflow in run-selected-e2e-tests.yml
lukaszcl Jun 28, 2024
f917531
Remove unnecessary permissions
lukaszcl Jun 28, 2024
d8a330b
Add a sample test to quickly check CI workflows
lukaszcl Jun 28, 2024
48a40ae
Do not use mask cmd in reusable workflow
lukaszcl Jun 28, 2024
776f5a0
Clean up override test config cmd
lukaszcl Jun 28, 2024
265aac7
Fix masking of full chainlink image
lukaszcl Jun 28, 2024
535a49f
Finish "Set default test config override" step in reusable workflow
lukaszcl Jun 28, 2024
bb8f851
Remove env.CHAINLINK_IMAGE mask as it is not a scret
lukaszcl Jun 28, 2024
1742575
Fix reusable workflow
lukaszcl Jun 28, 2024
c7fa80e
Create create-default-e2e-config-override action
lukaszcl Jun 28, 2024
9861b6e
Fix
lukaszcl Jun 28, 2024
c67c854
Fix log targets in GHA and add test
lukaszcl Jun 28, 2024
494267c
Add create-default-e2e-config step to k8s tests
lukaszcl Jun 28, 2024
9194ff2
Fix ocr tests
lukaszcl Jun 28, 2024
a84b76a
Use sanitized id for artifact name
lukaszcl Jun 28, 2024
45b49ac
Update nightly workflow to test it
lukaszcl Jun 28, 2024
ff41f2e
Fail CI if test_config_base64_override is used
lukaszcl Jun 28, 2024
596e014
Use underscore for github inputs
lukaszcl Jun 28, 2024
3d1abd0
Fix
lukaszcl Jun 28, 2024
2cae0da
Fix inputs.chainlink_version
lukaszcl Jun 28, 2024
700f2f9
Remove test_config_base64_override from inputs until we are sure it d…
lukaszcl Jun 28, 2024
9b57657
Fix
lukaszcl Jun 28, 2024
0c88794
Remove unused action
lukaszcl Jun 28, 2024
9e04190
Fix
lukaszcl Jun 28, 2024
0c2979c
Update create config override cmd and action
lukaszcl Jun 28, 2024
5081809
Refactor client-compatibility-tests.yml to use actions/create-default…
lukaszcl Jun 28, 2024
e5a5782
Refactor on-demand-keeper-smoke-tests.yml
lukaszcl Jun 28, 2024
cd90826
Replace setup-create-base64-config with the new action in integration…
lukaszcl Jun 28, 2024
e4af6e0
Remove unused action
lukaszcl Jun 28, 2024
70493a8
Fix lint
lukaszcl Jun 28, 2024
2de3c68
Remove unused action
lukaszcl Jun 28, 2024
3692112
Fix handling selected_networks input
lukaszcl Jun 28, 2024
907cba8
Fix cache
lukaszcl Jun 28, 2024
cfe7de5
Do not run soak/ocr_test.go:^TestOCRSoak$ nightly
lukaszcl Jun 28, 2024
c3b1d4b
Enable nightly workflow to run some tests
lukaszcl Jun 28, 2024
94cdb4f
Merge branch 'develop' into TT-1297-Create-nightly-pipeline-for-all-e…
lukaszcl Jun 28, 2024
babde2b
Merge branch 'develop' into TT-1297-Create-nightly-pipeline-for-all-e…
lukaszcl Jun 28, 2024
2fccfbd
Remove config override input
lukaszcl Jun 28, 2024
a3eafeb
Remove temp test
lukaszcl Jun 28, 2024
71de825
Merge branch 'TT-1297-Create-nightly-pipeline-for-all-e2e-tests-in-co…
lukaszcl Jun 28, 2024
314f7e7
Fix setup go
lukaszcl Jun 28, 2024
69bee7c
go mod tidy in core/scripts
lukaszcl Jun 28, 2024
69453fb
Merge branch 'develop' into TT-1297-Create-nightly-pipeline-for-all-e…
lukaszcl Jun 28, 2024
ffb8bdd
Fix
lukaszcl Jun 28, 2024
6587671
Remove unready workflows
lukaszcl Jun 28, 2024
464c21d
Revert updates to core/scripts
lukaszcl Jun 28, 2024
a0470ba
Revert updates to go.mod
lukaszcl Jun 28, 2024
f23cee3
Remove unused script
lukaszcl Jun 28, 2024
5b0d11d
Add setup-gap id
lukaszcl Jul 1, 2024
210e4e8
Merge branch 'develop' into TT-1297-Create-nightly-pipeline-for-all-e…
lukaszcl Jul 1, 2024
74c1143
Remove unused steps
lukaszcl Jul 1, 2024
0e848db
test nightly workflow
lukaszcl Jul 1, 2024
63e2b2c
Add missing env vars in remote runner and fix lack of logs
lukaszcl Jul 1, 2024
d4a0a24
bump setup gap
lukaszcl Jul 1, 2024
f351eeb
Fix set-output
lukaszcl Jul 1, 2024
4f61a7a
update comment
lukaszcl Jul 1, 2024
5ceb64b
update test name
lukaszcl Jul 1, 2024
c3a8764
update cache
lukaszcl Jul 1, 2024
7a0466b
Fix empty output for k8s tests
lukaszcl Jul 1, 2024
2e7d11a
Add a test workflow with overrides
lukaszcl Jul 1, 2024
05efabc
Fix cache
lukaszcl Jul 1, 2024
ca08ff7
Resolve env vars in filter cmd
lukaszcl Jul 1, 2024
2728c0b
Fix
lukaszcl Jul 1, 2024
fbed49c
Rename test overrides to test inputs
lukaszcl Jul 1, 2024
594e948
Update input descriptions
lukaszcl Jul 1, 2024
3fb53ba
Fix
lukaszcl Jul 2, 2024
611f774
Check chainlink image exist in automation ondemand workflow
lukaszcl Jul 2, 2024
5127068
Add require-chainlink-image-versions-in-qa-ecr job to reusable workflow
lukaszcl Jul 2, 2024
b670bbb
Set no_cache for run-tests action
lukaszcl Jul 2, 2024
f40aaf3
Merge branch 'develop' into TT-1297-Create-nightly-pipeline-for-all-e…
lukaszcl Jul 9, 2024
bd77411
Fix
lukaszcl Jul 9, 2024
eea4c5c
Add test_secrets_override_key to run-selected-tests workflow
lukaszcl Jul 9, 2024
614cf92
Remove chainlink image and version from create test config cmd
lukaszcl Jul 9, 2024
28b0e4a
Update log
lukaszcl Jul 9, 2024
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
149 changes: 149 additions & 0 deletions .github/actions/create-default-e2e-config-override/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
name: 'Create Default E2E Test Config Override From Inputs'
inputs:
chainlink_image:
required: false
description: 'Chainlink image to use for the tests. Example: "chainlink/chainlink:develop"'
chainlink_version:
required: false
description: 'Chainlink version to use for the tests. Example: "v2.10.0" or sha'
chainlink_postgres_version:
required: false
description: 'Chainlink Postgres version to use for the tests'
chainlink_upgrade_image:
required: false
description: 'Chainlink upgrade image to use for the tests'
chainlink_upgrade_version:
required: false
description: 'Chainlink upgrade version to use for the tests'
selected_networks:
required: false
description: 'Selected networks for the tests (comma separated)'
pyroscope_server:
required: false
description: 'Pyroscope server for the tests'
pyroscope_environment:
required: false
description: 'Pyroscope environment for the tests'
pyroscope_key:
required: false
description: 'Pyroscope key for the tests'
test_log_collect:
required: false
description: 'Whether to always collect test logs'
logging_run_id:
required: false
description: 'Logging run ID for the tests'
loki_endpoint:
required: false
description: 'Loki endpoint for the tests'
loki_tenant_id:
required: false
description: 'Loki tenant ID for the tests'
loki_basic_auth:
required: false
description: 'Loki basic authentication for the tests'
logstream_log_targets:
required: false
description: 'Logstream log targets for the tests (comma separated)'
grafana_url:
required: false
description: 'Grafana URL for the tests'
grafana_dashboard_url:
required: false
description: 'Grafana dashboard URL for the tests'
grafana_bearer_token:
required: false
description: 'Grafana bearer token for the tests'
private_ethereum_network_execution_layer:
required: false
description: 'Private Ethereum network execution layer for the tests'
private_ethereum_network_custom_docker_image:
required: false
description: 'Private Ethereum network custom Docker image for the tests'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these two worry me in the context of CCIP, which might be passing here multiple (comma-separated?) values? have you checked whether this structure fits into what CCIP needs?

outputs:
chainlink_image:
value: ${{ steps.build-args.outputs.chainlink_image }}
description: 'Chainlink image resolved from the input'
chainlink_version:
value: ${{ steps.build-args.outputs.chainlink_version }}
description: 'Chainlink version resolved from the input'

runs:
using: 'composite'
steps:
- name: Create default E2E test config override
id: build-args
shell: bash
run: |
cd integration-tests/e2e_tests_ci_tool/

create_args=()
if [ -n "${{ inputs.chainlink_image }}" ]; then
create_args+=(--chainlink-image="${{ inputs.chainlink_image }}")
echo "chainlink_image=$(go run main.go envresolve "${{ inputs.chainlink_image }}")" >> $GITHUB_OUTPUT
fi
if [ -n "${{ inputs.chainlink_version }}" ]; then
create_args+=(--chainlink-version="${{ inputs.chainlink_version }}")
echo "chainlink_version=$(go run main.go envresolve "${{ inputs.chainlink_version }}")" >> $GITHUB_OUTPUT
fi
if [ -n "${{ inputs.chainlink_postgres_version }}" ]; then
create_args+=(--chainlink-postgres-version="${{ inputs.chainlink_postgres_version }}")
fi
if [ -n "${{ inputs.chainlink_upgrade_image }}" ]; then
create_args+=(--chainlink-upgrade-image="${{ inputs.chainlink_upgrade_image }}")
fi
if [ -n "${{ inputs.chainlink_upgrade_version }}" ]; then
create_args+=(--chainlink-upgrade-version="${{ inputs.chainlink_upgrade_version }}")
fi
if [ -n "${{ inputs.pyroscope_server }}" ]; then
create_args+=(--pyroscope-server-url="${{ inputs.pyroscope_server }}")
fi
if [ -n "${{ inputs.pyroscope_environment }}" ]; then
create_args+=(--pyroscope-environment="${{ inputs.pyroscope_environment }}")
fi
if [ -n "${{ inputs.pyroscope_key }}" ]; then
create_args+=(--pyroscope-key="${{ inputs.pyroscope_key }}")
fi
if [ -n "${{ inputs.loki_endpoint }}" ]; then
create_args+=(--logging-loki-endpoint="${{ inputs.loki_endpoint }}")
fi
if [ -n "${{ inputs.loki_tenant_id }}" ]; then
create_args+=(--logging-loki-tenant-id="${{ inputs.loki_tenant_id }}")
fi
if [ -n "${{ inputs.loki_basic_auth }}" ]; then
create_args+=(--logging-loki-basic-auth="${{ inputs.loki_basic_auth }}")
fi
if [ -n "${{ inputs.logging_run_id }}" ]; then
create_args+=(--logging-run-id="${{ inputs.logging_run_id }}")
fi
if [ -n "${{ inputs.test_log_collect }}" ]; then
create_args+=(--logging-test-log-collect="${{ inputs.test_log_collect }}")
fi
if [ -n "${{ inputs.private_ethereum_network_execution_layer }}" ]; then
create_args+=(--private-ethereum-network-execution-layer="${{ inputs.private_ethereum_network_execution_layer }}")
fi
if [ -n "${{ inputs.private_ethereum_network_custom_docker_image }}" ]; then
create_args+=(--private-ethereum-network-custom-docker-image="${{ inputs.private_ethereum_network_custom_docker_image }}")
fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is scary... can we get rid of it somehow? or if see if it's possible to loop over all input fields?


# # Split the log targets input by comma and add to the command line arguments
IFS=',' read -ra ADDR <<< "${{ inputs.logstream_log_targets }}"
for i in "${ADDR[@]}"; do
create_args+=(--logging-log-targets="$i")
done

# Split selected_networks input by comma and add to the command line arguments
IFS=',' read -ra ADDR <<< "${{ inputs.selected_networks }}"
for i in "${ADDR[@]}"; do
create_args+=(--selected-networks="$i")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when it comes to these two, maybe we could modify the tool so that it understands various formats and we don't have do that split in bash and instead we'd do that in go?

done

config_override=$(go run main.go test-config create "${create_args[@]}")
# echo "go run main.go test-config create ${create_args[*]}"
# echo "Output:"
# echo "$config_override"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove these 3?


BASE64_CONFIG_OVERRIDE=$(echo "$config_override" | base64 -w 0)
echo ::add-mask::$BASE64_CONFIG_OVERRIDE
echo "BASE64_CONFIG_OVERRIDE=$BASE64_CONFIG_OVERRIDE" >> $GITHUB_ENV
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we do all/some of these operations inside the tool? pretty sure we could add a --base64-output flag to do base64 -w 0.
maybe we could also call echo ::add-mask::$BASE64_CONFIG_OVERRIDE from go? or even send that to $GITHUB_ENV? (it's a file after all)


106 changes: 0 additions & 106 deletions .github/actions/setup-create-base64-config/action.yml

This file was deleted.

128 changes: 128 additions & 0 deletions .github/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# This file specifies the GitHub runner for each E2E test and is utilized by all E2E CI workflows.
#
# Each entry in this file includes the following:
# - The GitHub runner (runs-on field) that will execute tests.
# - The tests that will be run by the runner.
# - The workflows (e.g., Run PR E2E Tests, Run Nightly E2E Tests) that should trigger these tests.
#
runner-test-matrix:

# Example of 1 runner for all tests in integration-tests/smoke/ocr_test.go
- id: smoke/ocr_test.go:*
path: integration-tests/smoke/ocr_test.go
test-type: docker
runs-on: ubuntu-latest
workflows:
- Run PR E2E Tests
- Run Nightly E2E Tests
test-cmd: cd integration-tests/ && go test smoke/ocr_test.go -timeout 30m -count=1 -json
pyroscope-env: ci-smoke-ocr-evm-simulated-nightly

# Example of 2 separate runners for the same test file but different tests. Can be used if tests if are too heavy to run on the same runner
- id: smoke/ocr2_test.go:^TestOCRv2Request$
path: integration-tests/smoke/ocr2_test.go
test-type: docker
runs-on: ubuntu-latest
workflows:
- Run PR E2E Tests
- Run Nightly E2E Tests
test-cmd: cd integration-tests/ && go test smoke/ocr2_test.go -test.run ^TestOCRv2Request$ -test.parallel=1 -timeout 30m -count=1 -json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wonder if that's explicitly stated somewhere (where?) that it's up to the person defining a workflow to make sure that id matches test-cmd? Do we have any check that will fail if it doesn't? What will happen if there's a mismatch? Say that someone id'ed this one as smoke/ocr2_test.go:*, would that make our filtering tool falsely assume that all tests in that file are running somewhere? Would there be any other side-effect?

pyroscope-env: ci-smoke-ocr2-evm-simulated-nightly

- id: smoke/ocr2_test.go:^TestOCRv2Basic$
path: integration-tests/smoke/ocr2_test.go
test-type: docker
runs-on: ubuntu-latest
workflows:
- Run PR E2E Tests
- Run Nightly E2E Tests
test-cmd: cd integration-tests/ && go test smoke/ocr2_test.go -test.run ^TestOCRv2Basic$ -test.parallel=1 -timeout 30m -count=1 -json
pyroscope-env: ci-smoke-ocr2-evm-simulated-nightly

# Automation upgrade tests
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we only running automation and OCR tests as a part of this? Are others being added on later?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kalverra we will add all of the E2E tests in the next PRs

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lukaszcl I understand we will also remove all the other actions we have currently that deal with base64 config once we have migrated all workflows to the new way of life? do we have a ticket remind us to do so?


- id: smoke/automation_upgrade_test.go:^TestAutomationNodeUpgrade/registry_2_0
path: integration-tests/smoke/automation_upgrade_test.go
test-type: docker
runs-on: ubuntu22.04-8cores-32GB
workflows:
- Run Automation Product Nightly E2E Tests
test-cmd: cd integration-tests/smoke && go test -test.run ^TestAutomationNodeUpgrade/registry_2_0 -test.parallel=1 -timeout 60m -count=1 -json
skudasov marked this conversation as resolved.
Show resolved Hide resolved
test-inputs:
chainlinkImage: public.ecr.aws/chainlink/chainlink
chainlinkVersion: latest
chainlinkUpgradeImage: '{{ env.QA_CHAINLINK_IMAGE }}'
chainlinkUpgradeVersion: develop
pyroscope-env: ci-smoke-automation-upgrade-tests

- id: smoke/automation_upgrade_test.go:^TestAutomationNodeUpgrade/registry_2_1
path: integration-tests/smoke/automation_upgrade_test.go
test-type: docker
runs-on: ubuntu22.04-8cores-32GB
workflows:
- Run Automation Product Nightly E2E Tests
test-cmd: cd integration-tests/smoke && go test -test.run ^TestAutomationNodeUpgrade/registry_2_1 -test.parallel=5 -timeout 60m -count=1 -json
test-inputs:
chainlinkImage: public.ecr.aws/chainlink/chainlink
chainlinkVersion: latest
chainlinkUpgradeImage: '{{ env.QA_CHAINLINK_IMAGE }}'
chainlinkUpgradeVersion: develop
pyroscope-env: ci-smoke-automation-upgrade-tests

- id: smoke/automation_upgrade_test.go:^TestAutomationNodeUpgrade/registry_2_2
path: integration-tests/smoke/automation_upgrade_test.go
test-type: docker
runs-on: ubuntu22.04-8cores-32GB
workflows:
- Run Automation Product Nightly E2E Tests
test-cmd: cd integration-tests/smoke && go test -test.run ^TestAutomationNodeUpgrade/registry_2_2 -test.parallel=5 -timeout 60m -count=1 -json
test-inputs:
chainlinkImage: public.ecr.aws/chainlink/chainlink
chainlinkVersion: latest
chainlinkUpgradeImage: '{{ env.QA_CHAINLINK_IMAGE }}'
chainlinkUpgradeVersion: develop
pyroscope-env: ci-smoke-automation-upgrade-tests

# END Automation upgrade tests

- id: integration-tests/reorg/automation_reorg_test.go
path: integration-tests/reorg/automation_reorg_test.go
test-type: k8s-remote-runner
remote-runner-test-suite: reorg
runs-on: ubuntu-latest
workflows:
# - Run Automation Product Nightly E2E Tests
test-cmd: cd integration-tests/reorg && go test -v -test.run ^TestAutomationReorg$ -test.parallel=5 -timeout 60m -count=1
pyroscope-env: ci-automation-on-demand-reorg

- id: integration-tests/chaos/automation_chaos_test.go
path: integration-tests/chaos/automation_chaos_test.go
test-type: k8s-remote-runner
remote-runner-test-suite: chaos
runs-on: ubuntu-latest
workflows:
# - Run Automation Product Nightly E2E Tests
test-cmd: cd integration-tests/chaos && go test -v -test.run ^TestAutomationChaos$ -test.parallel=15 -timeout 60m -count=1
pyroscope-env: ci-automation-on-demand-chaos

# Example of a configuration for running a single soak test in Kubernetes Remote Runner
- id: soak/ocr_test.go:^TestOCRv1Soak$
path: integration-tests/soak/ocr_test.go
test-type: k8s-remote-runner
remote-runner-test-suite: soak
runs-on: ubuntu-latest
# workflows:
# - Run Nightly E2E Tests
test-cmd: cd integration-tests/ && go test soak/ocr_test.go -v -test.run ^TestOCRv1Soak$ -test.parallel=1 -timeout 30m -count=1
pyroscope-env: ci-smoke-ocr2-evm-simulated-nightly

- id: integration-tests/benchmark/keeper_test.go:^TestAutomationBenchmark$
path: integration-tests/benchmark/keeper_test.go
test-type: k8s-remote-runner
remote-runner-test-suite: benchmark
remote-runner-memory: 4Gi
runs-on: ubuntu-latest
# workflows:
# - Run Nightly E2E Tests
test-cmd: cd integration-tests/benchmark && go test -v -test.run ^TestAutomationBenchmark$ -test.parallel=1 -timeout 30m -count=1
pyroscope-env: ci-benchmark-automation-nightly
Loading
Loading