Skip to content

Commit

Permalink
Adding a way to be able to trigger smoke tests based on a specific CL…
Browse files Browse the repository at this point in the history
…I version
  • Loading branch information
stack72 committed Nov 23, 2020
1 parent a2f045d commit 806ec34
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ env:
GOOGLE_ZONE: "us-central1-a"
PACKET_AUTH_TOKEN: ${{ secrets.PACKET_AUTH_TOKEN }}
LINODE_API_TOKEN: ${{ secrets.LINODE_API_TOKEN }}
PULUMI_VERSION: ${{ github.event.client_payload.ref }}
jobs:
released:
strategy:
Expand Down Expand Up @@ -110,14 +111,20 @@ jobs:
role-session-name: examples@githubActions
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- name: scripts/run-at-head ${{ matrix.examples-test-matrix }}
if: env.PULUMI_VERSION == ''
run: ./ci-scripts/ci/run-at-head ${{ matrix.examples-test-matrix }}
- if: matrix.examples-test-matrix == '--no-latest-cli'
- if: matrix.examples-test-matrix == '--no-latest-cli' && env.PULUMI_VERSION == ''
name: Install Pulumi CLI
uses: pulumi/[email protected]
- if: matrix.examples-test-matrix == '--no-latest-packages'
- if: matrix.examples-test-matrix == '--no-latest-packages' && env.PULUMI_VERSION == ''
name: Set Pulumi to PATH
run: |
echo "$HOME/.pulumi/bin" >> $GITHUB_PATH
- if: env.PULUMI_VERSION != ''
name: Install Specific Version of Pulumi CLI
uses: pulumi/[email protected]
with:
pulumi-version: ${{ env.PULUMI_VERSION }}
- name: Install Go dependencies
run: make ensure
- name: Run ${{ matrix.clouds }}${{ matrix.languages }} Tests
Expand Down

0 comments on commit 806ec34

Please sign in to comment.