diff --git a/dotnet-sdk/allow-prerelease/global.json b/dotnet-sdk/allow-prerelease/global.json new file mode 100644 index 0000000..683042f --- /dev/null +++ b/dotnet-sdk/allow-prerelease/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "8.0.300", + "allowPrerelease": true + } +} diff --git a/dotnet-sdk/basic/global.json b/dotnet-sdk/basic/global.json new file mode 100644 index 0000000..2e1d700 --- /dev/null +++ b/dotnet-sdk/basic/global.json @@ -0,0 +1,5 @@ +{ + "sdk": { + "version": "8.0.300" + } +} diff --git a/tests/smoke-dotnet-sdk-prerelease.yaml b/tests/smoke-dotnet-sdk-prerelease.yaml new file mode 100644 index 0000000..16becae --- /dev/null +++ b/tests/smoke-dotnet-sdk-prerelease.yaml @@ -0,0 +1,125 @@ +input: + job: + package-manager: dotnet_sdk + allowed-updates: + - update-type: all + ignore-conditions: + - dependency-name: dotnet-sdk + source: smoke-dotnet-sdk.yaml + version-requirement: '>9.0.100.pre.rc.2.24474.11' + source: + provider: github + repo: dependabot/smoke-tests + directory: dotnet-sdk/allow-prerelease + commit: 366835275fdabbd856e7fdf91d450cc9fc81db84 + credentials: + - host: github.com + password: $LOCAL_GITHUB_ACCESS_TOKEN + type: git_source + username: x-access-token +output: + - type: update_dependency_list + expect: + data: + dependencies: + - name: dotnet-sdk + requirements: + - file: global.json + groups: [] + requirement: 8.0.300 + source: null + version: 8.0.300 + dependency_files: + - /dotnet-sdk/allow-prerelease/global.json + - type: create_pull_request + expect: + data: + base-commit-sha: 366835275fdabbd856e7fdf91d450cc9fc81db84 + dependencies: + - name: dotnet-sdk + previous-requirements: + - file: global.json + groups: [] + requirement: 8.0.300 + source: null + previous-version: 8.0.300 + requirements: + - file: global.json + groups: [] + requirement: 9.0.100.pre.rc.2.24474.11 + source: null + version: 9.0.100.pre.rc.2.24474.11 + directory: /dotnet-sdk/allow-prerelease + updated-dependency-files: + - content: | + { + "sdk": { + "version": "9.0.100.pre.rc.2.24474.11", + "allowPrerelease": true + } + } + content_encoding: utf-8 + deleted: false + directory: /dotnet-sdk/allow-prerelease + name: global.json + operation: update + support_file: false + type: file + pr-title: Bump dotnet-sdk from 8.0.300 to 9.0.100.pre.rc.2.24474.11 in /dotnet-sdk/allow-prerelease + pr-body: | + Bumps [dotnet-sdk](https://github.com/dotnet/sdk) from 8.0.300 to 9.0.100.pre.rc.2.24474.11. +
+ Release notes +

Sourced from dotnet-sdk's releases.

+
+

.NET 9.0 RC 2

+

Release

+

.NET 9.0 RC 1

+

Release

+

.NET 9.0 Preview 7

+

Release

+

.NET 9.0 Preview 6

+

Release

+

.NET 9.0 Preview 5

+

Release

+

.NET 9.0 Preview 4

+

Release

+

.NET 9.0 Preview 3

+

Release

+

.NET 9.0 Preview 2

+

[Release[(https://github.com/dotnet/core/releases/tag/v9.0.0-preview.2)

+

.NET 9 Preview 1

+

Release

+

.NET 8.0.8

+

Release

+

.NET 8.0.7

+

Release

+
+
+
+ Commits + +
+
+ commit-message: |- + Bump dotnet-sdk in /dotnet-sdk/allow-prerelease + + Bumps [dotnet-sdk](https://github.com/dotnet/sdk) from 8.0.300 to 9.0.100.pre.rc.2.24474.11. + - [Release notes](https://github.com/dotnet/sdk/releases) + - [Commits](https://github.com/dotnet/sdk/compare/v8.0.300...v9.0.100-rc.2.24474.11) + - type: mark_as_processed + expect: + data: + base-commit-sha: 366835275fdabbd856e7fdf91d450cc9fc81db84 diff --git a/tests/smoke-dotnet-sdk.yaml b/tests/smoke-dotnet-sdk.yaml new file mode 100644 index 0000000..6061a99 --- /dev/null +++ b/tests/smoke-dotnet-sdk.yaml @@ -0,0 +1,106 @@ +input: + job: + package-manager: dotnet_sdk + allowed-updates: + - update-type: all + ignore-conditions: + - dependency-name: dotnet-sdk + source: smoke-dotnet-sdk.yaml + version-requirement: '>8.0.403' + source: + provider: github + repo: dependabot/smoke-tests + directory: dotnet-sdk/basic + commit: 366835275fdabbd856e7fdf91d450cc9fc81db84 + credentials: + - host: github.com + password: $LOCAL_GITHUB_ACCESS_TOKEN + type: git_source + username: x-access-token +output: + - type: update_dependency_list + expect: + data: + dependencies: + - name: dotnet-sdk + requirements: + - file: global.json + groups: [] + requirement: 8.0.300 + source: null + version: 8.0.300 + dependency_files: + - /dotnet-sdk/basic/global.json + - type: create_pull_request + expect: + data: + base-commit-sha: 366835275fdabbd856e7fdf91d450cc9fc81db84 + dependencies: + - name: dotnet-sdk + previous-requirements: + - file: global.json + groups: [] + requirement: 8.0.300 + source: null + previous-version: 8.0.300 + requirements: + - file: global.json + groups: [] + requirement: 8.0.403 + source: null + version: 8.0.403 + directory: /dotnet-sdk/basic + updated-dependency-files: + - content: | + { + "sdk": { + "version": "8.0.403" + } + } + content_encoding: utf-8 + deleted: false + directory: /dotnet-sdk/basic + name: global.json + operation: update + support_file: false + type: file + pr-title: Bump dotnet-sdk from 8.0.300 to 8.0.403 in /dotnet-sdk/basic + pr-body: | + Bumps [dotnet-sdk](https://github.com/dotnet/sdk) from 8.0.300 to 8.0.403. +
+ Release notes +

Sourced from dotnet-sdk's releases.

+
+

.NET 8.0.8

+

Release

+

.NET 8.0.7

+

Release

+
+
+
+ Commits + +
+
+ commit-message: |- + Bump dotnet-sdk from 8.0.300 to 8.0.403 in /dotnet-sdk/basic + + Bumps [dotnet-sdk](https://github.com/dotnet/sdk) from 8.0.300 to 8.0.403. + - [Release notes](https://github.com/dotnet/sdk/releases) + - [Commits](https://github.com/dotnet/sdk/compare/v8.0.300...v8.0.403) + - type: mark_as_processed + expect: + data: + base-commit-sha: 366835275fdabbd856e7fdf91d450cc9fc81db84