Skip to content

Commit

Permalink
Moving provider to use the command dispatch workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 authored May 18, 2021
1 parent fac2ddf commit 7b6123a
Show file tree
Hide file tree
Showing 8 changed files with 845 additions and 565 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/command-dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
env:
AWS_REGION: us-west-2
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }}
PROVIDER: spotinst
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
PULUMI_API: https://api.pulumi-staging.io
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SPOTINST_ACCOUNT: ${{ secrets.SPOTINST_ACCOUNT }}
SPOTINST_TOKEN: ${{ secrets.SPOTINST_TOKEN }}
TRAVIS_OS_NAME: linux
jobs:
command-dispatch-for-testing:
name: command-dispatch-for-testing
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- uses: peter-evans/slash-command-dispatch@v2
with:
commands: run-acceptance-tests
issue-type: pull-request
permission: write
reaction-token: ${{ secrets.GITHUB_TOKEN }}
repository: pulumi/pulumi-spotinst
token: ${{ secrets.PULUMI_BOT_TOKEN }}
strategy: {}
"on":
issue_comment:
types:
- created
- edited
Loading

0 comments on commit 7b6123a

Please sign in to comment.