Do some cleanup #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test examples | |
on: | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: 0 9 * * * | |
repository_dispatch: | |
types: | |
- run-tests-command | |
workflow_dispatch: {} | |
env: | |
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }} | |
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_ID }} | |
ARM_ENVIRONMENT: public | |
ARM_LOCATION: westus | |
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }} | |
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }} | |
AWS_ACCESS_KEY_ID: " ${{ secrets.AWS_ACCESS_KEY_ID }}" | |
AWS_REGION: us-west-2 | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
CLOUDSDK_CORE_DISABLE_PROMPTS: 1 | |
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }} | |
GOOGLE_CI_SERVICE_ACCOUNT_EMAIL: [email protected] | |
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci | |
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci | |
GOOGLE_PROJECT: pulumi-ci-gcp-provider | |
GOOGLE_PROJECT_NUMBER: "895284651812" | |
GOOGLE_REGION: us-central1 | |
GOOGLE_ZONE: us-central1-a | |
PACKET_AUTH_TOKEN: ${{ secrets.PACKET_AUTH_TOKEN }} | |
PR_COMMIT_SHA: ${{ github.event.client_payload.pull_request.head.sha }} | |
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} | |
PULUMI_API: https://api.pulumi-staging.io | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
jobs: | |
# comment-notification: | |
# if: github.event_name == 'repository_dispatch' | |
# name: comment-notification | |
# runs-on: pulumi-ubuntu-8core | |
# steps: | |
# - id: vars | |
# name: Create URL to the run output | |
# run: echo ::set-output | |
# name=run-url::https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID | |
# - name: Update with Result | |
# uses: peter-evans/create-or-update-comment@v4 | |
# with: | |
# body: |- | |
# Please view the results of the PR Build [Here][1] | |
# [1]: ${{ steps.vars.outputs.run-url }} | |
# issue-number: ${{ github.event.client_payload.github.payload.issue.number }} | |
# repository: ${{ github.event.client_payload.github.payload.repository.full_name }} | |
# token: ${{ secrets.GITHUB_TOKEN }} | |
providers: | |
runs-on: ${{ matrix.platform }} | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v3 | |
- name: Do setup | |
uses: ./.github/actions/setup | |
with: | |
node-version: ${{ matrix.node-version }} | |
python-version: ${{ matrix.python-version }} | |
go-version: ${{ matrix.go-version }} | |
dotnet-version: ${{ matrix.dotnet-version }} | |
pulumi-version: ${{ matrix.pulumi-version }} | |
- name: Run ${{ matrix.clouds }}${{ matrix.languages }} Tests | |
run: make specific_test_set TestSet=${{ matrix.clouds }}${{ matrix.languages }} | |
strategy: | |
fail-fast: false | |
matrix: | |
clouds: | |
- DigitalOcean | |
- Aws | |
- Azure | |
- Gcp | |
- Packet | |
- EquinixMetal | |
- Cloud | |
node-version: | |
- 18.x | |
python-version: | |
- 3.9 | |
go-version: | |
- 1.21.x | |
dotnet-version: | |
- 6.0.114 | |
pulumi-version: | |
- dev | |
languages: | |
- Cs | |
- Js | |
- Ts | |
- Py | |
- Fs | |
platform: | |
- pulumi-ubuntu-8core |