The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Use env var indirection in Loki stress-test workflow (#71349)
github-automation-metabase3f55d1b9f490
diff --git a/.github/workflows/loki-stress-test-flake-fix.yml b/.github/workflows/loki-stress-test-flake-fix.ymlindex 5c8a49a02db..5192eaf3da2 100644--- a/.github/workflows/loki-stress-test-flake-fix.yml+++ b/.github/workflows/loki-stress-test-flake-fix.yml@@ -88,22 +88,30 @@ jobs:timeout-minutes: 5steps:- name: Generate workflow summary+ env:+ BRANCH_NAME: ${{ github.head_ref || github.ref_name }}+ STORY_FILES: ${{ needs.detect-changed-stories.outputs.story_files }}+ BURN_IN: ${{ inputs.burn_in || 50 }}+ EVENT_NAME: ${{ github.event_name }}+ PR_NUMBER: ${{ github.event.pull_request.number }}+ PR_ACTOR: ${{ github.event.pull_request.user.login }}+ ACTOR: ${{ github.actor }}run: |echo '## Loki Stress Test' >> $GITHUB_STEP_SUMMARYecho '' >> $GITHUB_STEP_SUMMARY- echo '**Branch:** `${{ github.head_ref || github.ref_name }}`' >> $GITHUB_STEP_SUMMARY+ echo "**Branch:** \`${BRANCH_NAME}\`" >> $GITHUB_STEP_SUMMARYecho '' >> $GITHUB_STEP_SUMMARYecho '**Story files:**' >> $GITHUB_STEP_SUMMARY- echo '${{ needs.detect-changed-stories.outputs.story_files }}' | tr ',' '\n' | while read -r file; do+ echo "${STORY_FILES}" | tr ',' '\n' | while read -r file; doecho "- \`$file\`" >> $GITHUB_STEP_SUMMARYdoneecho '' >> $GITHUB_STEP_SUMMARY- echo '**Burn-in:** ${{ inputs.burn_in || 50 }} runs' >> $GITHUB_STEP_SUMMARY+ echo "**Burn-in:** ${BURN_IN} runs" >> $GITHUB_STEP_SUMMARYecho '' >> $GITHUB_STEP_SUMMARY- if [[ "${{ github.event_name }}" == "pull_request" ]]; then- echo 'Triggered by PR #${{ github.event.pull_request.number }} from @${{ github.event.pull_request.user.login }}' >> $GITHUB_STEP_SUMMARY+ if [[ "${EVENT_NAME}" == "pull_request" ]]; then+ echo "Triggered by PR #${PR_NUMBER} from @${PR_ACTOR}" >> $GITHUB_STEP_SUMMARYelse- echo 'Triggered manually by @${{ github.actor }}' >> $GITHUB_STEP_SUMMARY+ echo "Triggered manually by @${ACTOR}" >> $GITHUB_STEP_SUMMARYfistress-test-loki: