-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub Actions workflows. (#682)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 87a49339e512f38177d9b4f4c9138a91d9855fe2.
- Loading branch information
1 parent
c953302
commit d916210
Showing
12 changed files
with
97 additions
and
82 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Download the code generator binary | ||
description: Downloads the code generator binary to `bin/`. | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Download the prerequisites bin | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: prerequisites-bin | ||
path: bin | ||
|
||
- name: Restore executable permissions | ||
shell: bash | ||
run: chmod +x $(< bin/executables.txt) | ||
|
||
- name: Remove executables list | ||
shell: bash | ||
run: rm bin/executables.txt | ||
|
||
- name: Download schema-embed.json | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
# Use a pattern to avoid failing if the artifact doesn't exist | ||
pattern: schema-embed.* | ||
# Avoid creating directories for each artifact | ||
merge-multiple: true | ||
path: provider/cmd/pulumi-resource-keycloak |
File renamed without changes.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Upload SDK asset | ||
description: Upload the SDK for a specific language as an asset for the workflow. | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Capture executable permissions | ||
shell: bash | ||
run: find bin -type f -executable > bin/executables.txt | ||
|
||
- name: Upload prerequisites bin | ||
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 | ||
with: | ||
name: prerequisites-bin | ||
path: bin/* | ||
retention-days: 30 | ||
|
||
- name: Upload schema-embed.json | ||
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 | ||
with: | ||
name: schema-embed.json | ||
path: provider/cmd/pulumi-resource-keycloak/schema-embed.json | ||
retention-days: 30 |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,14 +67,18 @@ jobs: | |
# upstream_version will be empty if the provider is up-to-date | ||
run: echo "version=${{ github.event.inputs.version || steps.upstream_version.outputs.latest_version }}" >> "$GITHUB_OUTPUT" | ||
shell: bash | ||
- name: Attempt provider upgrade | ||
- name: Call upgrade provider action | ||
id: upgrade_provider | ||
# Only attempt the upgrade if we have a target version | ||
if: steps.target_version.outputs.version != '' | ||
# Don't mark the build as failed if we can't auto-open a PR as we've already opened the upgrade issue for tracking | ||
continue-on-error: true | ||
run: upgrade-provider "${{ github.repository }}" --kind="all" --target-version="${{ steps.target_version.outputs.version }}" | ||
shell: bash | ||
uses: pulumi/pulumi-upgrade-provider-action@a1d9f03fbfd923f787427c1d9e99c2356711d483 # v0.0.13 | ||
with: | ||
kind: all | ||
email: [email protected] | ||
username: pulumi-bot | ||
automerge: false | ||
target-version: ${{ steps.target_version.outputs.version }} | ||
allow-missing-docs: false | ||
- name: Comment on upgrade issue if automated PR failed | ||
if: steps.upgrade_provider.outcome == 'failure' | ||
shell: bash | ||
|
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