Skip to content

Run Nightly E2E Tests #127

Run Nightly E2E Tests

Run Nightly E2E Tests #127

name: Run Nightly E2E Tests
on:
schedule:
# Run every night at midnight UTC (0:00 AM)
- cron: '0 0 * * *'
workflow_dispatch:
# Useful when running the workflow manually
inputs:
chainlink_version:
description: 'Enter Chainlink version to use for the tests. Example: "v2.10.0" or sha'
required: true
type: string
default: develop
slack_notification_after_tests:
description: 'Notify on Slack after tests'
required: false
type: string
jobs:
call-run-e2e-tests-workflow:

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

View workflow run for this annotation

GitHub Actions / Run Nightly E2E Tests

Invalid workflow file

The workflow is not valid. .github/workflows/run-nightly-e2e-tests.yml (Line: 21, Col: 3): Error calling workflow 'smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@f1f2dac0a20f0e02408eb7f528c768fe95c39229'. The nested job 'require-chainlink-image-versions-in-qa-ecr' is requesting 'id-token: write', but is only allowed 'id-token: none'. .github/workflows/run-nightly-e2e-tests.yml (Line: 21, Col: 3): Error calling workflow 'smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@f1f2dac0a20f0e02408eb7f528c768fe95c39229'. The nested job 'require-chainlink-plugin-versions-in-qa-ecr' is requesting 'id-token: write', but is only allowed 'id-token: none'.
name: Run E2E Tests
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@f1f2dac0a20f0e02408eb7f528c768fe95c39229
with:
chainlink_version: ${{ inputs.chainlink_version || 'develop' }}
test_path: .github/e2e-tests.yml
test_trigger: Nightly E2E Tests
slack_notification_after_tests: ${{ inputs.slack_notification_after_tests || 'always' }}
slack_notification_after_tests_channel_id: "#team-test-tooling-internal"
slack_notification_after_tests_name: Nightly E2E Tests
secrets:
QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }}
QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }}
QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}
PROD_AWS_ACCOUNT_NUMBER: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
QA_PYROSCOPE_INSTANCE: ${{ secrets.QA_PYROSCOPE_INSTANCE }}
QA_PYROSCOPE_KEY: ${{ secrets.QA_PYROSCOPE_KEY }}
QA_KUBECONFIG: ${{ secrets.QA_KUBECONFIG }}
GRAFANA_INTERNAL_TENANT_ID: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}
GRAFANA_INTERNAL_BASIC_AUTH: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
GRAFANA_INTERNAL_HOST: ${{ secrets.GRAFANA_INTERNAL_HOST }}
GRAFANA_INTERNAL_URL_SHORTENER_TOKEN: ${{ secrets.GRAFANA_INTERNAL_URL_SHORTENER_TOKEN }}
LOKI_TENANT_ID: ${{ secrets.LOKI_TENANT_ID }}
LOKI_URL: ${{ secrets.LOKI_URL }}
LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AWS_REGION: ${{ secrets.QA_AWS_REGION }}
AWS_OIDC_IAM_ROLE_VALIDATION_PROD_ARN: ${{ secrets.AWS_OIDC_IAM_ROLE_VALIDATION_PROD_ARN }}
AWS_API_GW_HOST_GRAFANA: ${{ secrets.AWS_API_GW_HOST_GRAFANA }}
SLACK_BOT_TOKEN: ${{ secrets.QA_SLACK_API_KEY }}