From e0f9210c5cbb148db6c4ad93891a63ab95bd6861 Mon Sep 17 00:00:00 2001 From: James Sumners Date: Mon, 15 Apr 2024 12:28:14 -0400 Subject: [PATCH] default to pretty --- .github/workflows/ci-workflow.yml | 6 ++++-- .github/workflows/versioned-coverage.yml | 4 ++++ .github/workflows/versioned-security-agent.yml | 4 ++++ bin/run-versioned-tests.sh | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index d70533926d..c42777bada 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -2,7 +2,9 @@ name: Node Agent CI on: [push, pull_request, workflow_dispatch] - +env: + # Enable versioned runner quiet mode to make CI output easier to read: + OUTPUT_MODE: quiet jobs: skip_if_release: @@ -161,7 +163,7 @@ jobs: with: name: logs-${{ matrix.node-version }}.tgz path: ./logs-${{ matrix.node-version }}.tgz - + # There is no coverage for external as that's tracked in their respective repos versioned-external: needs: skip_if_release diff --git a/.github/workflows/versioned-coverage.yml b/.github/workflows/versioned-coverage.yml index 9b112d871b..6f42a79258 100644 --- a/.github/workflows/versioned-coverage.yml +++ b/.github/workflows/versioned-coverage.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '0 9 * * 1-5' +env: + # Enable versioned runner quiet mode to make CI output easier to read: + OUTPUT_MODE: quiet + jobs: legacy-context: runs-on: ubuntu-latest diff --git a/.github/workflows/versioned-security-agent.yml b/.github/workflows/versioned-security-agent.yml index 25e4d9ab1d..4e09cd4827 100644 --- a/.github/workflows/versioned-security-agent.yml +++ b/.github/workflows/versioned-security-agent.yml @@ -25,6 +25,10 @@ on: branches: - main +env: + # Enable versioned runner quiet mode to make CI output easier to read: + OUTPUT_MODE: quiet + jobs: should_run: # Used to determine if the `@newrelic/security-agent` dependency has diff --git a/bin/run-versioned-tests.sh b/bin/run-versioned-tests.sh index 60def5a507..9dd000ffb7 100755 --- a/bin/run-versioned-tests.sh +++ b/bin/run-versioned-tests.sh @@ -22,7 +22,7 @@ EXTERNAL_MODE="${EXTERNAL_MODE:-include}" # OUTPUT_MODE maps to `--print` of the versioned-tests runner. # Known values are "simple", "pretty", and "quiet". -OUTPUT_MODE="${OUTPUT_MODE:-quiet}" +OUTPUT_MODE="${OUTPUT_MODE:-pretty}" # Determine context manager for sanity sake if [[ $NEW_RELIC_FEATURE_FLAG_LEGACY_CONTEXT_MANAGER == 1 ]];