-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since pulumi/pulumi#17763 the pwd property is the working directory, not the program directory. We need to fix up RunPlugin to use both directories correctly, loading the csproj from the program directory, but then setting the working directory to pwd. This also updates the CI jobs to always use the latest version of the CLI. We were running into issues because different runners happened to have different CLI versions installed. For now I've also disabled fail-fast on the integration tests to make re-running them with flaky tests more likely to pass.
- Loading branch information
Showing
5 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
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,6 @@ | ||
component: runtime | ||
kind: Bug Fixes | ||
body: Fix RunPlugin with new versions of the pulumi cli | ||
time: 2024-11-20T08:26:38.629389Z | ||
custom: | ||
PR: "395" |
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 |
---|---|---|
|
@@ -51,6 +51,8 @@ jobs: | |
dotnet-version: ${{ matrix.dotnet-version }} | ||
- name: Install Pulumi CLI | ||
uses: pulumi/actions@v5 | ||
with: | ||
pulumi-version: latest | ||
- name: Build Pulumi SDK | ||
run: dotnet run build-sdk | ||
- name: Workspace clean (are xml doc file updates committed?) | ||
|
@@ -69,6 +71,7 @@ jobs: | |
token: ${{ secrets.CODECOV_TOKEN }} | ||
integration-tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-12] | ||
dotnet-version: [6.0.x, 8.0.x] | ||
|
@@ -86,6 +89,8 @@ jobs: | |
go-version: 1.22.x | ||
- name: Install Pulumi CLI | ||
uses: pulumi/actions@v5 | ||
with: | ||
pulumi-version: latest | ||
- name: Install gotestsum | ||
uses: jaxxstorm/[email protected] | ||
env: | ||
|
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