Skip to content

Commit

Permalink
Merge #11337
Browse files Browse the repository at this point in the history
11337: ci: Re-enable version sets for .NET, test GA version of 6 and 7 r=AaronFriel a=AaronFriel

The `actions/setup-dotnet` action published v3.0.3 two weeks ago addressing the ECONNRESET issues discovered in #10997.

Reverts #11001

Resolves #11000

Co-authored-by: Aaron Friel <mayreply@aaronfriel.com>
  • Loading branch information
bors[bot] and AaronFriel committed Nov 11, 2022
2 parents 184903a + 12ca78e commit 5c1c462
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 28 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-build-sdks.yml
Expand Up @@ -137,11 +137,11 @@ jobs:
version: ${{ inputs.version }}
run: |
./scripts/versions.sh | tee -a "${GITHUB_ENV}"
# TODO: https://github.com/pulumi/pulumi/issues/11000, this step causes spurious errors.
# - name: Set up DotNet ${{ fromJson(inputs.version-set).dotnet }}
# uses: actions/setup-dotnet@v2
# with:
# dotnet-version: ${{ fromJson(inputs.version-set).dotnet }}
- name: Set up DotNet ${{ fromJson(inputs.version-set).dotnet }}
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
with:
dotnet-version: ${{ fromJson(inputs.version-set).dotnet }}
dotnet-quality: ga
- name: Build the .NET SDK package
run: |
cd sdk/dotnet
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-lint.yml
Expand Up @@ -66,11 +66,11 @@ jobs:
python-version: ${{ fromJson(inputs.version-set).python }}
cache: pip
cache-dependency-path: sdk/python/requirements.txt
# TODO: https://github.com/pulumi/pulumi/issues/11000, this step causes spurious errors.
# - name: Set up DotNet ${{ fromJson(inputs.version-set).dotnet }}
# uses: actions/setup-dotnet@v2
# with:
# dotnet-version: ${{ fromJson(inputs.version-set).dotnet }}
- name: Set up DotNet ${{ fromJson(inputs.version-set).dotnet }}
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
with:
dotnet-version: ${{ fromJson(inputs.version-set).dotnet }}
dotnet-quality: ga
- run: mkdir -p "${{ runner.temp }}/opt/pulumi/nuget"
- name: Add NuGet packages as a local NuGet source
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-run-test.yml
Expand Up @@ -155,11 +155,11 @@ jobs:
python-version: ${{ fromJson(inputs.version-set).python }}
cache: pip
cache-dependency-path: sdk/python/requirements.txt
# TODO: https://github.com/pulumi/pulumi/issues/11000, this step causes spurious errors.
# - name: Set up DotNet ${{ fromJson(inputs.version-set).dotnet }}
# uses: actions/setup-dotnet@v2
# with:
# dotnet-version: ${{ fromJson(inputs.version-set).dotnet }}
- name: Set up DotNet ${{ fromJson(inputs.version-set).dotnet }}
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
with:
dotnet-version: ${{ fromJson(inputs.version-set).dotnet }}
dotnet-quality: ga
- name: Set up Node ${{ fromJson(inputs.version-set).nodejs }}
uses: actions/setup-node@v3
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci-test-docs-generation.yml
Expand Up @@ -46,11 +46,11 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: 3.9.x # TODO(friel) use version_set
# TODO: https://github.com/pulumi/pulumi/issues/11000, this step causes spurious errors.
# - name: Set up DotNet
# uses: actions/setup-dotnet@v2
# with:
# dotnet-version: 6.0.x # TODO(friel) use version_set
- name: Set up DotNet
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
with:
dotnet-version: 6.0.x # TODO(friel) use version_set
dotnet-quality: ga
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@v1.0.1
- name: Check out source code
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Expand Up @@ -83,12 +83,12 @@ jobs:
if: ${{ matrix.language == 'python' }}
run: |
python -m pip install --upgrade pip requests wheel urllib3 chardet twine
# TODO: https://github.com/pulumi/pulumi/issues/11000, this step causes spurious errors.
# - name: Set up DotNet ${{ fromJson(inputs.version-set).dotnet }}
# if: ${{ matrix.language == 'dotnet' }}
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: ${{ fromJson(inputs.version-set).dotnet }}
- name: Set up DotNet ${{ fromJson(inputs.version-set).dotnet }}
if: ${{ matrix.language == 'dotnet' }}
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
with:
dotnet-version: ${{ fromJson(inputs.version-set).dotnet }}
dotnet-quality: ga
- name: Set up Node ${{ fromJson(inputs.version-set).nodejs }}
if: ${{ matrix.language == 'nodejs' }}
uses: actions/setup-node@v3
Expand Down
4 changes: 2 additions & 2 deletions scripts/get-job-matrix.py
Expand Up @@ -95,15 +95,15 @@ class MakefileTest(TypedDict):

MINIMUM_SUPPORTED_VERSION_SET = {
"name": "minimum",
"dotnet": "6.0.x",
"dotnet": "6",
"go": "1.18.x",
"nodejs": "14.x",
"python": "3.9.x",
}

CURRENT_VERSION_SET = {
"name": "current",
"dotnet": "6.0.x",
"dotnet": "7",
"go": "1.19.x",
"nodejs": "19.x",
"python": "3.10.x",
Expand Down

0 comments on commit 5c1c462

Please sign in to comment.