Skip to content
Draft
Show file tree
Hide file tree
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
10 changes: 3 additions & 7 deletions .github/workflows/run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
- name: Install citool
shell: bash
run: go install
github.com/smartcontractkit/chainlink-testing-framework/tools/citool@d12aaf98c18c7711bdb211e4d0bc0a5317c80e02 # 23-06-2025
github.com/smartcontractkit/chainlink-testing-framework/tools/citool@8e6f68ec758e831a61c79a95d878b57b14dc72af # Not merged yet

- name: Generate Docker Tests Matrix
id: set-docker-matrix
Expand Down Expand Up @@ -1270,13 +1270,8 @@

- name: Run tests
id: run_tests
uses: smartcontractkit/.github/actions/ctf-run-tests@ctf-run-tests/0.9.0
uses: smartcontractkit/.github/actions/ctf-run-tests@ba226d862a82429f41f14e5ed64f37be120b96e4

Check warning on line 1273 in .github/workflows/run-e2e-tests.yml

View workflow job for this annotation

GitHub Actions / Validate Workflow Changes

1. No version comment found (version-comment / warning)
with:
flakeguard_enable: ${{ env.FLAKEGUARD_ENABLE }}
flakeguard_run_count: ${{ env.FLAKEGUARD_RUN_COUNT }}
flakeguard_rerun_failed_count: ${{ env.FLAKEGUARD_RERUN_FAILED_COUNT }}
flakeguard_main_results_path: ./flakeguard_run_results/main/flakeguard_results.json
flakeguard_rerun_results_path: ./flakeguard_run_results/rerun/flakeguard_results.json
test_go_project_path: ${{ matrix.tests.test_go_project_path }}
test_command_to_run: ${{ matrix.tests.test_cmd }} ${{ matrix.tests.test_cmd_opts }}
test_download_vendor_packages_command: cd $(dirname ${{ matrix.tests.path }}) && go mod download
Expand All @@ -1299,6 +1294,7 @@
enable-gap: false
install_plugins_public: ${{ matrix.tests.install_plugins_public }}
aptos_cli_version: ${{ matrix.tests.aptos_cli_version }}
sui_cli_version: ${{ matrix.tests.sui_cli_version }}
setup_db: "true"

after_tests:
Expand Down Expand Up @@ -1359,7 +1355,7 @@
GITHUB_RUN_ID: ${{ github.run_id }}
# If needed, override HEAD_REF or REF_NAME
GH_HEAD_REF: ${{ github.head_ref || github.ref_name }}
run: |

Check failure on line 1358 in .github/workflows/run-e2e-tests.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/run-e2e-tests.yml#L1358

shellcheck reported issue in this script: SC2155:warning:7:8: Declare and assign separately to avoid masking return values [shellcheck]
Raw output
.github/workflows/run-e2e-tests.yml:1358:9: shellcheck reported issue in this script: SC2155:warning:7:8: Declare and assign separately to avoid masking return values [shellcheck]
#!/usr/bin/env bash
set -euo pipefail

Expand Down Expand Up @@ -1524,7 +1520,7 @@
GH_EVENT_PULL_REQUEST_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
FLAKEGUARD_SPLUNK_ENDPOINT: ${{ secrets.FLAKEGUARD_SPLUNK_ENDPOINT }}
FLAKEGUARD_SPLUNK_HEC: ${{ secrets.FLAKEGUARD_SPLUNK_HEC }}
run: |

Check failure on line 1523 in .github/workflows/run-e2e-tests.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/run-e2e-tests.yml#L1523

shellcheck reported issue in this script: SC2155:warning:4:8: Declare and assign separately to avoid masking return values [shellcheck]
Raw output
.github/workflows/run-e2e-tests.yml:1523:9: shellcheck reported issue in this script: SC2155:warning:4:8: Declare and assign separately to avoid masking return values [shellcheck]
set -euo pipefail

# Ensure flakeguard is on PATH
Expand Down Expand Up @@ -1597,7 +1593,7 @@
GH_EVENT_PULL_REQUEST_BASE_REF: ${{ github.event.pull_request.base.ref }}
GH_EVENT_PULL_REQUEST_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
FAILED_LOGS_URL: ${{ steps.upload-failed-report-with-logs.outputs.artifact-url }}
run: |

Check failure on line 1596 in .github/workflows/run-e2e-tests.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/run-e2e-tests.yml#L1596

shellcheck reported issue in this script: SC2155:warning:5:8: Declare and assign separately to avoid masking return values [shellcheck]
Raw output
.github/workflows/run-e2e-tests.yml:1596:9: shellcheck reported issue in this script: SC2155:warning:5:8: Declare and assign separately to avoid masking return values [shellcheck]
#!/usr/bin/env bash
set -euo pipefail

Expand Down Expand Up @@ -1638,7 +1634,7 @@

- name: Add Github Summary For Main Flakeguard Report
if: ${{ env.FLAKEGUARD_ENABLE == 'true' && (success() || failure()) }}
run: |

Check failure on line 1637 in .github/workflows/run-e2e-tests.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/run-e2e-tests.yml#L1637

shellcheck reported issue in this script: SC2086:info:6:59: Double quote to prevent globbing and word splitting [shellcheck]
Raw output
.github/workflows/run-e2e-tests.yml:1637:9: shellcheck reported issue in this script: SC2086:info:6:59: Double quote to prevent globbing and word splitting [shellcheck]

Check failure on line 1637 in .github/workflows/run-e2e-tests.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/run-e2e-tests.yml#L1637

shellcheck reported issue in this script: SC2086:info:8:124: Double quote to prevent globbing and word splitting [shellcheck]
Raw output
.github/workflows/run-e2e-tests.yml:1637:9: shellcheck reported issue in this script: SC2086:info:8:124: Double quote to prevent globbing and word splitting [shellcheck]

Check failure on line 1637 in .github/workflows/run-e2e-tests.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/run-e2e-tests.yml#L1637

shellcheck reported issue in this script: SC2006:style:9:44: Use $(...) notation instead of legacy backticks `...` [shellcheck]
Raw output
.github/workflows/run-e2e-tests.yml:1637:9: shellcheck reported issue in this script: SC2006:style:9:44: Use $(...) notation instead of legacy backticks `...` [shellcheck]

Check failure on line 1637 in .github/workflows/run-e2e-tests.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/run-e2e-tests.yml#L1637

shellcheck reported issue in this script: SC2086:info:9:81: Double quote to prevent globbing and word splitting [shellcheck]
Raw output
.github/workflows/run-e2e-tests.yml:1637:9: shellcheck reported issue in this script: SC2086:info:9:81: Double quote to prevent globbing and word splitting [shellcheck]
FILE_SIZE=$(wc -c < ./flakeguard_run_report/main/all-test-summary.md)
echo "File size: $FILE_SIZE bytes"
SIZE_LIMIT=$((1024 * 1024))
Expand Down
7 changes: 6 additions & 1 deletion actions/ctf-run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ inputs:
required: false
default: ""
description: "Set to an Aptos CLI version to install (e.g. 7.2.0, latest)"
sui_cli_version:
required: false
default: ""
description: "Set to a Sui CLI version to install (e.g. mainnet-v1.50.1, mainnet)"
setup_db:
required: false
description: |
Expand All @@ -223,7 +227,7 @@ runs:
- name: Setup environment
if: inputs.run_setup == 'true'
id: setup-env
uses: smartcontractkit/.github/actions/ctf-setup-run-tests-environment@ctf-setup-run-tests-environment/0.7.0
uses: smartcontractkit/.github/actions/ctf-setup-run-tests-environment@216dede4f3b23df42ad2224227568a7f9282537c # Not merged yet
with:
test_download_vendor_packages_command:
${{ inputs.test_download_vendor_packages_command }}
Expand All @@ -250,6 +254,7 @@ runs:
enable-proxy-debug: ${{ inputs.enable-proxy-debug }}
install_plugins_public: ${{ inputs.install_plugins_public }}
aptos_cli_version: ${{ inputs.aptos_cli_version }}
sui_cli_version: ${{ inputs.sui_cli_version }}
setup_db: ${{ inputs.setup_db }}

- name: Replace chainlink/integration-tests deps
Expand Down
10 changes: 10 additions & 0 deletions actions/ctf-setup-run-tests-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ inputs:
required: false
default: ""
description: "Set to an Aptos CLI version to install (e.g. 7.2.0, latest)"
sui_cli_version:
required: false
default: ""
description: "Set to a Sui CLI version to install (e.g. mainnet-v1.50.1, mainnet)"
setup_db:
required: false
default: "false"
Expand Down Expand Up @@ -182,6 +186,12 @@ runs:
with:
CLI_VERSION: ${{ inputs.aptos_cli_version }}

- name: Install Sui CLI
if: inputs.sui_cli_version
uses: smartcontractkit/chainlink/.github/actions/setup-sui@70abcce3f24f49a9cf2246f6544754e8b511509d # not merged yet
with:
version: ${{ inputs.sui_cli_version }}

# Setup AWS cred and K8s context
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
Expand Down
Loading