Update GitHub Actions workflows. (#389)
This PR was automatically generated by the update-native-provider-workflows workflow in the pulumi/ci-mgmt repo, from commit f96fe3787b1f8929df4710c19ce2bb436777adce.
This commit is contained in:
40
.github/workflows/build.yml
vendored
40
.github/workflows/build.yml
vendored
@@ -118,6 +118,7 @@ jobs:
|
|||||||
- name: Build Provider
|
- name: Build Provider
|
||||||
run: make provider
|
run: make provider
|
||||||
- name: Check worktree clean
|
- name: Check worktree clean
|
||||||
|
id: worktreeClean
|
||||||
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
||||||
with:
|
with:
|
||||||
allowed-changes: |-
|
allowed-changes: |-
|
||||||
@@ -222,6 +223,7 @@ jobs:
|
|||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
run: make build_${{ matrix.language }}
|
run: make build_${{ matrix.language }}
|
||||||
- name: Check worktree clean
|
- name: Check worktree clean
|
||||||
|
id: worktreeClean
|
||||||
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
||||||
with:
|
with:
|
||||||
allowed-changes: |-
|
allowed-changes: |-
|
||||||
@@ -230,6 +232,44 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
- name: Commit ${{ matrix.language }} SDK changes for Renovate
|
||||||
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
|
contains(github.actor, 'renovate')
|
||||||
|
shell: bash
|
||||||
|
run: >
|
||||||
|
git config --global user.email "bot@pulumi.com"
|
||||||
|
|
||||||
|
git config --global user.name "pulumi-bot"
|
||||||
|
|
||||||
|
# Stash local changes and check out the PR's branch directly.
|
||||||
|
|
||||||
|
git stash
|
||||||
|
|
||||||
|
git fetch
|
||||||
|
|
||||||
|
git checkout "origin/$HEAD_REF"
|
||||||
|
|
||||||
|
|
||||||
|
# Apply and add our changes, but don't commit any files we expect to
|
||||||
|
|
||||||
|
# always change due to versioning.
|
||||||
|
|
||||||
|
git stash pop
|
||||||
|
|
||||||
|
git add sdk
|
||||||
|
|
||||||
|
git reset sdk/python/*/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj sdk/go/*/internal/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml
|
||||||
|
|
||||||
|
git commit -m 'Commit ${{ matrix.language }} SDK for Renovate'
|
||||||
|
|
||||||
|
|
||||||
|
# Push with pulumi-bot credentials to trigger a re-run of the
|
||||||
|
|
||||||
|
# workflow. https://github.com/orgs/community/discussions/25702
|
||||||
|
|
||||||
|
git push https://pulumi-bot:${{ secrets.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
||||||
|
env:
|
||||||
|
HEAD_REF: ${{ github.head_ref }}
|
||||||
- run: git status --porcelain
|
- run: git status --porcelain
|
||||||
- name: Tar SDK folder
|
- name: Tar SDK folder
|
||||||
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
||||||
|
|||||||
40
.github/workflows/prerelease.yml
vendored
40
.github/workflows/prerelease.yml
vendored
@@ -110,6 +110,7 @@ jobs:
|
|||||||
- name: Build Provider
|
- name: Build Provider
|
||||||
run: make provider
|
run: make provider
|
||||||
- name: Check worktree clean
|
- name: Check worktree clean
|
||||||
|
id: worktreeClean
|
||||||
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
||||||
with:
|
with:
|
||||||
allowed-changes: |-
|
allowed-changes: |-
|
||||||
@@ -214,6 +215,7 @@ jobs:
|
|||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
run: make build_${{ matrix.language }}
|
run: make build_${{ matrix.language }}
|
||||||
- name: Check worktree clean
|
- name: Check worktree clean
|
||||||
|
id: worktreeClean
|
||||||
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
||||||
with:
|
with:
|
||||||
allowed-changes: |-
|
allowed-changes: |-
|
||||||
@@ -222,6 +224,44 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
- name: Commit ${{ matrix.language }} SDK changes for Renovate
|
||||||
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
|
contains(github.actor, 'renovate')
|
||||||
|
shell: bash
|
||||||
|
run: >
|
||||||
|
git config --global user.email "bot@pulumi.com"
|
||||||
|
|
||||||
|
git config --global user.name "pulumi-bot"
|
||||||
|
|
||||||
|
# Stash local changes and check out the PR's branch directly.
|
||||||
|
|
||||||
|
git stash
|
||||||
|
|
||||||
|
git fetch
|
||||||
|
|
||||||
|
git checkout "origin/$HEAD_REF"
|
||||||
|
|
||||||
|
|
||||||
|
# Apply and add our changes, but don't commit any files we expect to
|
||||||
|
|
||||||
|
# always change due to versioning.
|
||||||
|
|
||||||
|
git stash pop
|
||||||
|
|
||||||
|
git add sdk
|
||||||
|
|
||||||
|
git reset sdk/python/*/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj sdk/go/*/internal/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml
|
||||||
|
|
||||||
|
git commit -m 'Commit ${{ matrix.language }} SDK for Renovate'
|
||||||
|
|
||||||
|
|
||||||
|
# Push with pulumi-bot credentials to trigger a re-run of the
|
||||||
|
|
||||||
|
# workflow. https://github.com/orgs/community/discussions/25702
|
||||||
|
|
||||||
|
git push https://pulumi-bot:${{ secrets.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
||||||
|
env:
|
||||||
|
HEAD_REF: ${{ github.head_ref }}
|
||||||
- run: git status --porcelain
|
- run: git status --porcelain
|
||||||
- name: Tar SDK folder
|
- name: Tar SDK folder
|
||||||
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
||||||
|
|||||||
40
.github/workflows/release.yml
vendored
40
.github/workflows/release.yml
vendored
@@ -110,6 +110,7 @@ jobs:
|
|||||||
- name: Build Provider
|
- name: Build Provider
|
||||||
run: make provider
|
run: make provider
|
||||||
- name: Check worktree clean
|
- name: Check worktree clean
|
||||||
|
id: worktreeClean
|
||||||
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
||||||
with:
|
with:
|
||||||
allowed-changes: |-
|
allowed-changes: |-
|
||||||
@@ -214,6 +215,7 @@ jobs:
|
|||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
run: make build_${{ matrix.language }}
|
run: make build_${{ matrix.language }}
|
||||||
- name: Check worktree clean
|
- name: Check worktree clean
|
||||||
|
id: worktreeClean
|
||||||
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
||||||
with:
|
with:
|
||||||
allowed-changes: |-
|
allowed-changes: |-
|
||||||
@@ -222,6 +224,44 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
- name: Commit ${{ matrix.language }} SDK changes for Renovate
|
||||||
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
|
contains(github.actor, 'renovate')
|
||||||
|
shell: bash
|
||||||
|
run: >
|
||||||
|
git config --global user.email "bot@pulumi.com"
|
||||||
|
|
||||||
|
git config --global user.name "pulumi-bot"
|
||||||
|
|
||||||
|
# Stash local changes and check out the PR's branch directly.
|
||||||
|
|
||||||
|
git stash
|
||||||
|
|
||||||
|
git fetch
|
||||||
|
|
||||||
|
git checkout "origin/$HEAD_REF"
|
||||||
|
|
||||||
|
|
||||||
|
# Apply and add our changes, but don't commit any files we expect to
|
||||||
|
|
||||||
|
# always change due to versioning.
|
||||||
|
|
||||||
|
git stash pop
|
||||||
|
|
||||||
|
git add sdk
|
||||||
|
|
||||||
|
git reset sdk/python/*/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj sdk/go/*/internal/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml
|
||||||
|
|
||||||
|
git commit -m 'Commit ${{ matrix.language }} SDK for Renovate'
|
||||||
|
|
||||||
|
|
||||||
|
# Push with pulumi-bot credentials to trigger a re-run of the
|
||||||
|
|
||||||
|
# workflow. https://github.com/orgs/community/discussions/25702
|
||||||
|
|
||||||
|
git push https://pulumi-bot:${{ secrets.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
||||||
|
env:
|
||||||
|
HEAD_REF: ${{ github.head_ref }}
|
||||||
- run: git status --porcelain
|
- run: git status --porcelain
|
||||||
- name: Tar SDK folder
|
- name: Tar SDK folder
|
||||||
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
||||||
|
|||||||
40
.github/workflows/run-acceptance-tests.yml
vendored
40
.github/workflows/run-acceptance-tests.yml
vendored
@@ -132,6 +132,7 @@ jobs:
|
|||||||
- name: Build Provider
|
- name: Build Provider
|
||||||
run: make provider
|
run: make provider
|
||||||
- name: Check worktree clean
|
- name: Check worktree clean
|
||||||
|
id: worktreeClean
|
||||||
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
||||||
with:
|
with:
|
||||||
allowed-changes: |-
|
allowed-changes: |-
|
||||||
@@ -239,6 +240,7 @@ jobs:
|
|||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
run: make build_${{ matrix.language }}
|
run: make build_${{ matrix.language }}
|
||||||
- name: Check worktree clean
|
- name: Check worktree clean
|
||||||
|
id: worktreeClean
|
||||||
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
uses: pulumi/git-status-check-action@54000b91124a8dd9fd6a872cb41f5dd246a46e7c # v1.1.1
|
||||||
with:
|
with:
|
||||||
allowed-changes: |-
|
allowed-changes: |-
|
||||||
@@ -247,6 +249,44 @@ jobs:
|
|||||||
sdk/go/**/pulumiUtilities.go
|
sdk/go/**/pulumiUtilities.go
|
||||||
sdk/nodejs/package.json
|
sdk/nodejs/package.json
|
||||||
sdk/python/pyproject.toml
|
sdk/python/pyproject.toml
|
||||||
|
- name: Commit ${{ matrix.language }} SDK changes for Renovate
|
||||||
|
if: failure() && steps.worktreeClean.outcome == 'failure' &&
|
||||||
|
contains(github.actor, 'renovate')
|
||||||
|
shell: bash
|
||||||
|
run: >
|
||||||
|
git config --global user.email "bot@pulumi.com"
|
||||||
|
|
||||||
|
git config --global user.name "pulumi-bot"
|
||||||
|
|
||||||
|
# Stash local changes and check out the PR's branch directly.
|
||||||
|
|
||||||
|
git stash
|
||||||
|
|
||||||
|
git fetch
|
||||||
|
|
||||||
|
git checkout "origin/$HEAD_REF"
|
||||||
|
|
||||||
|
|
||||||
|
# Apply and add our changes, but don't commit any files we expect to
|
||||||
|
|
||||||
|
# always change due to versioning.
|
||||||
|
|
||||||
|
git stash pop
|
||||||
|
|
||||||
|
git add sdk
|
||||||
|
|
||||||
|
git reset sdk/python/*/pulumi-plugin.json sdk/dotnet/Pulumi.*.csproj sdk/go/*/internal/pulumiUtilities.go sdk/nodejs/package.json sdk/python/pyproject.toml
|
||||||
|
|
||||||
|
git commit -m 'Commit ${{ matrix.language }} SDK for Renovate'
|
||||||
|
|
||||||
|
|
||||||
|
# Push with pulumi-bot credentials to trigger a re-run of the
|
||||||
|
|
||||||
|
# workflow. https://github.com/orgs/community/discussions/25702
|
||||||
|
|
||||||
|
git push https://pulumi-bot:${{ secrets.PULUMI_BOT_TOKEN }}@github.com/${{ github.repository }} "HEAD:$HEAD_REF"
|
||||||
|
env:
|
||||||
|
HEAD_REF: ${{ github.head_ref }}
|
||||||
- run: git status --porcelain
|
- run: git status --porcelain
|
||||||
- name: Tar SDK folder
|
- name: Tar SDK folder
|
||||||
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} .
|
||||||
|
|||||||
Reference in New Issue
Block a user