Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhwarrier committed Aug 1, 2024
1 parent a64e6dc commit 789eb39
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/ccip-live-network-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ concurrency:
env:
CHAINLINK_IMAGE: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/chainlink
CHAINLINK_VERSION: ${{ github.sha}}
CHAINLINK_TEST_VERSION: ${{ github.sha}}
CHAINLINK_TEST_VERSION: "ccip-develop"
ENV_JOB_IMAGE: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/chainlink-ccip-tests:${{ github.sha }}
INTERNAL_DOCKER_REPO: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com
AWS_ECR_REPO_PUBLIC_REGISTRY: public.ecr.aws
Expand Down Expand Up @@ -74,33 +74,33 @@ jobs:
this-job-name: Build Chainlink Image
continue-on-error: true

build-test-image:
environment: integration
permissions:
id-token: write
contents: read
name: Build Test Image
runs-on: ubuntu20.04-16cores-64GB
steps:
- name: Collect Metrics
id: collect-gha-metrics
uses: smartcontractkit/push-gha-metrics-action@dea9b546553cb4ca936607c2267a09c004e4ab3f # v3.0.0
with:
id: ccip-on-demand-live-testnet-tests-build-test-image
org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}
basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }}
this-job-name: Build Test Image
continue-on-error: true
- name: Checkout the repo
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Build Test Image
uses: ./.github/actions/build-test-image
with:
tag: ${{ env.CHAINLINK_TEST_VERSION }}
QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }}
QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }}
QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}
# build-test-image:
# environment: integration
# permissions:
# id-token: write
# contents: read
# name: Build Test Image
# runs-on: ubuntu20.04-16cores-64GB
# steps:
# - name: Collect Metrics
# id: collect-gha-metrics
# uses: smartcontractkit/push-gha-metrics-action@dea9b546553cb4ca936607c2267a09c004e4ab3f # v3.0.0
# with:
# id: ccip-on-demand-live-testnet-tests-build-test-image
# org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}
# basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
# hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }}
# this-job-name: Build Test Image
# continue-on-error: true
# - name: Checkout the repo
# uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
# - name: Build Test Image
# uses: ./.github/actions/build-test-image
# with:
# tag: ${{ env.CHAINLINK_TEST_VERSION }}
# QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }}
# QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }}
# QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}

ccip-load-test:
name: CCIP Load Test
Expand All @@ -109,7 +109,7 @@ jobs:
strategy:
matrix:
config: [mainnet.toml]
needs: [ build-chainlink, build-test-image ]
needs: [ build-chainlink ]
# if the event is a scheduled event or the test type is load and no previous job failed
if: ${{ (github.event_name == 'schedule' || inputs.test_type == 'load') && !contains(needs.*.result, 'failure') }}
permissions:
Expand Down Expand Up @@ -148,15 +148,15 @@ jobs:
SLACK_USER=$(jq -r '.inputs.slackMemberID' $GITHUB_EVENT_PATH)
echo ::add-mask::$SLACK_USER
echo "SLACK_USER=$SLACK_USER" >> "$GITHUB_ENV"
echo "E2E_TEST_ETHEREUM_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEYS }}" >> "$GITHUB_ENV"
echo "E2E_TEST_ARBITRUM_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEYS }}" >> "$GITHUB_ENV"
echo "E2E_TEST_BASE_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEYS }}" >> "$GITHUB_ENV"
echo "E2E_TEST_WEMIX_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEYS }}" >> "$GITHUB_ENV"
echo "E2E_TEST_OPTIMISM_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEYS }}" >> "$GITHUB_ENV"
echo "E2E_TEST_POLYGON_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEYS }}" >> "$GITHUB_ENV"
echo "E2E_TEST_AVALANCHE_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEYS }}" >> "$GITHUB_ENV"
echo "E2E_TEST_BSC_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEYS }}" >> "$GITHUB_ENV"
echo "E2E_TEST_KROMA_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEYS }}" >> "$GITHUB_ENV"
echo "E2E_TEST_ETHEREUM_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEY_TEST }}" >> "$GITHUB_ENV"
echo "E2E_TEST_ARBITRUM_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEY_TEST }}" >> "$GITHUB_ENV"
echo "E2E_TEST_BASE_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEY_TEST }}" >> "$GITHUB_ENV"
echo "E2E_TEST_WEMIX_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEY_TEST }}" >> "$GITHUB_ENV"
echo "E2E_TEST_OPTIMISM_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEY_TEST }}" >> "$GITHUB_ENV"
echo "E2E_TEST_POLYGON_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEY_TEST }}" >> "$GITHUB_ENV"
echo "E2E_TEST_AVALANCHE_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEY_TEST }}" >> "$GITHUB_ENV"
echo "E2E_TEST_BSC_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEY_TEST }}" >> "$GITHUB_ENV"
echo "E2E_TEST_KROMA_MAINNET_WALLET_KEY=${{ secrets.QA_EVM_KEY_TEST }}" >> "$GITHUB_ENV"
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
BASE64_CCIP_CONFIG_OVERRIDE=$(jq -r '.inputs.base64_test_input' $GITHUB_EVENT_PATH)
echo ::add-mask::$BASE64_CCIP_CONFIG_OVERRIDE
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
name: CCIP smoke Test
environment: integration
runs-on: ubuntu-latest
needs: [ build-chainlink, build-test-image ]
needs: [ build-chainlink ]
# if the event is a scheduled event or the test type is load and no previous job failed
if: ${{ github.event_name == 'workflow_dispatch' && inputs.test_type == 'smoke' && !contains(needs.*.result, 'failure') }}
permissions:
Expand Down

0 comments on commit 789eb39

Please sign in to comment.