From ff5748de5947a5612aef2541ebd3d27e3600e43f Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Sun, 15 Nov 2020 12:47:32 +0530 Subject: [PATCH 001/118] changes in readme file --- README.md | 2 +- test | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 test diff --git a/README.md b/README.md index 80ef5ab6193..96995a44d82 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ the rights to use your contribution. For details, visit https://cla.microsoft.co When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. - +first This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. diff --git a/test b/test new file mode 100644 index 00000000000..16b14f5da9e --- /dev/null +++ b/test @@ -0,0 +1 @@ +test file From 8a7a200fdbc94879695a078e0ec26d4d09f8cacc Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 24 Nov 2020 08:39:52 +0530 Subject: [PATCH 002/118] Add files via upload --- azure-pipelines.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000000..793bc6a6b3f --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,11 @@ +pool: + vmImage: ubuntu-latest +stages: + - stage: CI build stage + jobs: + - job : CIjob + steps: + - script: dotnet restore + displayName: restore task + - script: dotnet build + displayName: dotnet build task From 4a4063512254cb7b17e35296f2766b3cb0f827c0 Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 24 Nov 2020 08:43:07 +0530 Subject: [PATCH 003/118] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 793bc6a6b3f..2012b86e5f2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,11 +1,11 @@ pool: vmImage: ubuntu-latest stages: - - stage: CI build stage + - stage: CI-build-stage jobs: - job : CIjob steps: - script: dotnet restore - displayName: restore task + displayName: restore-task - script: dotnet build - displayName: dotnet build task + displayName: dotnet-build-task From 6145e4b6510dc5ea9f47d9f5cef537f863e645ec Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 24 Nov 2020 08:44:18 +0530 Subject: [PATCH 004/118] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2012b86e5f2..9008b950fb4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,7 @@ pool: vmImage: ubuntu-latest stages: - - stage: CI-build-stage + - stage: CIbuildstage jobs: - job : CIjob steps: From 1b04191f8837837dfd8187ac1ac5659e7bd60931 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 18 Feb 2021 17:00:41 +0530 Subject: [PATCH 005/118] firstcommit --- test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.txt diff --git a/test.txt b/test.txt new file mode 100644 index 00000000000..9daeafb9864 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +test From e72f62d1309a313cf0f5a128b3d97184ab778836 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Fri, 19 Feb 2021 07:44:30 +0530 Subject: [PATCH 006/118] commit - gameapp-1234 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 96995a44d82..0723d26c5fd 100644 --- a/README.md +++ b/README.md @@ -29,3 +29,4 @@ Privacy information can be found at https://privacy.microsoft.com/en-us/ Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise. +# test comment From ee51f6ef4354c32bdbc517a2c65713a46221f9b6 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Sat, 20 Feb 2021 08:52:02 +0530 Subject: [PATCH 007/118] second commit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0723d26c5fd..1cb316bd7ba 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,4 @@ Privacy information can be found at https://privacy.microsoft.com/en-us/ Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise. # test comment +# second comment From 008ea1e42a02457049425b17eabb4755ca9cc00d Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Sat, 20 Feb 2021 09:02:04 +0530 Subject: [PATCH 008/118] 3rd commit --- test.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test.txt b/test.txt index 9daeafb9864..a4936ba524f 100644 --- a/test.txt +++ b/test.txt @@ -1 +1,2 @@ test +line2 From 464e98ff8b21e8908e14232ac401ab5bd6f93f60 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Sun, 21 Feb 2021 08:39:58 +0530 Subject: [PATCH 009/118] updated yml file --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9008b950fb4..29b73ab5a47 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,3 +1,5 @@ +# script to create pipeline +# building dotnet application pool: vmImage: ubuntu-latest stages: From f5900cef927a4b055e8f38b14f226d2a6c1548d7 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Sun, 21 Feb 2021 09:07:53 +0530 Subject: [PATCH 010/118] added updates --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 29b73ab5a47..e34c8d9d748 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,5 +1,6 @@ # script to create pipeline # building dotnet application +# adding updates pool: vmImage: ubuntu-latest stages: From a0792f4a0409e1bca969815df663078d4d2151c2 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Mon, 22 Feb 2021 07:24:48 +0530 Subject: [PATCH 011/118] dev code --- main.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 00000000000..57c4c1017ff --- /dev/null +++ b/main.py @@ -0,0 +1 @@ +development code From 0669a8ed74987659e8b5b0e0fd8b0ab4956ddf15 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Tue, 23 Feb 2021 17:42:33 +0530 Subject: [PATCH 012/118] latest update --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 57c4c1017ff..9c4b3705783 100644 --- a/main.py +++ b/main.py @@ -1 +1,2 @@ development code +update From 6c24181486d422dc6695e91ca9a440cfd00f23ed Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Wed, 24 Feb 2021 07:54:55 +0530 Subject: [PATCH 013/118] blugreen deployment update --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 9c4b3705783..30e11d539c7 100644 --- a/main.py +++ b/main.py @@ -1,2 +1,3 @@ development code update +blugreen deployment From 95c9b6d6041cbb56c0dae36cc6de914f41303151 Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Fri, 5 Mar 2021 08:08:11 +0530 Subject: [PATCH 014/118] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e34c8d9d748..b7739bfbb7d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,3 +12,4 @@ stages: displayName: restore-task - script: dotnet build displayName: dotnet-build-task + \ No newline at end of file From 3c8bde3198d26b1337ea208359a6e1feaa90b1ec Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Sun, 14 Mar 2021 08:50:59 +0530 Subject: [PATCH 015/118] CS-3 --- onelinestore | 1 + 1 file changed, 1 insertion(+) create mode 100644 onelinestore diff --git a/onelinestore b/onelinestore new file mode 100644 index 00000000000..3df7145c846 --- /dev/null +++ b/onelinestore @@ -0,0 +1 @@ +onelinestore payments From bd4dc28a9eac3a20411221d7e88efa45da12e29b Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Tue, 15 Jun 2021 17:18:49 +0530 Subject: [PATCH 016/118] test commit --- test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test b/test index 16b14f5da9e..6d5176fd668 100644 --- a/test +++ b/test @@ -1 +1 @@ -test file +tset test file From d076132308964beda9470ccb81d479729cbe3948 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Wed, 16 Jun 2021 08:49:17 +0530 Subject: [PATCH 017/118] added first file --- firstfile.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 firstfile.txt diff --git a/firstfile.txt b/firstfile.txt new file mode 100644 index 00000000000..814f4a42292 --- /dev/null +++ b/firstfile.txt @@ -0,0 +1,2 @@ +one +two From 01df80df9a420b169fd7002b9dc507145d1cfe25 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Wed, 16 Jun 2021 09:10:13 +0530 Subject: [PATCH 018/118] 2nd commit --- firstfile.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/firstfile.txt b/firstfile.txt index 814f4a42292..4cb29ea38f7 100644 --- a/firstfile.txt +++ b/firstfile.txt @@ -1,2 +1,3 @@ one two +three From b5838cd0a632e54172f6d45d1a5178599e7cd489 Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Sun, 17 Oct 2021 12:45:18 +0530 Subject: [PATCH 019/118] Update Index.cshtml --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index f7c4c886074..6ca495fbb6d 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,6 +6,7 @@
Space Game

An example site for learning

+

SpaceGame Prod

@@ -267,4 +268,4 @@ - \ No newline at end of file + From 985c595a816d85eb6138a2a6928b6ecd365560d4 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Mon, 18 Oct 2021 08:52:27 +0530 Subject: [PATCH 020/118] updated index.html region --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index 6ca495fbb6d..00d4a4fb55d 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,7 +6,7 @@
Space Game

An example site for learning

-

SpaceGame Prod

+

SpaceGame Prod-apac

From cad721057c908cb8e75f3bc94add4b4941c921a0 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 28 Oct 2021 08:51:19 +0530 Subject: [PATCH 021/118] update --- azure-pipelines.yml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b7739bfbb7d..2504a8a272e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,15 +1,27 @@ -# script to create pipeline -# building dotnet application -# adding updates -pool: - vmImage: ubuntu-latest +# Creating build pipeline for dotnet app stages: - - stage: CIbuildstage + - stage: Continuos-integration + displayName: Continuos-integration jobs: - - job : CIjob + - job: dotnet-build + displayName: dotnet-build-job steps: - script: dotnet restore - displayName: restore-task + displayName: restore - script: dotnet build - displayName: dotnet-build-task - \ No newline at end of file + displayName: build + - script: dotnet test + displayName: test + - script: dotnet publish + displayName: publish artifact + + + + + + + + + + + From 00397cf72ce168bf032617d000683e3ecb8a3d61 Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Thu, 28 Oct 2021 08:53:17 +0530 Subject: [PATCH 022/118] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2504a8a272e..5801291ce50 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -14,6 +14,7 @@ stages: displayName: test - script: dotnet publish displayName: publish artifact + From 69009bb7f4f3a5500566c707e0eac2c31192159b Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 28 Oct 2021 08:54:57 +0530 Subject: [PATCH 023/118] update --- azure-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2504a8a272e..7e4bb561f4c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,10 +1,10 @@ # Creating build pipeline for dotnet app stages: - - stage: Continuos-integration - displayName: Continuos-integration + - stage: Continuosintegration + displayName: Continuosintegration jobs: - - job: dotnet-build - displayName: dotnet-build-job + - job: dotnetbuild + displayName: dotnetbuildjob steps: - script: dotnet restore displayName: restore From a482d9fdc37183b8446a5ffcd61e4ed57c58c162 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 10 Feb 2022 08:18:07 +0530 Subject: [PATCH 024/118] 1st commit- feature51 --- feature51.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 feature51.txt diff --git a/feature51.txt b/feature51.txt new file mode 100644 index 00000000000..87b48b23f1c --- /dev/null +++ b/feature51.txt @@ -0,0 +1 @@ +update new code From 56285a83afc33795f0789405277527ae754046f2 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 10 Feb 2022 08:20:37 +0530 Subject: [PATCH 025/118] 2nd commit --- test | 1 + 1 file changed, 1 insertion(+) diff --git a/test b/test index 6d5176fd668..de45000c397 100644 --- a/test +++ b/test @@ -1 +1,2 @@ tset test file +2nd line \ No newline at end of file From 6af605d92e592a54916219c9c49b4f9d30c9f72d Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 10 Feb 2022 08:35:47 +0530 Subject: [PATCH 026/118] 2nd update --- feature51.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/feature51.txt b/feature51.txt index 87b48b23f1c..1e0d571afd4 100644 --- a/feature51.txt +++ b/feature51.txt @@ -1 +1,2 @@ update new code +2nd update From 76126534b14508e68c8afc1952284cfcd7c74cca Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Fri, 11 Feb 2022 08:17:37 +0530 Subject: [PATCH 027/118] space100-new delivery feature --- space100.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 space100.py diff --git a/space100.py b/space100.py new file mode 100644 index 00000000000..de31e39cb4c --- /dev/null +++ b/space100.py @@ -0,0 +1 @@ +new delivery feature From 8c4d8623be57e7e713d0ad9e4e5108ef5eb9c8fa Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Fri, 11 Feb 2022 08:38:46 +0530 Subject: [PATCH 028/118] googlepay-payment option --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index 00d4a4fb55d..ee9f0976d93 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,7 +6,7 @@
Space Game

An example site for learning

-

SpaceGame Prod-apac

+

SpaceGame Staging env

From 883840c225b7c5370a5e5a220478224f5c3f29e7 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Fri, 11 Feb 2022 16:02:31 +0530 Subject: [PATCH 029/118] 2nd --- space100.py | 1 + 1 file changed, 1 insertion(+) diff --git a/space100.py b/space100.py index de31e39cb4c..9d21cb1c40d 100644 --- a/space100.py +++ b/space100.py @@ -1 +1,2 @@ new delivery feature +hete From 7eafe908855d35126c8d2a2ca051d4da99590ef5 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Tue, 15 Feb 2022 08:45:12 +0530 Subject: [PATCH 030/118] update --- test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test b/test index de45000c397..f1e509554e5 100644 --- a/test +++ b/test @@ -1,2 +1,3 @@ tset test file -2nd line \ No newline at end of file +2nd line +3rdline \ No newline at end of file From c1b89dbe0388ac586f4d8f6dd15f18cba737b914 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Tue, 15 Feb 2022 08:48:51 +0530 Subject: [PATCH 031/118] update --- test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test b/test index f1e509554e5..3b41c2da038 100644 --- a/test +++ b/test @@ -1,3 +1,4 @@ tset test file 2nd line -3rdline \ No newline at end of file +3rdline +4th line \ No newline at end of file From 803993dae759fa37660c73826c9352015abc6fb8 Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Fri, 25 Feb 2022 12:10:49 +0530 Subject: [PATCH 032/118] Create dotnet.yml --- .github/workflows/dotnet.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 00000000000..a73cc8bcacc --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,25 @@ +name: .NET + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 5.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal From 60d5152bf6460d24ff9e2da3aa0ae4fdf212dcac Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Fri, 25 Feb 2022 12:24:53 +0530 Subject: [PATCH 033/118] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/master_webappprod567.yml | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .github/workflows/master_webappprod567.yml diff --git a/.github/workflows/master_webappprod567.yml b/.github/workflows/master_webappprod567.yml new file mode 100644 index 00000000000..bf1e0e11f23 --- /dev/null +++ b/.github/workflows/master_webappprod567.yml @@ -0,0 +1,57 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions + +name: Build and deploy ASP.Net Core app to Azure Web App - webappprod567 + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '5.0.x' + include-prerelease: true + + - name: Build with dotnet + run: dotnet build --configuration Release + + - name: dotnet publish + run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp + + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v2 + with: + name: .net-app + path: ${{env.DOTNET_ROOT}}/myapp + + deploy: + runs-on: windows-latest + needs: build + environment: + name: 'Production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: .net-app + + - name: Deploy to Azure Web App + id: deploy-to-webapp + uses: azure/webapps-deploy@v2 + with: + app-name: 'webappprod567' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_FC47892C12B045C3A3159F86723A5C42 }} + package: . From 5cb34a966703e7aef463ee076da9a1417c2cae2e Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 24 Mar 2022 18:22:40 +0530 Subject: [PATCH 034/118] first commit --- featurespace.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 featurespace.txt diff --git a/featurespace.txt b/featurespace.txt new file mode 100644 index 00000000000..aa64f5843c6 --- /dev/null +++ b/featurespace.txt @@ -0,0 +1 @@ +feature code From 50dedd847e5d613d40e838d794b05b617e1dac01 Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 5 Apr 2022 18:52:30 +0530 Subject: [PATCH 035/118] Delete azure-pipelines.yml --- azure-pipelines.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index fd4a6c81a7c..00000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,28 +0,0 @@ -# Creating build pipeline for dotnet app -stages: - - stage: Continuosintegration - displayName: Continuosintegration - jobs: - - job: dotnetbuild - displayName: dotnetbuildjob - steps: - - script: dotnet restore - displayName: restore - - script: dotnet build - displayName: build - - script: dotnet test - displayName: test - - script: dotnet publish - displayName: publish artifact - - - - - - - - - - - - From 8c338f63911a6c299fd122b2754206b9895e3f37 Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 5 Apr 2022 18:53:07 +0530 Subject: [PATCH 036/118] Create azure-pipelines.yml --- azure-pipelines.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000000..fd58d8553fd --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,8 @@ +stages: + - stage: continuos-integration + jobs: + - job: build + steps: + - script: dotnet restore + - script: dotnet build + From 4bf740836b4d07cc4104941cccac6c0663779db5 Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 5 Apr 2022 18:54:46 +0530 Subject: [PATCH 037/118] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fd58d8553fd..6c43a535513 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,5 +1,5 @@ stages: - - stage: continuos-integration + - stage: continuosintegration jobs: - job: build steps: From 51415c6122ef74a6755279d2af76f38bcd003537 Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Thu, 7 Apr 2022 16:24:39 +0530 Subject: [PATCH 038/118] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6c43a535513..40941bdc9d9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,4 +5,16 @@ stages: steps: - script: dotnet restore - script: dotnet build + - script: dotnet publish + - stage: cd + jobs: + - job: deploy + steps: + - task: AzureRmWebAppDeployment@4 + inputs: + ConnectionType: 'AzureRM' + azureSubscription: 'Pay-As-You-Go(049cc0b9-2696-4e70-871b-4366be487c19)' + appType: 'webApp' + WebAppName: 'webapp378' + packageForLinux: '$(System.DefaultWorkingDirectory)/**/*.zip' \ No newline at end of file From ac0988854f28af7d56905498e4c381e5d207b68d Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Thu, 7 Apr 2022 16:31:51 +0530 Subject: [PATCH 039/118] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 40941bdc9d9..c9be0eb902b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,16 +5,26 @@ stages: steps: - script: dotnet restore - script: dotnet build - - script: dotnet publish + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' - stage: cd jobs: - job: deploy steps: + - task: DownloadBuildArtifacts@1 + inputs: + buildType: 'current' + downloadType: 'single' + artifactName: 'drop' + downloadPath: '$(System.ArtifactsDirectory)' - task: AzureRmWebAppDeployment@4 inputs: ConnectionType: 'AzureRM' azureSubscription: 'Pay-As-You-Go(049cc0b9-2696-4e70-871b-4366be487c19)' appType: 'webApp' WebAppName: 'webapp378' - packageForLinux: '$(System.DefaultWorkingDirectory)/**/*.zip' \ No newline at end of file + packageForLinux: '$(System.ArtifactsDirectory)/drop/*.zip' \ No newline at end of file From 39b97a606b0fcb8f4980dd55b537a9f46e706d4f Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Sat, 8 Oct 2022 07:24:35 +0530 Subject: [PATCH 040/118] Update Index.cshtml --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index ee9f0976d93..690e704856a 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,7 +6,7 @@
Space Game

An example site for learning

-

SpaceGame Staging env

+

SpaceGame Prod env

From c562090922a12bfbf16370edc8afb1d6bc48970e Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Sat, 8 Oct 2022 08:04:14 +0530 Subject: [PATCH 041/118] updated changes --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index 690e704856a..97b46063f84 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,7 +6,7 @@
Space Game

An example site for learning

-

SpaceGame Prod env

+

SpaceGame Prod env1

From 4026c96470c682314bd9426d94d6ea4be02631ef Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Fri, 14 Oct 2022 08:08:00 +0530 Subject: [PATCH 042/118] update --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index 97b46063f84..0a9dbac93c3 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,7 +6,7 @@
Space Game

An example site for learning

-

SpaceGame Prod env1

+

SpaceGame Prod env1-codeanalysis

From ccbd45ab6c6734107f8a4eed0cf0709261476415 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Sat, 29 Oct 2022 10:10:40 +0530 Subject: [PATCH 043/118] first commit --- test.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test.txt b/test.txt index a4936ba524f..95ee6a28784 100644 --- a/test.txt +++ b/test.txt @@ -1,2 +1,3 @@ test line2 +line3 From 1b1b86c0b2f08eb6b7786f88ccf3e6bcf7514b7d Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Sat, 29 Oct 2022 10:27:42 +0530 Subject: [PATCH 044/118] 2nd commit --- test.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test.txt b/test.txt index 95ee6a28784..9aa7ee942b4 100644 --- a/test.txt +++ b/test.txt @@ -1,3 +1,4 @@ test line2 line3 +line4 From 6440dcbdef2e6f8f39655d997a8de7018f32ae4a Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 24 Jan 2023 12:00:38 +0530 Subject: [PATCH 045/118] test33 --- test33 | 1 + 1 file changed, 1 insertion(+) create mode 100644 test33 diff --git a/test33 b/test33 new file mode 100644 index 00000000000..50019bbc773 --- /dev/null +++ b/test33 @@ -0,0 +1 @@ +test33 From 94679087eb9dcfb84cb6a6e2f6f8f39ffdaffe33 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Wed, 25 Jan 2023 14:28:45 +0530 Subject: [PATCH 046/118] action1 --- .github/workflows/one.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/workflows/one.yml diff --git a/.github/workflows/one.yml b/.github/workflows/one.yml new file mode 100644 index 00000000000..8681409c2d4 --- /dev/null +++ b/.github/workflows/one.yml @@ -0,0 +1,9 @@ +on: + push: + branches: + - main +jobs: + print_hello: + runs-on: ubuntu-latest + steps: + - run: echo "Hello World" From 134eacbab4d6c6d319c55115ce646644621986b4 Mon Sep 17 00:00:00 2001 From: muralikrishna188 <49935549+muralikrishna188@users.noreply.github.com> Date: Thu, 26 Jan 2023 08:59:30 +0530 Subject: [PATCH 047/118] Create dev.yml --- .github/workflows/dev.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/dev.yml diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml new file mode 100644 index 00000000000..bf986cdab47 --- /dev/null +++ b/.github/workflows/dev.yml @@ -0,0 +1,28 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: .NET + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal From 01ba9fd6feeaae62d207c88e5d1acb307ceb2fc1 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 26 Jan 2023 09:12:03 +0530 Subject: [PATCH 048/118] qa actions --- .github/workflows/qa.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/workflows/qa.yml diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml new file mode 100644 index 00000000000..1e918ffa4ef --- /dev/null +++ b/.github/workflows/qa.yml @@ -0,0 +1,9 @@ +on: + push: + branches: + - master +jobs: + print_hello: + runs-on: windows-2022 + steps: + - run: echo "test action workflow" \ No newline at end of file From a71ef0131d0cc522ccc21d70ddba76702e663100 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Tue, 21 Feb 2023 08:03:19 +0530 Subject: [PATCH 049/118] prod changes -v1 --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index 0a9dbac93c3..a6e94a4564e 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,7 +6,7 @@
Space Game

An example site for learning

-

SpaceGame Prod env1-codeanalysis

+

SpaceGame Prod app changes-Blue-prod

From 002749518465491ee76b65e3ea8b84dfad6d0209 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 23 Feb 2023 08:00:42 +0530 Subject: [PATCH 050/118] feature101-v1 --- feature101.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 feature101.py diff --git a/feature101.py b/feature101.py new file mode 100644 index 00000000000..1bb25e6447b --- /dev/null +++ b/feature101.py @@ -0,0 +1,3 @@ +1 line +2 line +3 line \ No newline at end of file From 638894658d52930c1fd23c2ca2959a84b92bb5e2 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 23 Feb 2023 08:12:00 +0530 Subject: [PATCH 051/118] feature102-v1 --- feature102.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 feature102.py diff --git a/feature102.py b/feature102.py new file mode 100644 index 00000000000..bed9ebb30a5 --- /dev/null +++ b/feature102.py @@ -0,0 +1,3 @@ +fourthline +fifthline +sixthline \ No newline at end of file From 7704e6556599e2463a4f920d4348f6f9f708e0ae Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 13 Apr 2023 07:50:35 +0530 Subject: [PATCH 052/118] main github actions --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000000..23133f5035d --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,10 @@ + +on: + push: + branches: + - main +jobs: + print_hello: + runs-on: ubuntu-latest + steps: + - run: echo "hello world" From 9714a8d8e0e0b8a8e55edbe726b6992a7732777f Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Fri, 21 Jul 2023 07:53:33 +0530 Subject: [PATCH 053/118] daily updates --- daily build update | 1 + 1 file changed, 1 insertion(+) create mode 100644 daily build update diff --git a/daily build update b/daily build update new file mode 100644 index 00000000000..f769219f95d --- /dev/null +++ b/daily build update @@ -0,0 +1 @@ +21st July 7:52 am \ No newline at end of file From 8c3bf37237beec0d2eea85ed5f4fc8cc47947f36 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Fri, 21 Jul 2023 08:04:53 +0530 Subject: [PATCH 054/118] daily update2 --- daily build update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daily build update b/daily build update index f769219f95d..faad6f52b17 100644 --- a/daily build update +++ b/daily build update @@ -1 +1,2 @@ -21st July 7:52 am \ No newline at end of file +21st July 7:52 am +21st July 8:04 am \ No newline at end of file From e562c8d529dd47837871524aa4d1d7c662ece183 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Fri, 21 Jul 2023 08:20:30 +0530 Subject: [PATCH 055/118] update3 --- daily build update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daily build update b/daily build update index faad6f52b17..66da29428da 100644 --- a/daily build update +++ b/daily build update @@ -1,2 +1,3 @@ 21st July 7:52 am -21st July 8:04 am \ No newline at end of file +21st July 8:04 am +third update \ No newline at end of file From c6b009e1ea8241fe14b4fb3ff7887f7b076ad19f Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Mon, 24 Jul 2023 14:38:12 +0530 Subject: [PATCH 056/118] test --- azure-pipelines.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index c9be0eb902b..00000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,30 +0,0 @@ -stages: - - stage: continuosintegration - jobs: - - job: build - steps: - - script: dotnet restore - - script: dotnet build - - task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'drop' - publishLocation: 'Container' - - - stage: cd - jobs: - - job: deploy - steps: - - task: DownloadBuildArtifacts@1 - inputs: - buildType: 'current' - downloadType: 'single' - artifactName: 'drop' - downloadPath: '$(System.ArtifactsDirectory)' - - task: AzureRmWebAppDeployment@4 - inputs: - ConnectionType: 'AzureRM' - azureSubscription: 'Pay-As-You-Go(049cc0b9-2696-4e70-871b-4366be487c19)' - appType: 'webApp' - WebAppName: 'webapp378' - packageForLinux: '$(System.ArtifactsDirectory)/drop/*.zip' \ No newline at end of file From 5fb920fb67da5dac4e00ebcdec095858a2e5e16a Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Mon, 24 Jul 2023 14:49:38 +0530 Subject: [PATCH 057/118] update --- azure-pipelines.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000000..b36e6a88d34 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,15 @@ +stages: + - stage: ci-stage + displayName: cistage + jobs: + - job: build-job + displayName: buildjob + steps: + - script: dotnet restore + displayName: restore + - script: dotnet build + displayName: build + - script: dotnet test + displayName: test + - script: dotnet publish + displayName: publish \ No newline at end of file From e706c9d5498d96f5c3ca7030390e5f0556168448 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Mon, 24 Jul 2023 14:52:43 +0530 Subject: [PATCH 058/118] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b36e6a88d34..c696c9f5ce4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,8 +1,8 @@ stages: - - stage: ci-stage + - stage: cistage displayName: cistage jobs: - - job: build-job + - job: buildjob displayName: buildjob steps: - script: dotnet restore From 8ef114a2839dc05184e7bb0a87fc1db67d5707f7 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Mon, 24 Jul 2023 14:54:44 +0530 Subject: [PATCH 059/118] update --- azure-pipelines.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index c696c9f5ce4..00000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,15 +0,0 @@ -stages: - - stage: cistage - displayName: cistage - jobs: - - job: buildjob - displayName: buildjob - steps: - - script: dotnet restore - displayName: restore - - script: dotnet build - displayName: build - - script: dotnet test - displayName: test - - script: dotnet publish - displayName: publish \ No newline at end of file From 536bda0e3bedf7ef2d62d80f55ada6bd7bdf70d6 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Mon, 24 Jul 2023 14:58:40 +0530 Subject: [PATCH 060/118] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000000..4c65624c050 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,39 @@ +# 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: +- master + +pool: + vmImage: 'windows-latest' + +variables: + solution: '**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + +steps: +- 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)' + +- task: VSTest@2 + inputs: + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' +- task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' From 84f529b7df8875c2beb192935e74ab299b5dc787 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Mon, 24 Jul 2023 15:09:58 +0530 Subject: [PATCH 061/118] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 88 +++++++++++++++++++++++++++++---------------- 1 file changed, 57 insertions(+), 31 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4c65624c050..2f4db255e6b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,35 +5,61 @@ trigger: - master +stages: +- stage: buildstage + jobs: + - job: buildjob + pool: + vmImage: 'windows-latest' -pool: - vmImage: 'windows-latest' - -variables: - solution: '**/*.sln' - buildPlatform: 'Any CPU' - buildConfiguration: 'Release' - -steps: -- 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)' - -- task: VSTest@2 - inputs: - platform: '$(buildPlatform)' - configuration: '$(buildConfiguration)' -- task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'drop' - publishLocation: 'Container' + variables: + solution: '**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + + steps: + - 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)' + + - task: VSTest@2 + inputs: + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' + +- stage: deploydstage + jobs: + - job: deployjob + pool: + vmImage: 'windows-latest' + + + + steps: + - task: DownloadBuildArtifacts@1 + inputs: + buildType: 'current' + downloadType: 'single' + artifactName: '''$(System.ArtifactsDirectory)''' + downloadPath: '$(System.ArtifactsDirectory)' + - task: AzureRmWebAppDeployment@4 + inputs: + ConnectionType: 'AzureRM' + azureSubscription: 'Pay-As-You-Go(049cc0b9-2696-4e70-871b-4366be487c19)' + appType: 'webApp' + WebAppName: 'appbuildemo1' + packageForLinux: '$(System.ArtifactsDirectory)/drop/*.zip' From c90d04c5d46dc8e705dc2c6a00c2f6143b0fffed Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Mon, 24 Jul 2023 15:15:37 +0530 Subject: [PATCH 062/118] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2f4db255e6b..f171cd89ca4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -54,7 +54,7 @@ stages: inputs: buildType: 'current' downloadType: 'single' - artifactName: '''$(System.ArtifactsDirectory)''' + artifactName: '$(System.ArtifactsDirectory)' downloadPath: '$(System.ArtifactsDirectory)' - task: AzureRmWebAppDeployment@4 inputs: From 9f5ab91803dd0123668173f854b369c56fbb2496 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Mon, 24 Jul 2023 15:23:55 +0530 Subject: [PATCH 063/118] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f171cd89ca4..8c0bee7423d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -54,7 +54,7 @@ stages: inputs: buildType: 'current' downloadType: 'single' - artifactName: '$(System.ArtifactsDirectory)' + downloadPath: '$(System.ArtifactsDirectory)' - task: AzureRmWebAppDeployment@4 inputs: From f7764e9240f9e77bd8ea0f5f251c2015f7d769fc Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Mon, 24 Jul 2023 16:03:16 +0530 Subject: [PATCH 064/118] update --- azure-pipelines.yml | 65 --------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 8c0bee7423d..00000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,65 +0,0 @@ -# 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: -- master -stages: -- stage: buildstage - jobs: - - job: buildjob - pool: - vmImage: 'windows-latest' - - variables: - solution: '**/*.sln' - buildPlatform: 'Any CPU' - buildConfiguration: 'Release' - - steps: - - 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)' - - - task: VSTest@2 - inputs: - platform: '$(buildPlatform)' - configuration: '$(buildConfiguration)' - - task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'drop' - publishLocation: 'Container' - -- stage: deploydstage - jobs: - - job: deployjob - pool: - vmImage: 'windows-latest' - - - - steps: - - task: DownloadBuildArtifacts@1 - inputs: - buildType: 'current' - downloadType: 'single' - - downloadPath: '$(System.ArtifactsDirectory)' - - task: AzureRmWebAppDeployment@4 - inputs: - ConnectionType: 'AzureRM' - azureSubscription: 'Pay-As-You-Go(049cc0b9-2696-4e70-871b-4366be487c19)' - appType: 'webApp' - WebAppName: 'appbuildemo1' - packageForLinux: '$(System.ArtifactsDirectory)/drop/*.zip' From e6a951f221ab0abe9035145663efd82f9a733a11 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Tue, 25 Jul 2023 08:02:52 +0530 Subject: [PATCH 065/118] yaml script --- azure-pipelines.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000000..64f2b82b14a --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,15 @@ +stages: + - stage: buildstage + displayName: dotnetbuild + jobs: + - job: dotnetbuildjob + displayName: build job dotnet + steps: + - script: dotnet restore + displayName: restore + - script: dotnet build + displayName: build app + - script: dotnet test + displayName: test + - script: dotnet publish + displayName: publish \ No newline at end of file From 57b7ae5bcdcd83dbdf78fc4337afb5ce34594a90 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Tue, 25 Jul 2023 08:08:50 +0530 Subject: [PATCH 066/118] update --- azure-pipelines.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 64f2b82b14a..00000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,15 +0,0 @@ -stages: - - stage: buildstage - displayName: dotnetbuild - jobs: - - job: dotnetbuildjob - displayName: build job dotnet - steps: - - script: dotnet restore - displayName: restore - - script: dotnet build - displayName: build app - - script: dotnet test - displayName: test - - script: dotnet publish - displayName: publish \ No newline at end of file From fea1faccfb3e9348961b5a452b557a3714182c85 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 25 Jul 2023 08:16:28 +0530 Subject: [PATCH 067/118] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000000..31f5d95b903 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,40 @@ +# 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: +- master + +pool: + vmImage: 'windows-latest' + +variables: + solution: '**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + +steps: +- 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)' + +- task: VSTest@2 + inputs: + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' +- task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' + From e30ebf044426d7656ab2f7040f2984a15271292e Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 25 Jul 2023 08:28:13 +0530 Subject: [PATCH 068/118] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 91 ++++++++++++++++++++++++++++++--------------- 1 file changed, 60 insertions(+), 31 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 31f5d95b903..61ea79bac40 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,36 +5,65 @@ trigger: - master +stages: +- stage: buildstage + jobs: + - job: buildjob + -pool: - vmImage: 'windows-latest' - -variables: - solution: '**/*.sln' - buildPlatform: 'Any CPU' - buildConfiguration: 'Release' - -steps: -- 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)' - -- task: VSTest@2 - inputs: - platform: '$(buildPlatform)' - configuration: '$(buildConfiguration)' -- task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'drop' - publishLocation: 'Container' + pool: + vmImage: 'windows-latest' + variables: + solution: '**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + + steps: + - 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)' + + - task: VSTest@2 + inputs: + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' + +- stage: deploystage + jobs: + - job: deployjobwithwebapp + + + pool: + vmImage: 'windows-latest' + + + + steps: + - task: DownloadBuildArtifacts@1 + inputs: + buildType: 'current' + downloadType: 'single' + artifactName: 'drop' + downloadPath: '$(System.ArtifactsDirectory)' + - task: AzureRmWebAppDeployment@4 + inputs: + ConnectionType: 'AzureRM' + azureSubscription: 'Pay-As-You-Go(049cc0b9-2696-4e70-871b-4366be487c19)' + appType: 'webApp' + WebAppName: 'webappstage202' + packageForLinux: '$(System.ArtifactsDirectory)/**/*.zip' \ No newline at end of file From cf4b7258ebb8f039626d6b98d4c6dfcda9e49603 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 27 Jul 2023 16:05:46 +0530 Subject: [PATCH 069/118] update --- Infra/main.tf | 83 ++++++++++++++++++++++++++++++++++++++++++++++ Infra/variables.tf | 0 2 files changed, 83 insertions(+) create mode 100644 Infra/main.tf create mode 100644 Infra/variables.tf diff --git a/Infra/main.tf b/Infra/main.tf new file mode 100644 index 00000000000..a9aeb7feab7 --- /dev/null +++ b/Infra/main.tf @@ -0,0 +1,83 @@ +terraform { + backend "azurerm" { + resource_group_name = "Appserver-RG" + storage_account_name = "cicdestorage" + container_name = "terraform" + key = "terraform.terraform" + access_key = "CyAvuoT8SNy3A1nQ77XeywVufA/IqgiMKoFojJpngn2pnMAYGskB/f0RsTGt9VQ61/VaxTp9RgOB+AStyagDvQ==" + } +variable "subscription_id" { + type = string + default = "049cc0b9-2696-4e70-871b-4366be487c19" + description = "dev subscription" + +} +variable "client_id" { + type = string + default = "f1ea2e72-ee23-4374-bdea-5df06ac7cfaa" + description = "dev client id" + +} +variable "client_secret" { + type = string + default = "4EK8Q~h6~sJFQSD-Fn8LpBeAQRdNJ5nQcgD-xaJQ" + description = "dev client secret" + +} +variable "tenant_id" { + type = string + default = "477cf0a5-266c-4331-8f0a-865f4622d888" + description = "dev tenant id" + +} +} +provider "azurerm" { + features { + + } + subscription_id = var.subscription_id + client_id = var.client_id + client_secret = var.client_secret + tenant_id = var.tenant_id + + +} +locals { + setup_name = "practice-hyd" +} +resource "azurerm_resource_group" "appservicerglabel1" { + name = "appservicerg1287" + location = "East US" + tags = { + "name" = "${local.setup_name}-rsg" + } +} +resource "azurerm_app_service_plan" "appplanlabel11" { + name = "appplan11" + location = azurerm_resource_group.appservicerglabel1.location + resource_group_name = azurerm_resource_group.appservicerglabel1.name + sku { + tier = "standard" + size = "S1" + } + depends_on = [ + azurerm_resource_group.appservicerglabel1 + ] + tags = { + "name" = "${local.setup_name}-appplan" + } + +} +resource "azurerm_app_service" "webapplabell1" { + name = "webapp12581" + resource_group_name = azurerm_resource_group.appservicerglabel1.name + location = azurerm_resource_group.appservicerglabel1.location + app_service_plan_id = azurerm_app_service_plan.appplanlabel11.id + depends_on = [ + azurerm_app_service_plan.appplanlabel11 + ] + tags = { + "name" = "${local.setup_name}-webapp" + } + +} \ No newline at end of file diff --git a/Infra/variables.tf b/Infra/variables.tf new file mode 100644 index 00000000000..e69de29bb2d From 1876d227d5b638ee8b1d869791a80facc859ee2b Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 27 Jul 2023 16:18:00 +0530 Subject: [PATCH 070/118] update --- Infra/main.tf | 26 +------------------------- Infra/variables.tf | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Infra/main.tf b/Infra/main.tf index a9aeb7feab7..98c088f5800 100644 --- a/Infra/main.tf +++ b/Infra/main.tf @@ -5,31 +5,7 @@ terraform { container_name = "terraform" key = "terraform.terraform" access_key = "CyAvuoT8SNy3A1nQ77XeywVufA/IqgiMKoFojJpngn2pnMAYGskB/f0RsTGt9VQ61/VaxTp9RgOB+AStyagDvQ==" - } -variable "subscription_id" { - type = string - default = "049cc0b9-2696-4e70-871b-4366be487c19" - description = "dev subscription" - -} -variable "client_id" { - type = string - default = "f1ea2e72-ee23-4374-bdea-5df06ac7cfaa" - description = "dev client id" - -} -variable "client_secret" { - type = string - default = "4EK8Q~h6~sJFQSD-Fn8LpBeAQRdNJ5nQcgD-xaJQ" - description = "dev client secret" - -} -variable "tenant_id" { - type = string - default = "477cf0a5-266c-4331-8f0a-865f4622d888" - description = "dev tenant id" - -} + } } provider "azurerm" { features { diff --git a/Infra/variables.tf b/Infra/variables.tf index e69de29bb2d..cf066ed1b69 100644 --- a/Infra/variables.tf +++ b/Infra/variables.tf @@ -0,0 +1,24 @@ +variable "subscription_id" { + type = string + default = "049cc0b9-2696-4e70-871b-4366be487c19" + description = "dev subscription" + +} +variable "client_id" { + type = string + default = "f1ea2e72-ee23-4374-bdea-5df06ac7cfaa" + description = "dev client id" + +} +variable "client_secret" { + type = string + default = "4EK8Q~h6~sJFQSD-Fn8LpBeAQRdNJ5nQcgD-xaJQ" + description = "dev client secret" + +} +variable "tenant_id" { + type = string + default = "477cf0a5-266c-4331-8f0a-865f4622d888" + description = "dev tenant id" + +} \ No newline at end of file From 0f0083e0b78d44d36ca6fb9655d4d61cfb85a8a6 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 27 Jul 2023 16:41:26 +0530 Subject: [PATCH 071/118] update --- Infra/main.tf | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Infra/main.tf b/Infra/main.tf index 98c088f5800..9d4ccbff4d0 100644 --- a/Infra/main.tf +++ b/Infra/main.tf @@ -1,11 +1,10 @@ terraform { - backend "azurerm" { - resource_group_name = "Appserver-RG" - storage_account_name = "cicdestorage" - container_name = "terraform" - key = "terraform.terraform" - access_key = "CyAvuoT8SNy3A1nQ77XeywVufA/IqgiMKoFojJpngn2pnMAYGskB/f0RsTGt9VQ61/VaxTp9RgOB+AStyagDvQ==" - } + required_providers { + azurerm = { + source = "hashicorp/azurerm" + version = "3.66.0" + } + } } provider "azurerm" { features { From 96e362914e3e1fde90b7d75893691679847fa2fd Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 27 Jul 2023 16:56:33 +0530 Subject: [PATCH 072/118] update --- Infra/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Infra/main.tf b/Infra/main.tf index 9d4ccbff4d0..e3fbcc71f29 100644 --- a/Infra/main.tf +++ b/Infra/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "3.66.0" + version = "1.5.3" } } } From dde0768e414650ff578e102c1640f148d26e7b6e Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 27 Jul 2023 16:59:41 +0530 Subject: [PATCH 073/118] updte --- Infra/main.tf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Infra/main.tf b/Infra/main.tf index e3fbcc71f29..de158e9e827 100644 --- a/Infra/main.tf +++ b/Infra/main.tf @@ -20,8 +20,8 @@ provider "azurerm" { locals { setup_name = "practice-hyd" } -resource "azurerm_resource_group" "appservicerglabel1" { - name = "appservicerg1287" +resource "azurerm_resource_group" "appservicerglabel12" { + name = "appservicdn18" location = "East US" tags = { "name" = "${local.setup_name}-rsg" @@ -29,14 +29,14 @@ resource "azurerm_resource_group" "appservicerglabel1" { } resource "azurerm_app_service_plan" "appplanlabel11" { name = "appplan11" - location = azurerm_resource_group.appservicerglabel1.location - resource_group_name = azurerm_resource_group.appservicerglabel1.name + location = azurerm_resource_group.appservicerglabel12.location + resource_group_name = azurerm_resource_group.appservicerglabel12.name sku { tier = "standard" size = "S1" } depends_on = [ - azurerm_resource_group.appservicerglabel1 + azurerm_resource_group.appservicerglabel12 ] tags = { "name" = "${local.setup_name}-appplan" @@ -45,8 +45,8 @@ resource "azurerm_app_service_plan" "appplanlabel11" { } resource "azurerm_app_service" "webapplabell1" { name = "webapp12581" - resource_group_name = azurerm_resource_group.appservicerglabel1.name - location = azurerm_resource_group.appservicerglabel1.location + resource_group_name = azurerm_resource_group.appservicerglabel12.name + location = azurerm_resource_group.appservicerglabel12.location app_service_plan_id = azurerm_app_service_plan.appplanlabel11.id depends_on = [ azurerm_app_service_plan.appplanlabel11 From 9d5907640f40f2871d8778282eac360dd4043329 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 27 Jul 2023 17:06:15 +0530 Subject: [PATCH 074/118] update --- Infra/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Infra/main.tf b/Infra/main.tf index de158e9e827..6e54eebe1cb 100644 --- a/Infra/main.tf +++ b/Infra/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "1.5.3" + version = "3.5.0" } } } From 918d8653273aa3a6702afb19c099ad6a8baf8529 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 27 Jul 2023 17:09:45 +0530 Subject: [PATCH 075/118] update --- Infra/main.tf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Infra/main.tf b/Infra/main.tf index 6e54eebe1cb..255be67a51d 100644 --- a/Infra/main.tf +++ b/Infra/main.tf @@ -1,10 +1,12 @@ terraform { - required_providers { - azurerm = { - source = "hashicorp/azurerm" - version = "3.5.0" + backend "azurerm" { + resource_group_name = "Appserver-RG" + storage_account_name = "cicdestorage" + container_name = "dev" + key = "terraform.dev" + access_key = "CyAvuoT8SNy3A1nQ77XeywVufA/IqgiMKoFojJpngn2pnMAYGskB/f0RsTGt9VQ61/VaxTp9RgOB+AStyagDvQ==" + } - } } provider "azurerm" { features { From 5d543b2b6ba3e2039a4da796c748f09b34324445 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 27 Jul 2023 17:23:00 +0530 Subject: [PATCH 076/118] update --- Infra/main.tf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Infra/main.tf b/Infra/main.tf index 255be67a51d..a5da361baa7 100644 --- a/Infra/main.tf +++ b/Infra/main.tf @@ -29,10 +29,11 @@ resource "azurerm_resource_group" "appservicerglabel12" { "name" = "${local.setup_name}-rsg" } } -resource "azurerm_app_service_plan" "appplanlabel11" { +resource "azurerm_service_plan" "appplanlabel11" { name = "appplan11" location = azurerm_resource_group.appservicerglabel12.location resource_group_name = azurerm_resource_group.appservicerglabel12.name + os_type = "Windows" sku { tier = "standard" size = "S1" @@ -49,9 +50,9 @@ resource "azurerm_app_service" "webapplabell1" { name = "webapp12581" resource_group_name = azurerm_resource_group.appservicerglabel12.name location = azurerm_resource_group.appservicerglabel12.location - app_service_plan_id = azurerm_app_service_plan.appplanlabel11.id + app_service_plan_id = azurerm_service_plan.appplanlabel11.id depends_on = [ - azurerm_app_service_plan.appplanlabel11 + azurerm_service_plan.appplanlabel11 ] tags = { "name" = "${local.setup_name}-webapp" From eebfd14f3192de8ad85f27add8e31917d2abfd78 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 27 Jul 2023 17:26:19 +0530 Subject: [PATCH 077/118] upd --- Infra/main.tf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Infra/main.tf b/Infra/main.tf index a5da361baa7..cc4c517911a 100644 --- a/Infra/main.tf +++ b/Infra/main.tf @@ -34,10 +34,7 @@ resource "azurerm_service_plan" "appplanlabel11" { location = azurerm_resource_group.appservicerglabel12.location resource_group_name = azurerm_resource_group.appservicerglabel12.name os_type = "Windows" - sku { - tier = "standard" - size = "S1" - } + sku_name = "S1" depends_on = [ azurerm_resource_group.appservicerglabel12 ] From bc1f57e689e46d6b514f1d55c569abf12940ac6a Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 27 Jul 2023 17:49:21 +0530 Subject: [PATCH 078/118] update --- Infra/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Infra/main.tf b/Infra/main.tf index cc4c517911a..9f4a0d0cc8c 100644 --- a/Infra/main.tf +++ b/Infra/main.tf @@ -2,8 +2,8 @@ terraform { backend "azurerm" { resource_group_name = "Appserver-RG" storage_account_name = "cicdestorage" - container_name = "dev" - key = "terraform.dev" + container_name = "qaenv" + key = "terraform.qaenv" access_key = "CyAvuoT8SNy3A1nQ77XeywVufA/IqgiMKoFojJpngn2pnMAYGskB/f0RsTGt9VQ61/VaxTp9RgOB+AStyagDvQ==" } From 037d3be37e2b4748bac3ea709216492643a9032c Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Fri, 28 Jul 2023 08:12:29 +0530 Subject: [PATCH 079/118] Update variables.tf --- Infra/variables.tf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Infra/variables.tf b/Infra/variables.tf index cf066ed1b69..6e1824f1e1e 100644 --- a/Infra/variables.tf +++ b/Infra/variables.tf @@ -1,24 +1,24 @@ variable "subscription_id" { type = string - default = "049cc0b9-2696-4e70-871b-4366be487c19" + default = "" description = "dev subscription" } variable "client_id" { type = string - default = "f1ea2e72-ee23-4374-bdea-5df06ac7cfaa" + default = "" description = "dev client id" } variable "client_secret" { type = string - default = "4EK8Q~h6~sJFQSD-Fn8LpBeAQRdNJ5nQcgD-xaJQ" + default = "" description = "dev client secret" } variable "tenant_id" { type = string - default = "477cf0a5-266c-4331-8f0a-865f4622d888" + default = "" description = "dev tenant id" -} \ No newline at end of file +} From 7a849715a94651cde8121ccb6f0e313eb64fd285 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Fri, 28 Jul 2023 08:12:50 +0530 Subject: [PATCH 080/118] Update main.tf --- Infra/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Infra/main.tf b/Infra/main.tf index 9f4a0d0cc8c..30668abac32 100644 --- a/Infra/main.tf +++ b/Infra/main.tf @@ -4,7 +4,7 @@ terraform { storage_account_name = "cicdestorage" container_name = "qaenv" key = "terraform.qaenv" - access_key = "CyAvuoT8SNy3A1nQ77XeywVufA/IqgiMKoFojJpngn2pnMAYGskB/f0RsTGt9VQ61/VaxTp9RgOB+AStyagDvQ==" + access_key = "" } } @@ -55,4 +55,4 @@ resource "azurerm_app_service" "webapplabell1" { "name" = "${local.setup_name}-webapp" } -} \ No newline at end of file +} From 889b3d0f9f90d59c92616367556102ce30a7e4b8 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Wed, 17 Jul 2024 08:32:49 +0530 Subject: [PATCH 081/118] Create tesfile105 --- tesfile105 | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tesfile105 diff --git a/tesfile105 b/tesfile105 new file mode 100644 index 00000000000..2f5db013d35 --- /dev/null +++ b/tesfile105 @@ -0,0 +1,2 @@ +testfile +hehdfgklfb From 435120f218d1e63b18cb1ff78f1c4fb504482ff4 Mon Sep 17 00:00:00 2001 From: muralid Date: Mon, 22 Jul 2024 08:30:42 +0530 Subject: [PATCH 082/118] Prod-V1 --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index a6e94a4564e..e9d146c6116 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,7 +6,7 @@
Space Game

An example site for learning

-

SpaceGame Prod app changes-Blue-prod

+

HPlaptops Prod app changes-Blue-prod

From 38e640ddbdd5d371999d773b1abc3c627a782fc6 Mon Sep 17 00:00:00 2001 From: muralid Date: Mon, 22 Jul 2024 08:42:04 +0530 Subject: [PATCH 083/118] Prod-V2 --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index e9d146c6116..f638fe00fa7 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,7 +6,7 @@
Space Game

An example site for learning

-

HPlaptops Prod app changes-Blue-prod

+

HPlaptops Production app changes-Blue-prod

From aade8a5b4eee2583157f02cb1c2742852a5f2fc0 Mon Sep 17 00:00:00 2001 From: muralid Date: Tue, 23 Jul 2024 08:04:14 +0530 Subject: [PATCH 084/118] Prod-V3 --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index f638fe00fa7..63447468b84 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,7 +6,7 @@
Space Game

An example site for learning

-

HPlaptops Production app changes-Blue-prod

+

HPlaptops Production app changes-Blue-prod-23rdJuly

From dfad86777a4e10a9aa9c8a4f9e8fe2a4f42d2e7e Mon Sep 17 00:00:00 2001 From: muralid Date: Wed, 24 Jul 2024 08:20:30 +0530 Subject: [PATCH 085/118] V1 version --- 24thJuly | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 24thJuly diff --git a/24thJuly b/24thJuly new file mode 100644 index 00000000000..d5d31495992 --- /dev/null +++ b/24thJuly @@ -0,0 +1,2 @@ +Dev Config +ENv files \ No newline at end of file From 02ee52ade76db2164138b48d26b4e62ba9b5f1ab Mon Sep 17 00:00:00 2001 From: muralid Date: Wed, 24 Jul 2024 08:44:05 +0530 Subject: [PATCH 086/118] v2-Version --- 24thJuly | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/24thJuly b/24thJuly index d5d31495992..43713468466 100644 --- a/24thJuly +++ b/24thJuly @@ -1,2 +1,3 @@ Dev Config -ENv files \ No newline at end of file +ENv files +updated config \ No newline at end of file From b2a560b0713b466deb8af441579db5603000cc1e Mon Sep 17 00:00:00 2001 From: muralid Date: Tue, 30 Jul 2024 11:38:08 +0530 Subject: [PATCH 087/118] testcmt --- azurepipelines.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 azurepipelines.yml diff --git a/azurepipelines.yml b/azurepipelines.yml new file mode 100644 index 00000000000..771d990f5b9 --- /dev/null +++ b/azurepipelines.yml @@ -0,0 +1,9 @@ +stages: + - stage: buildstage + jobs: + - job: buildjob + steps: + - script: dotnet restore + - script: dotnet build + - script: dotnet test + - scripti: dotnet publish From 1721ea1dff5e1e9297679b27024defa8c7cc6a45 Mon Sep 17 00:00:00 2001 From: muralid Date: Tue, 30 Jul 2024 11:39:52 +0530 Subject: [PATCH 088/118] test --- azure-pipelines.yml | 69 --------------------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 61ea79bac40..00000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,69 +0,0 @@ -# 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: -- master -stages: -- stage: buildstage - jobs: - - job: buildjob - - - pool: - vmImage: 'windows-latest' - - variables: - solution: '**/*.sln' - buildPlatform: 'Any CPU' - buildConfiguration: 'Release' - - steps: - - 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)' - - - task: VSTest@2 - inputs: - platform: '$(buildPlatform)' - configuration: '$(buildConfiguration)' - - task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'drop' - publishLocation: 'Container' - -- stage: deploystage - jobs: - - job: deployjobwithwebapp - - - pool: - vmImage: 'windows-latest' - - - - steps: - - task: DownloadBuildArtifacts@1 - inputs: - buildType: 'current' - downloadType: 'single' - artifactName: 'drop' - downloadPath: '$(System.ArtifactsDirectory)' - - task: AzureRmWebAppDeployment@4 - inputs: - ConnectionType: 'AzureRM' - azureSubscription: 'Pay-As-You-Go(049cc0b9-2696-4e70-871b-4366be487c19)' - appType: 'webApp' - WebAppName: 'webappstage202' - packageForLinux: '$(System.ArtifactsDirectory)/**/*.zip' \ No newline at end of file From c5c9b10c877dcb9a851b103031f4d3f1b5b20920 Mon Sep 17 00:00:00 2001 From: muralid Date: Tue, 30 Jul 2024 11:44:07 +0530 Subject: [PATCH 089/118] test2 --- azurepipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azurepipelines.yml b/azurepipelines.yml index 771d990f5b9..327b80f6584 100644 --- a/azurepipelines.yml +++ b/azurepipelines.yml @@ -6,4 +6,4 @@ stages: - script: dotnet restore - script: dotnet build - script: dotnet test - - scripti: dotnet publish + - script: dotnet publish From fbc4364756a232011689ce1430c9ab46ee3c9cdb Mon Sep 17 00:00:00 2001 From: muralid Date: Wed, 31 Jul 2024 07:54:18 +0530 Subject: [PATCH 090/118] update --- azurepipelines.yml | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 azurepipelines.yml diff --git a/azurepipelines.yml b/azurepipelines.yml deleted file mode 100644 index 327b80f6584..00000000000 --- a/azurepipelines.yml +++ /dev/null @@ -1,9 +0,0 @@ -stages: - - stage: buildstage - jobs: - - job: buildjob - steps: - - script: dotnet restore - - script: dotnet build - - script: dotnet test - - script: dotnet publish From da4d3cc851224d7961e7f2e595a0698a01d42cb5 Mon Sep 17 00:00:00 2001 From: muralid Date: Wed, 31 Jul 2024 08:09:23 +0530 Subject: [PATCH 091/118] updated changes -V1 --- azurepipelines.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 azurepipelines.yml diff --git a/azurepipelines.yml b/azurepipelines.yml new file mode 100644 index 00000000000..771d990f5b9 --- /dev/null +++ b/azurepipelines.yml @@ -0,0 +1,9 @@ +stages: + - stage: buildstage + jobs: + - job: buildjob + steps: + - script: dotnet restore + - script: dotnet build + - script: dotnet test + - scripti: dotnet publish From 324abb4b605d015e42e0d95008a8253b95e0c9ae Mon Sep 17 00:00:00 2001 From: muralid Date: Wed, 31 Jul 2024 08:15:12 +0530 Subject: [PATCH 092/118] updated-v2 --- azurepipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azurepipelines.yml b/azurepipelines.yml index 771d990f5b9..327b80f6584 100644 --- a/azurepipelines.yml +++ b/azurepipelines.yml @@ -6,4 +6,4 @@ stages: - script: dotnet restore - script: dotnet build - script: dotnet test - - scripti: dotnet publish + - script: dotnet publish From 858c40392dd8fef816057f4233cda84299366ea3 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Wed, 31 Jul 2024 08:35:04 +0530 Subject: [PATCH 093/118] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000000..e9d72b8801b --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,44 @@ +# 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: +- master +stages: +- stage: buildstage + jobs: + - job: buildjob + pool: + vmImage: 'windows-latest' + + variables: + solution: '**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + + steps: + - 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)' + + - task: VSTest@2 + inputs: + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' + + + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'drop' + publishLocation: 'Container' From 80fc2b75f6cfe90e24bece783d7c471e26860ce4 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Wed, 31 Jul 2024 08:47:22 +0530 Subject: [PATCH 094/118] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e9d72b8801b..c5b86ef271d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,3 +42,25 @@ stages: PathtoPublish: '$(Build.ArtifactStagingDirectory)' ArtifactName: 'drop' publishLocation: 'Container' +- stage: releasestage + jobs: + - job: releasejob + pool: + vmImage: 'windows-latest' + + + + steps: + - task: DownloadBuildArtifacts@1 + inputs: + buildType: 'current' + downloadType: 'single' + artifactName: 'drop' + downloadPath: '$(System.ArtifactsDirectory)' + - task: AzureRmWebAppDeployment@4 + inputs: + ConnectionType: 'AzureRM' + azureSubscription: 'Pay-As-You-Go(1)(049cc0b9-2696-4e70-871b-4366be487c19)' + appType: 'webApp' + WebAppName: 'mywebapp0097' + packageForLinux: '$(System.ArtifactsDirectory)/drop/*.zip' \ No newline at end of file From 9183a2ca39d48327e75ae8dde92c852b7fce5eab Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Mon, 26 Aug 2024 11:54:43 +0530 Subject: [PATCH 095/118] Create dotnet-desktop.yml --- .github/workflows/dotnet-desktop.yml | 115 +++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 .github/workflows/dotnet-desktop.yml diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml new file mode 100644 index 00000000000..e718dd9be51 --- /dev/null +++ b/.github/workflows/dotnet-desktop.yml @@ -0,0 +1,115 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# This workflow will build, test, sign and package a WPF or Windows Forms desktop application +# built on .NET Core. +# To learn how to migrate your existing application to .NET Core, +# refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework +# +# To configure this workflow: +# +# 1. Configure environment variables +# GitHub sets default environment variables for every workflow run. +# Replace the variables relative to your project in the "env" section below. +# +# 2. Signing +# Generate a signing certificate in the Windows Application +# Packaging Project or add an existing signing certificate to the project. +# Next, use PowerShell to encode the .pfx file using Base64 encoding +# by running the following Powershell script to generate the output string: +# +# $pfx_cert = Get-Content '.\SigningCertificate.pfx' -Encoding Byte +# [System.Convert]::ToBase64String($pfx_cert) | Out-File 'SigningCertificate_Encoded.txt' +# +# Open the output file, SigningCertificate_Encoded.txt, and copy the +# string inside. Then, add the string to the repo as a GitHub secret +# and name it "Base64_Encoded_Pfx." +# For more information on how to configure your signing certificate for +# this workflow, refer to https://github.com/microsoft/github-actions-for-desktop-apps#signing +# +# Finally, add the signing certificate password to the repo as a secret and name it "Pfx_Key". +# See "Build the Windows Application Packaging project" below to see how the secret is used. +# +# For more information on GitHub Actions, refer to https://github.com/features/actions +# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications, +# refer to https://github.com/microsoft/github-actions-for-desktop-apps + +name: .NET Core Desktop + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + + strategy: + matrix: + configuration: [Debug, Release] + + runs-on: windows-latest # For a list of available runner types, refer to + # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on + + env: + Solution_Name: your-solution-name # Replace with your solution name, i.e. MyWpfApp.sln. + Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj. + Wap_Project_Directory: your-wap-project-directory-name # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package. + Wap_Project_Path: your-wap-project-path # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj. + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + # Install the .NET Core workload + - name: Install .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild + - name: Setup MSBuild.exe + uses: microsoft/setup-msbuild@v2 + + # Execute all unit tests in the solution + - name: Execute unit tests + run: dotnet test + + # Restore the application to populate the obj folder with RuntimeIdentifiers + - name: Restore the application + run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration + env: + Configuration: ${{ matrix.configuration }} + + # Decode the base 64 encoded pfx and save the Signing_Certificate + - name: Decode the pfx + run: | + $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}") + $certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx + [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte) + + # Create the app package by building and packaging the Windows Application Packaging project + - name: Create the app package + run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }} + env: + Appx_Bundle: Always + Appx_Bundle_Platforms: x86|x64 + Appx_Package_Build_Mode: StoreUpload + Configuration: ${{ matrix.configuration }} + + # Remove the pfx + - name: Remove the pfx + run: Remove-Item -path $env:Wap_Project_Directory\GitHubActionsWorkflow.pfx + + # Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact + - name: Upload build artifacts + uses: actions/upload-artifact@v3 + with: + name: MSIX Package + path: ${{ env.Wap_Project_Directory }}\AppPackages From d778b33d592e9f52886b7ad61ca4c8c7fe50882d Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Mon, 26 Aug 2024 11:58:49 +0530 Subject: [PATCH 096/118] Create dotnet101.yml --- .github/workflows/dotnet101.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/dotnet101.yml diff --git a/.github/workflows/dotnet101.yml b/.github/workflows/dotnet101.yml new file mode 100644 index 00000000000..c62b9087fc9 --- /dev/null +++ b/.github/workflows/dotnet101.yml @@ -0,0 +1,28 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: .NET + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal From 09189cd317c7736cac71fb592ae39ab0836bb9b8 Mon Sep 17 00:00:00 2001 From: muralid Date: Sun, 1 Sep 2024 10:40:06 +0530 Subject: [PATCH 097/118] test --- 24thJuly | 3 ++- one.yml | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 one.yml diff --git a/24thJuly b/24thJuly index 43713468466..d84908c72d8 100644 --- a/24thJuly +++ b/24thJuly @@ -1,3 +1,4 @@ Dev Config ENv files -updated config \ No newline at end of file +updated config +change \ No newline at end of file diff --git a/one.yml b/one.yml new file mode 100644 index 00000000000..3ff848ac352 --- /dev/null +++ b/one.yml @@ -0,0 +1,10 @@ +on: + [push, fork, pull_request]: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + run: echo "Helloworld" \ No newline at end of file From e06957b8345a23e0222359500d061657083ab6c3 Mon Sep 17 00:00:00 2001 From: muralid Date: Sun, 1 Sep 2024 10:44:04 +0530 Subject: [PATCH 098/118] v1 --- .github/workflows/dev.yml | 28 ----- .github/workflows/dotnet-desktop.yml | 115 --------------------- .github/workflows/dotnet.yml | 25 ----- .github/workflows/dotnet101.yml | 28 ----- .github/workflows/main.yml | 10 -- .github/workflows/master_webappprod567.yml | 57 ---------- .github/workflows/qa.yml | 9 -- 7 files changed, 272 deletions(-) delete mode 100644 .github/workflows/dev.yml delete mode 100644 .github/workflows/dotnet-desktop.yml delete mode 100644 .github/workflows/dotnet.yml delete mode 100644 .github/workflows/dotnet101.yml delete mode 100644 .github/workflows/main.yml delete mode 100644 .github/workflows/master_webappprod567.yml delete mode 100644 .github/workflows/qa.yml diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml deleted file mode 100644 index bf986cdab47..00000000000 --- a/.github/workflows/dev.yml +++ /dev/null @@ -1,28 +0,0 @@ -# This workflow will build a .NET project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net - -name: .NET - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: 6.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml deleted file mode 100644 index e718dd9be51..00000000000 --- a/.github/workflows/dotnet-desktop.yml +++ /dev/null @@ -1,115 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -# This workflow will build, test, sign and package a WPF or Windows Forms desktop application -# built on .NET Core. -# To learn how to migrate your existing application to .NET Core, -# refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework -# -# To configure this workflow: -# -# 1. Configure environment variables -# GitHub sets default environment variables for every workflow run. -# Replace the variables relative to your project in the "env" section below. -# -# 2. Signing -# Generate a signing certificate in the Windows Application -# Packaging Project or add an existing signing certificate to the project. -# Next, use PowerShell to encode the .pfx file using Base64 encoding -# by running the following Powershell script to generate the output string: -# -# $pfx_cert = Get-Content '.\SigningCertificate.pfx' -Encoding Byte -# [System.Convert]::ToBase64String($pfx_cert) | Out-File 'SigningCertificate_Encoded.txt' -# -# Open the output file, SigningCertificate_Encoded.txt, and copy the -# string inside. Then, add the string to the repo as a GitHub secret -# and name it "Base64_Encoded_Pfx." -# For more information on how to configure your signing certificate for -# this workflow, refer to https://github.com/microsoft/github-actions-for-desktop-apps#signing -# -# Finally, add the signing certificate password to the repo as a secret and name it "Pfx_Key". -# See "Build the Windows Application Packaging project" below to see how the secret is used. -# -# For more information on GitHub Actions, refer to https://github.com/features/actions -# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications, -# refer to https://github.com/microsoft/github-actions-for-desktop-apps - -name: .NET Core Desktop - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - - build: - - strategy: - matrix: - configuration: [Debug, Release] - - runs-on: windows-latest # For a list of available runner types, refer to - # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on - - env: - Solution_Name: your-solution-name # Replace with your solution name, i.e. MyWpfApp.sln. - Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj. - Wap_Project_Directory: your-wap-project-directory-name # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package. - Wap_Project_Path: your-wap-project-path # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj. - - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - # Install the .NET Core workload - - name: Install .NET Core - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x - - # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild - - name: Setup MSBuild.exe - uses: microsoft/setup-msbuild@v2 - - # Execute all unit tests in the solution - - name: Execute unit tests - run: dotnet test - - # Restore the application to populate the obj folder with RuntimeIdentifiers - - name: Restore the application - run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration - env: - Configuration: ${{ matrix.configuration }} - - # Decode the base 64 encoded pfx and save the Signing_Certificate - - name: Decode the pfx - run: | - $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}") - $certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx - [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte) - - # Create the app package by building and packaging the Windows Application Packaging project - - name: Create the app package - run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }} - env: - Appx_Bundle: Always - Appx_Bundle_Platforms: x86|x64 - Appx_Package_Build_Mode: StoreUpload - Configuration: ${{ matrix.configuration }} - - # Remove the pfx - - name: Remove the pfx - run: Remove-Item -path $env:Wap_Project_Directory\GitHubActionsWorkflow.pfx - - # Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact - - name: Upload build artifacts - uses: actions/upload-artifact@v3 - with: - name: MSIX Package - path: ${{ env.Wap_Project_Directory }}\AppPackages diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml deleted file mode 100644 index a73cc8bcacc..00000000000 --- a/.github/workflows/dotnet.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: .NET - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 5.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal diff --git a/.github/workflows/dotnet101.yml b/.github/workflows/dotnet101.yml deleted file mode 100644 index c62b9087fc9..00000000000 --- a/.github/workflows/dotnet101.yml +++ /dev/null @@ -1,28 +0,0 @@ -# This workflow will build a .NET project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net - -name: .NET - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 23133f5035d..00000000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,10 +0,0 @@ - -on: - push: - branches: - - main -jobs: - print_hello: - runs-on: ubuntu-latest - steps: - - run: echo "hello world" diff --git a/.github/workflows/master_webappprod567.yml b/.github/workflows/master_webappprod567.yml deleted file mode 100644 index bf1e0e11f23..00000000000 --- a/.github/workflows/master_webappprod567.yml +++ /dev/null @@ -1,57 +0,0 @@ -# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy -# More GitHub Actions for Azure: https://github.com/Azure/actions - -name: Build and deploy ASP.Net Core app to Azure Web App - webappprod567 - -on: - push: - branches: - - master - workflow_dispatch: - -jobs: - build: - runs-on: windows-latest - - steps: - - uses: actions/checkout@v2 - - - name: Set up .NET Core - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '5.0.x' - include-prerelease: true - - - name: Build with dotnet - run: dotnet build --configuration Release - - - name: dotnet publish - run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp - - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v2 - with: - name: .net-app - path: ${{env.DOTNET_ROOT}}/myapp - - deploy: - runs-on: windows-latest - needs: build - environment: - name: 'Production' - url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - - steps: - - name: Download artifact from build job - uses: actions/download-artifact@v2 - with: - name: .net-app - - - name: Deploy to Azure Web App - id: deploy-to-webapp - uses: azure/webapps-deploy@v2 - with: - app-name: 'webappprod567' - slot-name: 'Production' - publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_FC47892C12B045C3A3159F86723A5C42 }} - package: . diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml deleted file mode 100644 index 1e918ffa4ef..00000000000 --- a/.github/workflows/qa.yml +++ /dev/null @@ -1,9 +0,0 @@ -on: - push: - branches: - - master -jobs: - print_hello: - runs-on: windows-2022 - steps: - - run: echo "test action workflow" \ No newline at end of file From dd98a9906ce0fbc38bc71c0b8d14f31b06beea45 Mon Sep 17 00:00:00 2001 From: muralid Date: Sun, 1 Sep 2024 10:44:50 +0530 Subject: [PATCH 099/118] update --- firstfile.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/firstfile.txt b/firstfile.txt index 4cb29ea38f7..95a529eb918 100644 --- a/firstfile.txt +++ b/firstfile.txt @@ -1,3 +1,4 @@ one two three +updated From 4aa9c6120e5a2c3bf9db5f4b96a5feec406dd9a6 Mon Sep 17 00:00:00 2001 From: muralid Date: Sun, 1 Sep 2024 10:47:25 +0530 Subject: [PATCH 100/118] v3 --- .github/workflows/one.yml | 2 +- 24thJuly | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/one.yml b/.github/workflows/one.yml index 8681409c2d4..3955e5c05d9 100644 --- a/.github/workflows/one.yml +++ b/.github/workflows/one.yml @@ -1,7 +1,7 @@ on: push: branches: - - main + - master jobs: print_hello: runs-on: ubuntu-latest diff --git a/24thJuly b/24thJuly index d84908c72d8..ef6a286b611 100644 --- a/24thJuly +++ b/24thJuly @@ -1,4 +1,5 @@ Dev Config ENv files updated config -change \ No newline at end of file +change +yguu \ No newline at end of file From bbb8273e95f0a137fbd8e5f3f94c3feae6b54153 Mon Sep 17 00:00:00 2001 From: muralid Date: Sun, 1 Sep 2024 10:58:22 +0530 Subject: [PATCH 101/118] v4 --- .github/workflows/one.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/one.yml b/.github/workflows/one.yml index 3955e5c05d9..0aa3e459864 100644 --- a/.github/workflows/one.yml +++ b/.github/workflows/one.yml @@ -1,7 +1,7 @@ on: - push: - branches: - - master + label: + types: [created] + jobs: print_hello: runs-on: ubuntu-latest From 0c7674f11845dc761db97b3986dce30ba9b5f6e9 Mon Sep 17 00:00:00 2001 From: muralid Date: Tue, 3 Sep 2024 08:31:19 +0530 Subject: [PATCH 102/118] update1 --- .github/workflows/main.yml | 9 +++++++++ .github/workflows/one.yml | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .github/workflows/one.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000000..9c15ee91e16 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,9 @@ +on: + push: + branches: + - master +jobs: + buildjob: + runs-on: ubuntu-24.04 + steps: + - run: echo "testbuild" \ No newline at end of file diff --git a/.github/workflows/one.yml b/.github/workflows/one.yml deleted file mode 100644 index 0aa3e459864..00000000000 --- a/.github/workflows/one.yml +++ /dev/null @@ -1,9 +0,0 @@ -on: - label: - types: [created] - -jobs: - print_hello: - runs-on: ubuntu-latest - steps: - - run: echo "Hello World" From d4350acce9ba4463d807f262cc0e5070d76b2f64 Mon Sep 17 00:00:00 2001 From: muralid Date: Tue, 3 Sep 2024 08:34:19 +0530 Subject: [PATCH 103/118] update-v2 --- feature102.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feature102.py b/feature102.py index bed9ebb30a5..a33e2c83252 100644 --- a/feature102.py +++ b/feature102.py @@ -1,3 +1,4 @@ fourthline fifthline -sixthline \ No newline at end of file +sixthline +updated info \ No newline at end of file From 3e61f938165c07c906b372c086dbedc10d766869 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Wed, 4 Sep 2024 08:04:30 +0530 Subject: [PATCH 104/118] Delete .github/workflows/main.yml --- .github/workflows/main.yml | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 9c15ee91e16..00000000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,9 +0,0 @@ -on: - push: - branches: - - master -jobs: - buildjob: - runs-on: ubuntu-24.04 - steps: - - run: echo "testbuild" \ No newline at end of file From f0c1f6dca5465d2c0b2199df4b90fe4673df78f2 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Wed, 4 Sep 2024 08:07:25 +0530 Subject: [PATCH 105/118] Create dotnet-desktop.yml --- .github/workflows/dotnet-desktop.yml | 115 +++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 .github/workflows/dotnet-desktop.yml diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml new file mode 100644 index 00000000000..e718dd9be51 --- /dev/null +++ b/.github/workflows/dotnet-desktop.yml @@ -0,0 +1,115 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# This workflow will build, test, sign and package a WPF or Windows Forms desktop application +# built on .NET Core. +# To learn how to migrate your existing application to .NET Core, +# refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework +# +# To configure this workflow: +# +# 1. Configure environment variables +# GitHub sets default environment variables for every workflow run. +# Replace the variables relative to your project in the "env" section below. +# +# 2. Signing +# Generate a signing certificate in the Windows Application +# Packaging Project or add an existing signing certificate to the project. +# Next, use PowerShell to encode the .pfx file using Base64 encoding +# by running the following Powershell script to generate the output string: +# +# $pfx_cert = Get-Content '.\SigningCertificate.pfx' -Encoding Byte +# [System.Convert]::ToBase64String($pfx_cert) | Out-File 'SigningCertificate_Encoded.txt' +# +# Open the output file, SigningCertificate_Encoded.txt, and copy the +# string inside. Then, add the string to the repo as a GitHub secret +# and name it "Base64_Encoded_Pfx." +# For more information on how to configure your signing certificate for +# this workflow, refer to https://github.com/microsoft/github-actions-for-desktop-apps#signing +# +# Finally, add the signing certificate password to the repo as a secret and name it "Pfx_Key". +# See "Build the Windows Application Packaging project" below to see how the secret is used. +# +# For more information on GitHub Actions, refer to https://github.com/features/actions +# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications, +# refer to https://github.com/microsoft/github-actions-for-desktop-apps + +name: .NET Core Desktop + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + + strategy: + matrix: + configuration: [Debug, Release] + + runs-on: windows-latest # For a list of available runner types, refer to + # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on + + env: + Solution_Name: your-solution-name # Replace with your solution name, i.e. MyWpfApp.sln. + Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj. + Wap_Project_Directory: your-wap-project-directory-name # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package. + Wap_Project_Path: your-wap-project-path # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj. + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + # Install the .NET Core workload + - name: Install .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild + - name: Setup MSBuild.exe + uses: microsoft/setup-msbuild@v2 + + # Execute all unit tests in the solution + - name: Execute unit tests + run: dotnet test + + # Restore the application to populate the obj folder with RuntimeIdentifiers + - name: Restore the application + run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration + env: + Configuration: ${{ matrix.configuration }} + + # Decode the base 64 encoded pfx and save the Signing_Certificate + - name: Decode the pfx + run: | + $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}") + $certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx + [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte) + + # Create the app package by building and packaging the Windows Application Packaging project + - name: Create the app package + run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }} + env: + Appx_Bundle: Always + Appx_Bundle_Platforms: x86|x64 + Appx_Package_Build_Mode: StoreUpload + Configuration: ${{ matrix.configuration }} + + # Remove the pfx + - name: Remove the pfx + run: Remove-Item -path $env:Wap_Project_Directory\GitHubActionsWorkflow.pfx + + # Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact + - name: Upload build artifacts + uses: actions/upload-artifact@v3 + with: + name: MSIX Package + path: ${{ env.Wap_Project_Directory }}\AppPackages From 6c0435d906fe8f528d3ac160a088b3f7ca03caa8 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Wed, 20 Nov 2024 08:06:55 +0530 Subject: [PATCH 106/118] new changes --- feature101.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feature101.py b/feature101.py index 1bb25e6447b..271c3bd35ad 100644 --- a/feature101.py +++ b/feature101.py @@ -1,3 +1,4 @@ 1 line 2 line -3 line \ No newline at end of file +3 line +4 line \ No newline at end of file From 2e417845c1d8c50024244d94ab3b54c860fd34ea Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 21 Nov 2024 09:51:23 +0530 Subject: [PATCH 107/118] 1st change --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000000..4222ac203f8 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,9 @@ +on: + push: + branches: main + - main +jobs: + firstjob: + runs-on: ubuntu-latest + steps: + - run: echo "hello world" \ No newline at end of file From 1709ac572ab5636797ea6f40a7c894cb2c6a9dba Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 21 Nov 2024 09:59:49 +0530 Subject: [PATCH 108/118] v2 --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4222ac203f8..9b3ceea8d2b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,7 @@ on: + label: + types: + - created push: branches: main - main From ed3e1f25676baec33e54dd2278365e3a38548c72 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 21 Nov 2024 10:03:07 +0530 Subject: [PATCH 109/118] v3 --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b3ceea8d2b..e39bcefefd0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,9 @@ on: label: types: - - created + - created + issues: + types: [opened, labeled] push: branches: main - main From 60a16591ea2c77d82fdea8150fe3521adc26b265 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 21 Nov 2024 10:11:15 +0530 Subject: [PATCH 110/118] v4 --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e39bcefefd0..bfdf760a53d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,8 +7,11 @@ on: push: branches: main - main + tags: + - V2 + - V1.* jobs: firstjob: runs-on: ubuntu-latest steps: - - run: echo "hello world" \ No newline at end of file + - run: echo "hello world" From 6a687d4906fe617a0ea7f5a02b7eaaf62c5b961c Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 21 Nov 2024 11:23:46 +0530 Subject: [PATCH 111/118] v5 --- .github/workflows/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bfdf760a53d..be5d8b0576b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,5 @@ on: - label: - types: - - created - issues: - types: [opened, labeled] + push: branches: main - main From 2ef360e7cccff601d1f77a263c6653e4b8963361 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 21 Nov 2024 11:45:17 +0530 Subject: [PATCH 112/118] tags --- .github/workflows/main.yml | 29 ++++++++++++++++++++++++++--- .github/workflows/main2.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/main2.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index be5d8b0576b..7f560a16f5f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,11 +3,34 @@ on: push: branches: main - main - tags: - - V2 - - V1.* + jobs: firstjob: runs-on: ubuntu-latest steps: - run: echo "hello world" +name: Create Release + + + build: + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + body: | + Changes in this Release + - First Change + - Second Change + draft: false + prerelease: false + + diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml new file mode 100644 index 00000000000..e73d2b647f8 --- /dev/null +++ b/.github/workflows/main2.yml @@ -0,0 +1,29 @@ +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + +name: Create Release + +jobs: + build: + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + body: | + Changes in this Release + - First Change + - Second Change + draft: false + prerelease: false \ No newline at end of file From c302e6b14131f78795c119ae6177f653b3ea1870 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 21 Nov 2024 13:09:13 +0530 Subject: [PATCH 113/118] v6 --- .github/workflows/main2.yml | 39 +++++++++++++++---------------------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml index e73d2b647f8..7fefca9ef05 100644 --- a/.github/workflows/main2.yml +++ b/.github/workflows/main2.yml @@ -1,29 +1,22 @@ +# example 1: on push to master +name: Bump version on: push: - # Sequence of patterns matched against refs/tags - tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - -name: Create Release + branches: + - master jobs: build: - name: Create Release - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 + permissions: + contents: write steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body: | - Changes in this Release - - First Change - - Second Change - draft: false - prerelease: false \ No newline at end of file + - uses: actions/checkout@v4 + with: + fetch-depth: '0' + + - name: Bump version and push tag + uses: anothrNick/github-tag-action@v1 # Don't use @master or @v1 unless you're happy to test the latest version + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token + WITH_V: false \ No newline at end of file From 71ac6525672e3a92b4d54bcac5cad27570602bad Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 21 Nov 2024 13:09:55 +0530 Subject: [PATCH 114/118] v7 --- .github/workflows/main2.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml index 7fefca9ef05..8b89cfa0f80 100644 --- a/.github/workflows/main2.yml +++ b/.github/workflows/main2.yml @@ -3,7 +3,7 @@ name: Bump version on: push: branches: - - master + - main jobs: build: From 2c8da3c915c7333d64017a223d793713734a07b7 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 21 Nov 2024 13:12:19 +0530 Subject: [PATCH 115/118] v8 --- .github/workflows/main2.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml index 8b89cfa0f80..7fefca9ef05 100644 --- a/.github/workflows/main2.yml +++ b/.github/workflows/main2.yml @@ -3,7 +3,7 @@ name: Bump version on: push: branches: - - main + - master jobs: build: From df49dc2991aa54241beee281fc438dcadf1572a7 Mon Sep 17 00:00:00 2001 From: muralikrishna188 Date: Thu, 21 Nov 2024 13:44:10 +0530 Subject: [PATCH 116/118] v8 --- .github/workflows/main2.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml index 7fefca9ef05..0fd411e4211 100644 --- a/.github/workflows/main2.yml +++ b/.github/workflows/main2.yml @@ -19,4 +19,4 @@ jobs: uses: anothrNick/github-tag-action@v1 # Don't use @master or @v1 unless you're happy to test the latest version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token - WITH_V: false \ No newline at end of file + WITH_V: true \ No newline at end of file From 58733cb63a326a8cd4ebaf76102a9e95898b1202 Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 15 Apr 2025 18:04:52 +0530 Subject: [PATCH 117/118] Create myapp01.yml --- .github/workflows/myapp01.yml | 115 ++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 .github/workflows/myapp01.yml diff --git a/.github/workflows/myapp01.yml b/.github/workflows/myapp01.yml new file mode 100644 index 00000000000..ab72c053157 --- /dev/null +++ b/.github/workflows/myapp01.yml @@ -0,0 +1,115 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# This workflow will build, test, sign and package a WPF or Windows Forms desktop application +# built on .NET Core. +# To learn how to migrate your existing application to .NET Core, +# refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework +# +# To configure this workflow: +# +# 1. Configure environment variables +# GitHub sets default environment variables for every workflow run. +# Replace the variables relative to your project in the "env" section below. +# +# 2. Signing +# Generate a signing certificate in the Windows Application +# Packaging Project or add an existing signing certificate to the project. +# Next, use PowerShell to encode the .pfx file using Base64 encoding +# by running the following Powershell script to generate the output string: +# +# $pfx_cert = Get-Content '.\SigningCertificate.pfx' -Encoding Byte +# [System.Convert]::ToBase64String($pfx_cert) | Out-File 'SigningCertificate_Encoded.txt' +# +# Open the output file, SigningCertificate_Encoded.txt, and copy the +# string inside. Then, add the string to the repo as a GitHub secret +# and name it "Base64_Encoded_Pfx." +# For more information on how to configure your signing certificate for +# this workflow, refer to https://github.com/microsoft/github-actions-for-desktop-apps#signing +# +# Finally, add the signing certificate password to the repo as a secret and name it "Pfx_Key". +# See "Build the Windows Application Packaging project" below to see how the secret is used. +# +# For more information on GitHub Actions, refer to https://github.com/features/actions +# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications, +# refer to https://github.com/microsoft/github-actions-for-desktop-apps + +name: .NET Core Desktop + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + + strategy: + matrix: + configuration: [Debug, Release] + + runs-on: windows-latest # For a list of available runner types, refer to + # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on + + env: + Solution_Name: your-solution-name # Replace with your solution name, i.e. MyWpfApp.sln. + Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj. + Wap_Project_Directory: your-wap-project-directory-name # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package. + Wap_Project_Path: your-wap-project-path # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj. + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + # Install the .NET Core workload + - name: Install .NET Core + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild + - name: Setup MSBuild.exe + uses: microsoft/setup-msbuild@v2 + + # Execute all unit tests in the solution + - name: Execute unit tests + run: dotnet test + + # Restore the application to populate the obj folder with RuntimeIdentifiers + - name: Restore the application + run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration + env: + Configuration: ${{ matrix.configuration }} + + # Decode the base 64 encoded pfx and save the Signing_Certificate + - name: Decode the pfx + run: | + $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}") + $certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx + [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte) + + # Create the app package by building and packaging the Windows Application Packaging project + - name: Create the app package + run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }} + env: + Appx_Bundle: Always + Appx_Bundle_Platforms: x86|x64 + Appx_Package_Build_Mode: StoreUpload + Configuration: ${{ matrix.configuration }} + + # Remove the pfx + - name: Remove the pfx + run: Remove-Item -path $env:Wap_Project_Directory\GitHubActionsWorkflow.pfx + + # Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + with: + name: MSIX Package + path: ${{ env.Wap_Project_Directory }}\AppPackages From 275288a101c2d4f6bad22abc6eddf33ccf2c2b7a Mon Sep 17 00:00:00 2001 From: Murali Dulam <49935549+muralikrishna188@users.noreply.github.com> Date: Tue, 19 Aug 2025 08:09:11 +0530 Subject: [PATCH 118/118] Update Index.cshtml --- Tailspin.SpaceGame.Web/Views/Home/Index.cshtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml index 63447468b84..ce6d5d1bc9c 100644 --- a/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml +++ b/Tailspin.SpaceGame.Web/Views/Home/Index.cshtml @@ -6,7 +6,7 @@
Space Game

An example site for learning

-

HPlaptops Production app changes-Blue-prod-23rdJuly

+

Zepto Cafe Production app

@@ -269,3 +269,4 @@ +