From 1ec8c802a98c01128a3f2fb49b8d696e56452c33 Mon Sep 17 00:00:00 2001 From: Seth Levine Date: Thu, 21 Oct 2021 16:05:58 -0400 Subject: [PATCH] Add Error Message On Download Tar Failure Soaking Test --- .github/workflows/soaking.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/soaking.yml b/.github/workflows/soaking.yml index 1f59997f1e..70fed506f0 100644 --- a/.github/workflows/soaking.yml +++ b/.github/workflows/soaking.yml @@ -11,13 +11,13 @@ # express or implied. See the License for the specific language governing # permissions and limitations under the License. -name: 'nightly soaking test' +name: 'weekly soaking test' on: schedule: - cron: '0 10 * * SAT' # every Saturday at 10 am UTC: pst 2am - + # version bump from ci workflow will send dispatch event - # or we can manually trigger this workflow by using dispatch for debuging + # or we can manually trigger this workflow by using dispatch for debuging repository_dispatch: types: [bump-version] @@ -65,10 +65,14 @@ jobs: aws-access-key-id: ${{ secrets.INTEG_TEST_AWS_KEY_ID }} aws-secret-access-key: ${{ secrets.INTEG_TEST_AWS_KEY_SECRET }} aws-region: us-west-2 - - - name: Download Candidate from the latest commit + - id: downLoadLatestCommit + name: Download Candidate from the latest commit if: github.event_name != 'repository_dispatch' run: aws s3 cp "s3://aws-otel-collector-release-candidate/${{ github.sha }}.tar.gz" ./candidate.tar.gz + + - name: Echo Why Down Load Failed + if: failure() && steps.downLoadLatestCommit.outcome == 'failure' + run: echo Check CI Build For Commit Hash ${{ github.sha }} If CI Failed No Tar Will Be Upload - name: Download Candidate base on dispatch payload if: github.event_name == 'repository_dispatch'