Compare commits
3 Commits
update-git
...
update-git
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a751e4afb | ||
|
|
823003a9dd | ||
|
|
fc0d9aa5f2 |
19
.github/actions/download-provider/action.yml
vendored
Normal file
19
.github/actions/download-provider/action.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Download Provider Binary
|
||||||
|
description: Downloads the provider binary artifact and restores executable permissions
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Download provider
|
||||||
|
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
||||||
|
with:
|
||||||
|
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
||||||
|
path: ${{ github.workspace }}/bin
|
||||||
|
|
||||||
|
- name: UnTar provider binaries
|
||||||
|
shell: bash
|
||||||
|
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace}}/bin
|
||||||
|
|
||||||
|
- name: Restore Binary Permissions
|
||||||
|
shell: bash
|
||||||
|
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print -exec chmod +x {} \;
|
||||||
20
.github/actions/download-sdk/action.yml
vendored
Normal file
20
.github/actions/download-sdk/action.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Download SDK
|
||||||
|
description: Downloads and extracts SDK artifacts for a specific language
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
language:
|
||||||
|
description: 'The SDK language to download (nodejs, python, dotnet, java)'
|
||||||
|
required: true
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Download SDK
|
||||||
|
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
||||||
|
with:
|
||||||
|
name: ${{ inputs.language }}-sdk.tar.gz
|
||||||
|
path: ${{ github.workspace}}/sdk/
|
||||||
|
|
||||||
|
- name: UnTar SDK folder
|
||||||
|
shell: bash
|
||||||
|
run: tar -zxf ${{ github.workspace}}/sdk/${{ inputs.language}}.tar.gz -C ${{ github.workspace}}/sdk/${{ inputs.language}}
|
||||||
27
.github/actions/setup-tools/action.yml
vendored
Normal file
27
.github/actions/setup-tools/action.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Setup Tools
|
||||||
|
description: Installs all tools (Go, Node, Python, .NET, Java, Pulumi, etc.) using mise
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
cache:
|
||||||
|
description: Enable caching
|
||||||
|
required: false
|
||||||
|
default: 'false'
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Setup mise
|
||||||
|
uses: jdx/mise-action@be3be2260bc02bc3fbf94c5e2fed8b7964baf074 # v3
|
||||||
|
with:
|
||||||
|
# Latest working version. See https://github.com/jdx/mise/discussions/6781
|
||||||
|
version: 2025.10.16
|
||||||
|
github_token: ${{ github.token }}
|
||||||
|
cache_key: "mise-{{platform}}-{{file_hash}}"
|
||||||
|
cache_save: ${{ inputs.cache }}
|
||||||
|
|
||||||
|
- name: Setup Go Cache
|
||||||
|
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
||||||
|
with:
|
||||||
|
go-version: ${{ env.GOVERSION }}
|
||||||
|
cache-dependency-path: "**/*.sum"
|
||||||
|
cache: ${{ inputs.cache }}
|
||||||
168
.github/workflows/build.yml
vendored
168
.github/workflows/build.yml
vendored
@@ -64,17 +64,10 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
cache: 'true'
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- if: github.event_name == 'pull_request'
|
- if: github.event_name == 'pull_request'
|
||||||
name: Install Schema Tools
|
name: Install Schema Tools
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
||||||
@@ -241,51 +234,10 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
- name: Download Provider Binary
|
||||||
go-version: ${{ env.GOVERSION }}
|
uses: ./.github/actions/download-provider
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-exec chmod +x {} \;
|
|
||||||
- name: Generate SDK
|
- name: Generate SDK
|
||||||
run: make generate_${{ matrix.language }}
|
run: make generate_${{ matrix.language }}
|
||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
@@ -442,61 +394,15 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
- name: Download Provider Binary
|
||||||
go-version: ${{ env.GOVERSION }}
|
uses: ./.github/actions/download-provider
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-exec chmod +x {} \;
|
|
||||||
- name: Download SDK
|
- name: Download SDK
|
||||||
if: ${{ matrix.language != 'yaml' }}
|
if: ${{ matrix.language != 'yaml' }}
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: ./.github/actions/download-sdk
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
language: ${{ matrix.language }}
|
||||||
path: ${{ github.workspace}}/sdk/
|
|
||||||
- name: UnTar SDK folder
|
|
||||||
if: ${{ matrix.language != 'yaml' }}
|
|
||||||
run: tar -zxf ${{ github.workspace}}/sdk/${{ matrix.language}}.tar.gz -C ${{
|
|
||||||
github.workspace}}/sdk/${{ matrix.language}}
|
|
||||||
- name: Update path
|
- name: Update path
|
||||||
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
@@ -583,11 +489,8 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Clear GitHub Actions Ubuntu runner disk space
|
- name: Clear GitHub Actions Ubuntu runner disk space
|
||||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
||||||
with:
|
with:
|
||||||
@@ -597,12 +500,6 @@ jobs:
|
|||||||
haskell: true
|
haskell: true
|
||||||
swap-storage: true
|
swap-storage: true
|
||||||
large-packages: false
|
large-packages: false
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
|
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
|
||||||
with:
|
with:
|
||||||
@@ -669,30 +566,8 @@ jobs:
|
|||||||
path: ci-scripts
|
path: ci-scripts
|
||||||
repository: pulumi/scripts
|
repository: pulumi/scripts
|
||||||
- run: echo "ci-scripts" >> .git/info/exclude
|
- run: echo "ci-scripts" >> .git/info/exclude
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Download python SDK
|
- name: Download python SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
||||||
with:
|
with:
|
||||||
@@ -750,18 +625,15 @@ jobs:
|
|||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
ref: ${{ env.PR_COMMIT_SHA }}
|
ref: ${{ env.PR_COMMIT_SHA }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Disarm go:embed directives to enable linters that compile source code
|
- name: Disarm go:embed directives to enable linters that compile source code
|
||||||
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
|
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
|
||||||
's/go:embed/ goembed/g'
|
's/go:embed/ goembed/g'
|
||||||
- name: golangci-lint provider pkg
|
- name: golangci-lint provider pkg
|
||||||
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
|
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
|
||||||
with:
|
with:
|
||||||
version: ${{ env.GOLANGCI_LINT_VERSION }}
|
install-mode: none # Handled by mise.
|
||||||
working-directory: .
|
working-directory: .
|
||||||
name: lint
|
name: lint
|
||||||
if: github.event_name == 'repository_dispatch' ||
|
if: github.event_name == 'repository_dispatch' ||
|
||||||
|
|||||||
182
.github/workflows/prerelease.yml
vendored
182
.github/workflows/prerelease.yml
vendored
@@ -53,17 +53,10 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
cache: 'true'
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- if: github.event_name == 'pull_request'
|
- if: github.event_name == 'pull_request'
|
||||||
name: Install Schema Tools
|
name: Install Schema Tools
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
||||||
@@ -230,51 +223,10 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
- name: Download Provider Binary
|
||||||
go-version: ${{ env.GOVERSION }}
|
uses: ./.github/actions/download-provider
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-exec chmod +x {} \;
|
|
||||||
- name: Generate SDK
|
- name: Generate SDK
|
||||||
run: make generate_${{ matrix.language }}
|
run: make generate_${{ matrix.language }}
|
||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
@@ -395,61 +347,15 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
- name: Download Provider Binary
|
||||||
go-version: ${{ env.GOVERSION }}
|
uses: ./.github/actions/download-provider
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-exec chmod +x {} \;
|
|
||||||
- name: Download SDK
|
- name: Download SDK
|
||||||
if: ${{ matrix.language != 'yaml' }}
|
if: ${{ matrix.language != 'yaml' }}
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: ./.github/actions/download-sdk
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
language: ${{ matrix.language }}
|
||||||
path: ${{ github.workspace}}/sdk/
|
|
||||||
- name: UnTar SDK folder
|
|
||||||
if: ${{ matrix.language != 'yaml' }}
|
|
||||||
run: tar -zxf ${{ github.workspace}}/sdk/${{ matrix.language}}.tar.gz -C ${{
|
|
||||||
github.workspace}}/sdk/${{ matrix.language}}
|
|
||||||
- name: Update path
|
- name: Update path
|
||||||
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
@@ -536,11 +442,8 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Clear GitHub Actions Ubuntu runner disk space
|
- name: Clear GitHub Actions Ubuntu runner disk space
|
||||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
||||||
with:
|
with:
|
||||||
@@ -550,12 +453,6 @@ jobs:
|
|||||||
haskell: true
|
haskell: true
|
||||||
swap-storage: true
|
swap-storage: true
|
||||||
large-packages: false
|
large-packages: false
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
|
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
|
||||||
with:
|
with:
|
||||||
@@ -622,30 +519,8 @@ jobs:
|
|||||||
path: ci-scripts
|
path: ci-scripts
|
||||||
repository: pulumi/scripts
|
repository: pulumi/scripts
|
||||||
- run: echo "ci-scripts" >> .git/info/exclude
|
- run: echo "ci-scripts" >> .git/info/exclude
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Download python SDK
|
- name: Download python SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
||||||
with:
|
with:
|
||||||
@@ -718,27 +593,8 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download java SDK
|
- name: Download java SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
182
.github/workflows/release.yml
vendored
182
.github/workflows/release.yml
vendored
@@ -56,17 +56,10 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
cache: 'true'
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- if: github.event_name == 'pull_request'
|
- if: github.event_name == 'pull_request'
|
||||||
name: Install Schema Tools
|
name: Install Schema Tools
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
||||||
@@ -233,51 +226,10 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
- name: Download Provider Binary
|
||||||
go-version: ${{ env.GOVERSION }}
|
uses: ./.github/actions/download-provider
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-exec chmod +x {} \;
|
|
||||||
- name: Generate SDK
|
- name: Generate SDK
|
||||||
run: make generate_${{ matrix.language }}
|
run: make generate_${{ matrix.language }}
|
||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
@@ -398,61 +350,15 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
- name: Download Provider Binary
|
||||||
go-version: ${{ env.GOVERSION }}
|
uses: ./.github/actions/download-provider
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
|
||||||
with:
|
|
||||||
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
|
|
||||||
path: ${{ github.workspace }}/bin
|
|
||||||
- name: UnTar provider binaries
|
|
||||||
run: tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{
|
|
||||||
github.workspace}}/bin
|
|
||||||
- name: Restore Binary Permissions
|
|
||||||
run: find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print
|
|
||||||
-exec chmod +x {} \;
|
|
||||||
- name: Download SDK
|
- name: Download SDK
|
||||||
if: ${{ matrix.language != 'yaml' }}
|
if: ${{ matrix.language != 'yaml' }}
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: ./.github/actions/download-sdk
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.language }}-sdk.tar.gz
|
language: ${{ matrix.language }}
|
||||||
path: ${{ github.workspace}}/sdk/
|
|
||||||
- name: UnTar SDK folder
|
|
||||||
if: ${{ matrix.language != 'yaml' }}
|
|
||||||
run: tar -zxf ${{ github.workspace}}/sdk/${{ matrix.language}}.tar.gz -C ${{
|
|
||||||
github.workspace}}/sdk/${{ matrix.language}}
|
|
||||||
- name: Update path
|
- name: Update path
|
||||||
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
@@ -539,11 +445,8 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Clear GitHub Actions Ubuntu runner disk space
|
- name: Clear GitHub Actions Ubuntu runner disk space
|
||||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
||||||
with:
|
with:
|
||||||
@@ -553,12 +456,6 @@ jobs:
|
|||||||
haskell: true
|
haskell: true
|
||||||
swap-storage: true
|
swap-storage: true
|
||||||
large-packages: false
|
large-packages: false
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
|
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
|
||||||
with:
|
with:
|
||||||
@@ -625,30 +522,8 @@ jobs:
|
|||||||
path: ci-scripts
|
path: ci-scripts
|
||||||
repository: pulumi/scripts
|
repository: pulumi/scripts
|
||||||
- run: echo "ci-scripts" >> .git/info/exclude
|
- run: echo "ci-scripts" >> .git/info/exclude
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Download python SDK
|
- name: Download python SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
||||||
with:
|
with:
|
||||||
@@ -721,27 +596,8 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download java SDK
|
- name: Download java SDK
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
94
.github/workflows/run-acceptance-tests.yml
vendored
94
.github/workflows/run-acceptance-tests.yml
vendored
@@ -84,17 +84,10 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
with:
|
||||||
go-version: ${{ env.GOVERSION }}
|
cache: 'true'
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- if: github.event_name == 'pull_request'
|
- if: github.event_name == 'pull_request'
|
||||||
name: Install Schema Tools
|
name: Install Schema Tools
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
||||||
@@ -265,40 +258,8 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
- name: Download provider
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
||||||
with:
|
with:
|
||||||
@@ -434,40 +395,8 @@ jobs:
|
|||||||
set-env: PROVIDER_VERSION
|
set-env: PROVIDER_VERSION
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Download provider
|
- name: Download provider
|
||||||
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
|
||||||
with:
|
with:
|
||||||
@@ -594,18 +523,15 @@ jobs:
|
|||||||
lfs: true
|
lfs: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
ref: ${{ env.PR_COMMIT_SHA }}
|
ref: ${{ env.PR_COMMIT_SHA }}
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Disarm go:embed directives to enable linters that compile source code
|
- name: Disarm go:embed directives to enable linters that compile source code
|
||||||
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
|
run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i
|
||||||
's/go:embed/ goembed/g'
|
's/go:embed/ goembed/g'
|
||||||
- name: golangci-lint provider pkg
|
- name: golangci-lint provider pkg
|
||||||
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
|
uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
|
||||||
with:
|
with:
|
||||||
version: ${{ env.GOLANGCI_LINT_VERSION }}
|
install-mode: none # Handled by mise.
|
||||||
working-directory: .
|
working-directory: .
|
||||||
name: lint
|
name: lint
|
||||||
if: github.event_name == 'repository_dispatch' ||
|
if: github.event_name == 'repository_dispatch' ||
|
||||||
|
|||||||
36
.github/workflows/weekly-pulumi-update.yml
vendored
36
.github/workflows/weekly-pulumi-update.yml
vendored
@@ -46,40 +46,8 @@ jobs:
|
|||||||
id: esc-secrets
|
id: esc-secrets
|
||||||
name: Fetch secrets from ESC
|
name: Fetch secrets from ESC
|
||||||
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
uses: pulumi/esc-action@9eb774255b1a4afb7855678ae8d4a77359da0d9b
|
||||||
- name: Install Go
|
- name: Setup Tools
|
||||||
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
|
uses: ./.github/actions/setup-tools
|
||||||
with:
|
|
||||||
go-version: ${{ env.GOVERSION }}
|
|
||||||
cache-dependency-path: "**/*.sum"
|
|
||||||
- name: Install pulumictl
|
|
||||||
uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0
|
|
||||||
with:
|
|
||||||
repo: pulumi/pulumictl
|
|
||||||
- name: Install Pulumi CLI
|
|
||||||
uses: pulumi/actions@cc7494be991dba0978f7ffafaf995b0449a0998e # v6.5.0
|
|
||||||
- name: Setup DotNet
|
|
||||||
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ env.DOTNETVERSION }}
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
||||||
with:
|
|
||||||
node-version: ${{ env.NODEVERSION }}
|
|
||||||
registry-url: https://registry.npmjs.org
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
||||||
with:
|
|
||||||
python-version: ${{ env.PYTHONVERSION }}
|
|
||||||
- name: Setup Java
|
|
||||||
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
|
||||||
with:
|
|
||||||
java-version: ${{ env.JAVAVERSION }}
|
|
||||||
distribution: temurin
|
|
||||||
cache: gradle
|
|
||||||
- name: Setup Gradle
|
|
||||||
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
|
||||||
with:
|
|
||||||
gradle-version: "7.6"
|
|
||||||
- name: Update Pulumi/Pulumi
|
- name: Update Pulumi/Pulumi
|
||||||
id: gomod
|
id: gomod
|
||||||
run: >-
|
run: >-
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,6 +7,7 @@
|
|||||||
**/.ionide
|
**/.ionide
|
||||||
**/.vscode
|
**/.vscode
|
||||||
*.swp
|
*.swp
|
||||||
|
.pulumi
|
||||||
Pulumi.*.yaml
|
Pulumi.*.yaml
|
||||||
yarn.lock
|
yarn.lock
|
||||||
ci-scripts
|
ci-scripts
|
||||||
|
|||||||
Reference in New Issue
Block a user