-
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.
For NoUpstream providers typically the terraform bits are not relevant, so code generator binary should be called `pulumi-gen-provider` not `pulumi-tfgen-provider`.
- Loading branch information
Showing
25 changed files
with
171 additions
and
159 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...er-ci/internal/pkg/templates/bridged-provider/.github/actions/download-codegen/action.yml
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,21 @@ | ||
name: Download the code generator binary | ||
description: Downloads the code generator binary to `bin/`. | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
- name: Download the code generator binary for #{{ .Config.Provider }}# | ||
uses: #{{ .Config.ActionVersions.DownloadArtifact }}# | ||
with: | ||
#{{- if .Config.NoUpstream }}# | ||
name: pulumi-gen-#{{ .Config.Provider }}# | ||
#{{- else }}# | ||
name: pulumi-tfgen-#{{ .Config.Provider }}# | ||
#{{- end }}# | ||
path: ${{ github.workspace }}/bin | ||
|
||
- name: Ensure the code generator binary for #{{ .Config.Provider }}# is executable | ||
shell: bash | ||
run: | | ||
find ${{ github.workspace }} -name "pulumi-*-#{{ .Config.Provider }}#" -print -exec chmod +x {} \; |
17 changes: 0 additions & 17 deletions
17
...ider-ci/internal/pkg/templates/bridged-provider/.github/actions/download-tfgen/action.yml
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
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
8 changes: 4 additions & 4 deletions
8
....github/actions/download-tfgen/action.yml → ...ithub/actions/download-codegen/action.yml
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
name: Download the tfgen binary | ||
description: Downloads the tfgen binary to `bin/`. | ||
name: Download the code generator binary | ||
description: Downloads the code generator binary to `bin/`. | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
- name: Download pulumi-tfgen-acme | ||
- name: Download the code generator binary for acme | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: pulumi-tfgen-acme | ||
path: ${{ github.workspace }}/bin | ||
|
||
- name: Ensure pulumi-tfgen-acme is executable | ||
- name: Ensure the code generator binary for acme is executable | ||
shell: bash | ||
run: | | ||
find ${{ github.workspace }} -name "pulumi-*-acme" -print -exec chmod +x {} \; |
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
8 changes: 4 additions & 4 deletions
8
....github/actions/download-tfgen/action.yml → ...ithub/actions/download-codegen/action.yml
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
name: Download the tfgen binary | ||
description: Downloads the tfgen binary to `bin/`. | ||
name: Download the code generator binary | ||
description: Downloads the code generator binary to `bin/`. | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
- name: Download pulumi-tfgen-aws | ||
- name: Download the code generator binary for aws | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: pulumi-tfgen-aws | ||
path: ${{ github.workspace }}/bin | ||
|
||
- name: Ensure pulumi-tfgen-aws is executable | ||
- name: Ensure the code generator binary for aws is executable | ||
shell: bash | ||
run: | | ||
find ${{ github.workspace }} -name "pulumi-*-aws" -print -exec chmod +x {} \; |
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
Oops, something went wrong.