From 15c47aa709d3ceb8c64f21102d297fe2bce80377 Mon Sep 17 00:00:00 2001 From: o2bionics Date: Sat, 16 Jul 2022 18:10:49 +0000 Subject: [PATCH 1/9] fix(issue-393): update azure-pipelines.yml for azure pipelines --- build/azure-devops/auth-api/azure-pipelines.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/build/azure-devops/auth-api/azure-pipelines.yml b/build/azure-devops/auth-api/azure-pipelines.yml index fbb3f7b7..c367e33c 100644 --- a/build/azure-devops/auth-api/azure-pipelines.yml +++ b/build/azure-devops/auth-api/azure-pipelines.yml @@ -9,8 +9,6 @@ trigger: include: - src/Services/auth -jobs: - steps: - script: echo Hello, world! displayName: 'Run a one-line script' From 9a97e66bd1e4e469d3ed36390005a183b5eb183a Mon Sep 17 00:00:00 2001 From: o2bionics Date: Sat, 16 Jul 2022 18:16:12 +0000 Subject: [PATCH 2/9] fix(issue-393): update azure-pipelines.yml for azure pipelines --- .../azure-devops/auth-api/azure-pipelines.yml | 30 +++++++++++++++---- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/build/azure-devops/auth-api/azure-pipelines.yml b/build/azure-devops/auth-api/azure-pipelines.yml index c367e33c..9e0c26e8 100644 --- a/build/azure-devops/auth-api/azure-pipelines.yml +++ b/build/azure-devops/auth-api/azure-pipelines.yml @@ -1,5 +1,13 @@ name: auth-api +variables: + solution: 'src/Services/auth/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + +pool: + vmImage: 'windows-latest' + trigger: branches: include: @@ -10,10 +18,20 @@ trigger: - src/Services/auth steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' +- task: NuGetToolInstaller@1 + +- task: NuGetCommand@2 + inputs: + restoreSolution: '$(solution)' + +- task: VSBuild@1 + inputs: + solution: '$(solution)' + msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"' + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' -- script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' \ No newline at end of file +- task: VSTest@2 + inputs: + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' From 2e2b0e24d4c7b2cfda583ea725c07fd93854b6cc Mon Sep 17 00:00:00 2001 From: o2bionics Date: Sat, 16 Jul 2022 18:25:47 +0000 Subject: [PATCH 3/9] fix(issue-393): update azure-pipelines.yml for azure pipelines --- .../azure-devops/auth-api/azure-pipelines.yml | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/build/azure-devops/auth-api/azure-pipelines.yml b/build/azure-devops/auth-api/azure-pipelines.yml index 9e0c26e8..ba8a14cb 100644 --- a/build/azure-devops/auth-api/azure-pipelines.yml +++ b/build/azure-devops/auth-api/azure-pipelines.yml @@ -1,21 +1,19 @@ -name: auth-api -variables: - solution: 'src/Services/auth/*.sln' - buildPlatform: 'Any CPU' - buildConfiguration: 'Release' +# ASP.NET Core (.NET Framework) +# Build and test ASP.NET Core projects targeting the full .NET Framework. +# Add steps that publish symbols, save build artifacts, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core + +trigger: +- dev pool: vmImage: 'windows-latest' -trigger: - branches: - include: - - master - - dev - paths: - include: - - src/Services/auth +variables: + solution: 'src/Services/auth/**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' steps: - task: NuGetToolInstaller@1 From 2c66c1def615389f171a45b24b8f25efac3e0fcd Mon Sep 17 00:00:00 2001 From: o2bionics Date: Sun, 17 Jul 2022 06:56:07 +0000 Subject: [PATCH 4/9] fix(issue-393): update azure-pipelines.yml for azure pipelines --- build/azure-devops/auth-api/azure-pipelines.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/build/azure-devops/auth-api/azure-pipelines.yml b/build/azure-devops/auth-api/azure-pipelines.yml index ba8a14cb..6dd75845 100644 --- a/build/azure-devops/auth-api/azure-pipelines.yml +++ b/build/azure-devops/auth-api/azure-pipelines.yml @@ -1,14 +1,9 @@ -# ASP.NET Core (.NET Framework) -# Build and test ASP.NET Core projects targeting the full .NET Framework. -# Add steps that publish symbols, save build artifacts, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core - trigger: - dev pool: - vmImage: 'windows-latest' + vmImage: ubuntu-latest # This is the default if you don't specify a pool or vmImage. variables: solution: 'src/Services/auth/**/*.sln' From 86aa3719050e46fa5d437201802351bc8f4fbf1c Mon Sep 17 00:00:00 2001 From: o2bionics Date: Sun, 17 Jul 2022 06:58:08 +0000 Subject: [PATCH 5/9] fix(issue-393): update azure-pipelines.yml for azure pipelines --- build/azure-devops/auth-api/azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/azure-devops/auth-api/azure-pipelines.yml b/build/azure-devops/auth-api/azure-pipelines.yml index 6dd75845..18e8c638 100644 --- a/build/azure-devops/auth-api/azure-pipelines.yml +++ b/build/azure-devops/auth-api/azure-pipelines.yml @@ -2,7 +2,8 @@ trigger: - dev -pool: +pool: + name: 'Azure Pipelines' vmImage: ubuntu-latest # This is the default if you don't specify a pool or vmImage. variables: From 5eb9fb214e6239eb607e09ebee96c0a338fa6675 Mon Sep 17 00:00:00 2001 From: o2bionics Date: Sun, 17 Jul 2022 07:05:18 +0000 Subject: [PATCH 6/9] fix(issue-393): update azure-pipelines.yml for azure pipelines --- build/azure-devops/auth-api/azure-pipelines.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build/azure-devops/auth-api/azure-pipelines.yml b/build/azure-devops/auth-api/azure-pipelines.yml index 18e8c638..d1242d59 100644 --- a/build/azure-devops/auth-api/azure-pipelines.yml +++ b/build/azure-devops/auth-api/azure-pipelines.yml @@ -2,9 +2,11 @@ trigger: - dev -pool: - name: 'Azure Pipelines' - vmImage: ubuntu-latest # This is the default if you don't specify a pool or vmImage. +pool: + name: Azure Pipelines + demands: + - msbuild + - visualstudio variables: solution: 'src/Services/auth/**/*.sln' From 5190a7daa5271d5e38a5913fec3e7218a79a38de Mon Sep 17 00:00:00 2001 From: o2bionics Date: Sun, 17 Jul 2022 07:43:03 +0000 Subject: [PATCH 7/9] fix(issue-393): update azure-pipelines.yml for azure pipelines --- build/azure-devops/auth-api/azure-pipelines.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build/azure-devops/auth-api/azure-pipelines.yml b/build/azure-devops/auth-api/azure-pipelines.yml index d1242d59..36280620 100644 --- a/build/azure-devops/auth-api/azure-pipelines.yml +++ b/build/azure-devops/auth-api/azure-pipelines.yml @@ -2,12 +2,6 @@ trigger: - dev -pool: - name: Azure Pipelines - demands: - - msbuild - - visualstudio - variables: solution: 'src/Services/auth/**/*.sln' buildPlatform: 'Any CPU' From 929911a0a2872487fd014efd9f13f60c7eacf9c1 Mon Sep 17 00:00:00 2001 From: o2bionics Date: Sun, 17 Jul 2022 07:44:16 +0000 Subject: [PATCH 8/9] fix(issue-393): update azure-pipelines.yml for azure pipelines --- build/azure-devops/auth-api/azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/azure-devops/auth-api/azure-pipelines.yml b/build/azure-devops/auth-api/azure-pipelines.yml index 36280620..a61f1022 100644 --- a/build/azure-devops/auth-api/azure-pipelines.yml +++ b/build/azure-devops/auth-api/azure-pipelines.yml @@ -2,6 +2,8 @@ trigger: - dev +pool: Default + variables: solution: 'src/Services/auth/**/*.sln' buildPlatform: 'Any CPU' From 5296208310e81fe51c0eaa992a4238f7e06ad6ff Mon Sep 17 00:00:00 2001 From: Denis Prokhorchik Date: Sun, 31 Jul 2022 21:50:47 +0300 Subject: [PATCH 9/9] feat(issue-403): add submodule with sdk - o2.toolkit --- .gitmodules | 3 +++ src/SDKs/O2.Toolkit | 1 + 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 src/SDKs/O2.Toolkit diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..a9c6c5a9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "src/SDKs/O2.Toolkit"] + path = src/SDKs/O2.Toolkit + url = https://github.com/O2-Bionics/O2.Toolkit.git diff --git a/src/SDKs/O2.Toolkit b/src/SDKs/O2.Toolkit new file mode 160000 index 00000000..56eabd87 --- /dev/null +++ b/src/SDKs/O2.Toolkit @@ -0,0 +1 @@ +Subproject commit 56eabd87622d297571e024333df1324c46a6e3b9