Skip to content

Commit

Permalink
Add Error Message On Download Tar Failure Soaking Test
Browse files Browse the repository at this point in the history
  • Loading branch information
sethAmazon committed Oct 21, 2021
1 parent f629356 commit 1ec8c80
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/soaking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 1ec8c80

Please sign in to comment.