From ffa18b3388724158ccd23cdc044f6d627db89db5 Mon Sep 17 00:00:00 2001 From: Vault Automation Date: Wed, 20 Aug 2025 17:01:03 -0600 Subject: [PATCH] enos(sample): don't double sample (#8752) (#8770) * enos: remove double sample observe * ci(build): fix notification on artifacts build failure Signed-off-by: Ryan Cragun Co-authored-by: Ryan Cragun --- .github/workflows/build.yml | 2 +- .github/workflows/test-run-enos-scenario-matrix.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ec352155ce..b36f72376e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -458,7 +458,7 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "text": "${{ needs.setup.result != 'failure' && ':white_check_mark:' || ':x:' }} Setup\n${{ needs.ui.result != 'failure' && ':white_check_mark:' || ':x:' }} Build UI\n${{ (needs.setup.outputs.is-ent-branch == 'true' && needs.artifacts-ent.result != 'failure' || needs.artifacts-ce.result != 'failure' ) && ':white_check_mark:' || ':x:' }} Build Vault Artifacts\n${{ needs.test.result != 'failure' && ':white_check_mark:' || ':x:' }} Enos package test scenarios\n${{ needs.test-containers.result != 'failure' && ':white_check_mark:' || ':x:' }} Enos container test scenarios" + "text": "${{ needs.setup.result != 'failure' && ':white_check_mark:' || ':x:' }} Setup\n${{ needs.ui.result != 'failure' && ':white_check_mark:' || ':x:' }} Build UI\n${{ (needs.artifacts-ent.result != 'failure' && needs.artifacts-ce.result != 'failure') && ':white_check_mark:' || ':x:' }} Build Vault Artifacts\n${{ needs.test.result != 'failure' && ':white_check_mark:' || ':x:' }} Enos package test scenarios\n${{ needs.test-containers.result != 'failure' && ':white_check_mark:' || ':x:' }} Enos container test scenarios" }, "accessory": { "type": "button", diff --git a/.github/workflows/test-run-enos-scenario-matrix.yml b/.github/workflows/test-run-enos-scenario-matrix.yml index 60d37d7b3c..3f2be5ffb8 100644 --- a/.github/workflows/test-run-enos-scenario-matrix.yml +++ b/.github/workflows/test-run-enos-scenario-matrix.yml @@ -92,8 +92,6 @@ jobs: # shellcheck disable=2001 vault_version="$(sed 's/+ent/+${{ inputs.vault-edition }}/g' <<< '${{ inputs.vault-version }}')" fi - sample_seed=$(date +%s) - sample=$(enos scenario sample observe "${{ inputs.sample-name }}" --chdir ./enos --min 1 --max "${{ inputs.sample-max }}" --seed "${sample_seed}" --format json | jq -c ".observation.elements") { echo "build-date=${build_date}" echo 'is-ent-repo=${{ github.repository == 'hashicorp/vault-enterprise' }}'