-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TT-1167] try updated grafana shortener (#13706)
* support multiple configuration names * TT-1090: adding code to investigate issue with incorrect config being used * TT-1090: adding code to investigate issue with incorrect config being used * TT-1090: adding toml test config for remaining chains for VRF v2 Plus * support unnamed configuration * try updated grafana shortener * use new summary printer in correct job * use fixed version of print summary action * another test of shortener * remove debug --------- Co-authored-by: Ilja Pavlovs <[email protected]>
- Loading branch information
1 parent
8ba2504
commit e91b82c
Showing
1 changed file
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -387,7 +387,7 @@ jobs: | |
|
||
- name: Print failed test summary | ||
if: always() | ||
uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/show-test-summary@fc3e0df622521019f50d772726d6bf8dc919dd38 # v2.3.19 | ||
uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/show-test-summary@a8afe9cb511125685ce02bb8694298ca89685028 # v2.3.23 | ||
|
||
eth-smoke-tests-matrix-log-poller: | ||
if: ${{ !(contains(join(github.event.pull_request.labels.*.name, ' '), 'skip-smoke-tests') || github.event_name == 'workflow_dispatch') || inputs.distinct_run_name != '' }} | ||
|
@@ -500,6 +500,11 @@ jobs: | |
path: .covdata | ||
retention-days: 1 | ||
|
||
- name: Print failed test summary | ||
if: always() | ||
uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/show-test-summary@a8afe9cb511125685ce02bb8694298ca89685028 # v2.3.23 | ||
|
||
|
||
eth-smoke-tests-matrix: | ||
if: ${{ !contains(join(github.event.pull_request.labels.*.name, ' '), 'skip-smoke-tests') }} | ||
environment: integration | ||
|
@@ -658,15 +663,18 @@ jobs: | |
-v $PWD/../../integration-tests/smoke/traces:/tracing \ | ||
--user "$(id -u):$(id -g)" \ | ||
-p 4317:4317 otel/opentelemetry-collector:0.88.0 --config=/etc/otel-collector.yaml | ||
- name: Locate Docker Volume | ||
id: locate-volume | ||
if: false | ||
run: | | ||
echo "VOLUME_PATH=$(docker volume inspect --format '{{ .Mountpoint }}' otel-traces)" >> $GITHUB_OUTPUT | ||
- name: Show Otel-Collector Logs | ||
if: steps.check-label.outputs.trace == 'true' && matrix.product.name == 'ocr2' && matrix.product.tag_suffix == '-plugins' | ||
run: | | ||
docker logs otel-collector | ||
- name: Setup GAP for Grafana | ||
uses: smartcontractkit/.github/actions/setup-gap@d316f66b2990ea4daa479daa3de6fc92b00f863e # [email protected] | ||
id: setup-gap | ||
|
@@ -677,6 +685,7 @@ jobs: | |
api-gateway-host: ${{ secrets.AWS_API_GW_HOST_GRAFANA }} | ||
# other inputs | ||
duplicate-authorization-header: "true" | ||
|
||
- name: Prepare Base64 TOML override | ||
uses: ./.github/actions/setup-create-base64-config | ||
with: | ||
|
@@ -695,6 +704,7 @@ jobs: | |
grafanaUrl: "http://localhost:8080/primary" | ||
grafanaDashboardUrl: "/d/ddf75041-1e39-42af-aa46-361fe4c36e9e/ci-e2e-tests-logs" | ||
grafanaBearerToken: ${{ secrets.GRAFANA_INTERNAL_URL_SHORTENER_TOKEN }} | ||
|
||
## Run this step when changes that require tests to be run are made | ||
- name: Run Tests | ||
if: needs.changes.outputs.src == 'true' || github.event_name == 'workflow_dispatch' | ||
|
@@ -743,23 +753,27 @@ jobs: | |
QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }} | ||
QA_KUBECONFIG: "" | ||
should_tidy: "false" | ||
|
||
- name: Show Otel-Collector Logs | ||
if: steps.check-label.outputs.trace == 'true' && matrix.product.name == 'ocr2' && matrix.product.tag_suffix == '-plugins' | ||
run: | | ||
docker logs otel-collector | ||
- name: Permissions on traces | ||
if: steps.check-label.outputs.trace == 'true' && matrix.product.name == 'ocr2' && matrix.product.tag_suffix == '-plugins' | ||
run: | | ||
ls -l ./integration-tests/smoke/traces | ||
- name: Upload Trace Data | ||
if: steps.check-label.outputs.trace == 'true' && matrix.product.name == 'ocr2' && matrix.product.tag_suffix == '-plugins' | ||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | ||
with: | ||
name: trace-data | ||
path: ./integration-tests/smoke/traces/trace-data.json | ||
|
||
- name: Print failed test summary | ||
if: always() | ||
uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/show-test-summary@fc3e0df622521019f50d772726d6bf8dc919dd38 # v2.3.19 | ||
uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/show-test-summary@a8afe9cb511125685ce02bb8694298ca89685028 # v2.3.23 | ||
with: | ||
test_directory: ./integration-tests/smoke/ | ||
|
||
|
@@ -845,7 +859,6 @@ jobs: | |
# Run the setup if the matrix finishes but this time save the cache if we have a cache hit miss | ||
# this will also only run if both of the matrix jobs pass | ||
eth-smoke-go-mod-cache: | ||
|
||
environment: integration | ||
needs: [eth-smoke-tests] | ||
runs-on: ubuntu-latest | ||
|