Skip to content

Commit

Permalink
Merge pull request #1147 from TelegramBots/develop
Browse files Browse the repository at this point in the history
Release v19.0.0-preview.1
  • Loading branch information
tuscen committed Dec 3, 2022
2 parents ad9dfc2 + 75828ca commit 70dd0c3
Show file tree
Hide file tree
Showing 376 changed files with 4,148 additions and 3,283 deletions.
12 changes: 6 additions & 6 deletions .azure-pipelines/ci.yml
Expand Up @@ -29,12 +29,12 @@ stages:
displayName: Install .NET SDK
inputs:
packageType: sdk
version: 6.0.x
version: $(netSdkVersion)
- pwsh: >
dotnet build
dotnet build
--configuration $(buildConfiguration)
-p:Version=$(ciVersion)
-p:CI_EMBED_SYMBOLS=true
-p:CI_EMBED_SYMBOLS=true
$(projectPath)
displayName: Build project with CI version
- pwsh: >
Expand All @@ -57,15 +57,15 @@ stages:
buildConfiguration: $(buildConfiguration)
projects: $(unitTestsProject)
strategies:
- Ubuntu: ubuntu-20.04
- Ubuntu: ubuntu-22.04
- stage: PublishArtifacts
dependsOn: Build
displayName: 📤 Publish artifacts
jobs:
- job: PublishArtifacts
displayName: Publish artifacts
pool:
vmImage: $(vmImage)
vmImage: ubuntu-22.04
steps:
- checkout: none
- download: current
Expand All @@ -74,7 +74,7 @@ stages:
displayName: Install .NET sdk
inputs:
packageType: sdk
version: 6.0.x
version: $(netSdkVersion)
- task: NuGetAuthenticate@0
displayName: 'NuGet Authenticate'
- task: NuGetCommand@2
Expand Down
38 changes: 0 additions & 38 deletions .azure-pipelines/default-pipeline.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .azure-pipelines/develop-pipeline.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .azure-pipelines/full-integration-tests.yml
@@ -0,0 +1,16 @@
trigger: none
pr: none

variables:
- template: variables.yml

stages:
- stage: IntegrationTests
displayName: 🧪 Full set of integration tests
jobs:
- template: jobs/run-integration-tests.yml
parameters:
vmImage: $(vmImage)
buildConfiguration: $(buildConfiguration)
projects: $(integrationTestsProject)
netSdkVersion: $(netSdkVersion)
9 changes: 5 additions & 4 deletions .azure-pipelines/jobs/run-integration-tests.yml
Expand Up @@ -3,6 +3,7 @@ parameters:
buildConfiguration: ''
projects: ''
arguments: ''
netSdkVersion: ''

jobs:
- job: IntegrationTests
Expand All @@ -14,7 +15,7 @@ jobs:
displayName: Install .NET SDK
inputs:
packageType: sdk
version: 6.0.x
version: ${{ parameters.netSdkVersion }}
- pwsh: >
dotnet test
--verbosity normal
Expand All @@ -26,6 +27,6 @@ jobs:
- task: PublishTestResults@2
displayName: Publish test results
inputs:
testResultsFormat: VSTest
testResultsFiles: testresults.trx
configuration: ${{ parameters.buildConfiguration }}
testResultsFormat: VSTest
testResultsFiles: testresults.trx
configuration: ${{ parameters.buildConfiguration }}
3 changes: 2 additions & 1 deletion .azure-pipelines/jobs/run-unit-tests.yml
Expand Up @@ -2,6 +2,7 @@ parameters:
buildConfiguration: ''
projects: ''
strategies: []
netSdkVersion: ''

jobs:
- job: UnitTest
Expand All @@ -19,7 +20,7 @@ jobs:
displayName: Install .NET SDK
inputs:
packageType: sdk
version: 6.0.x
version: ${{ parameters.netSdkVersion }}
- pwsh: >
dotnet test
--verbosity normal
Expand Down
39 changes: 0 additions & 39 deletions .azure-pipelines/manual-pipeline.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .azure-pipelines/non-interactive-integration-tests.yml
@@ -0,0 +1,17 @@
trigger: none
pr: none

variables:
- template: variables.yml

stages:
- stage: IntegrationTests
displayName: 🧪 Non-interactive integration tests
jobs:
- template: jobs/run-integration-tests.yml
parameters:
vmImage: $(vmImage)
buildConfiguration: $(buildConfiguration)
projects: $(integrationTestsProject)
netSdkVersion: $(netSdkVersion)
arguments: --filter "Category!=Interactive"
2 changes: 1 addition & 1 deletion .azure-pipelines/release-pipeline.yml
Expand Up @@ -24,7 +24,7 @@ steps:
displayName: Install .NET sdk
inputs:
packageType: sdk
version: 6.0.x
version: $(netSdkVersion)
- pwsh: >
dotnet build
--configuration $(buildConfiguration)
Expand Down
8 changes: 5 additions & 3 deletions .azure-pipelines/variables.yml
@@ -1,9 +1,9 @@
variables:
- group: Integration Tests Variables
- name: versionPrefix
value: 18.0.0
value: 19.0.0
- name: versionSuffix
value: ''
value: 'preview.1'
- name: ciVersionSuffix
value: ci.$(Build.BuildId)+git.commit.$(Build.SourceVersion)
- name: isPreRelease
Expand All @@ -18,10 +18,12 @@ variables:
value: $(versionPrefix)-$(versionSuffix).$(ciVersionSuffix)
${{ else }}:
value: $(versionPrefix)-$(ciVersionSuffix)
- name: netSdkVersion
value: 7.0.x
- name: buildConfiguration
value: Release
- name: vmImage
value: ubuntu-20.04
value: ubuntu-22.04
- name: projectPath
value: src/Telegram.Bot/Telegram.Bot.csproj
- name: internalFeedName
Expand Down
19 changes: 19 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
target-branch: "develop"

- package-ecosystem: "nuget" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
target-branch: "develop"

0 comments on commit 70dd0c3

Please sign in to comment.