Skip to content

Commit

Permalink
Make smoke tests cache optional (#7592)
Browse files Browse the repository at this point in the history
To get out of chicken and egg situations, like when adding a new
ecosystem.
  • Loading branch information
deivid-rodriguez authored Jul 19, 2023
1 parent 044c9d8 commit cd0af0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,12 @@ jobs:
curl $(gh api $URL --jq .download_url) -o smoke.yaml
# Download the Proxy cache. The job is ideally 100% cached so no real calls are made.
# Allowed to fail to get out of checking and egg situations, for example, when adding a new ecosystem.
- name: Download cache
if: steps.changes.outputs[matrix.suite.name] == 'true'
run: |
gh run download --repo dependabot/smoke-tests --name cache-${{ matrix.suite.name }} --dir cache
continue-on-error: true

- name: Build ecosystem image
if: steps.changes.outputs[matrix.suite.name] == 'true'
Expand Down

0 comments on commit cd0af0c

Please sign in to comment.