Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testdb #8067

Open
wants to merge 130 commits into
base: main
Choose a base branch
from
Open

Testdb #8067

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
ff5748d
changes in readme file
muralikrishna188 Nov 15, 2020
8a7a200
Add files via upload
muralikrishna188 Nov 24, 2020
4a40635
Update azure-pipelines.yml for Azure Pipelines
muralikrishna188 Nov 24, 2020
6145e4b
Update azure-pipelines.yml for Azure Pipelines
muralikrishna188 Nov 24, 2020
1b04191
firstcommit
muralikrishna188 Feb 18, 2021
c849f20
Merge pull request #1 from muralikrishna188/feature1
muralikrishna188 Feb 18, 2021
e72f62d
commit - gameapp-1234
muralikrishna188 Feb 19, 2021
3c3d947
Merge pull request #2 from muralikrishna188/feature-dev-1234
muralikrishna188 Feb 19, 2021
ee51f6e
second commit
muralikrishna188 Feb 20, 2021
0ab0ea6
Merge pull request #5 from muralikrishna188/feature-dev-1234
muralikrishna188 Feb 20, 2021
008ea1e
3rd commit
muralikrishna188 Feb 20, 2021
00fd974
Merge pull request #6 from muralikrishna188/feature1
muralikrishna188 Feb 20, 2021
464e98f
updated yml file
muralikrishna188 Feb 21, 2021
acae04e
Merge pull request #7 from muralikrishna188/feature11
muralikrishna188 Feb 21, 2021
f5900ce
added updates
muralikrishna188 Feb 21, 2021
3c60b64
Merge pull request #8 from muralikrishna188/feature11
muralikrishna188 Feb 21, 2021
a0792f4
dev code
muralikrishna188 Feb 22, 2021
e75940a
Merge pull request #12 from muralikrishna188/feature11
muralikrishna188 Feb 22, 2021
0669a8e
latest update
muralikrishna188 Feb 23, 2021
109f2da
Merge pull request #13 from muralikrishna188/feature11
muralikrishna188 Feb 23, 2021
6c24181
blugreen deployment update
muralikrishna188 Feb 24, 2021
e8fc622
Merge pull request #14 from muralikrishna188/feature11
muralikrishna188 Feb 24, 2021
95c9b6d
Set up CI with Azure Pipelines
muralikrishna188 Mar 5, 2021
3c8bde3
CS-3
muralikrishna188 Mar 14, 2021
250ab0a
Merge pull request #16 from muralikrishna188/CS-3
muralikrishna188 Mar 14, 2021
bd4dc28
test commit
muralikrishna188 Jun 15, 2021
d076132
added first file
muralikrishna188 Jun 16, 2021
01df80d
2nd commit
muralikrishna188 Jun 16, 2021
b5838cd
Update Index.cshtml
muralikrishna188 Oct 17, 2021
985c595
updated index.html region
muralikrishna188 Oct 18, 2021
cad7210
update
muralikrishna188 Oct 28, 2021
00397cf
Set up CI with Azure Pipelines
muralikrishna188 Oct 28, 2021
69009bb
update
muralikrishna188 Oct 28, 2021
ba498f3
Merge branch 'master' of https://github.com/muralikrishna188/mslearn-…
muralikrishna188 Oct 28, 2021
a482d9f
1st commit- feature51
muralikrishna188 Feb 10, 2022
56285a8
2nd commit
muralikrishna188 Feb 10, 2022
6af605d
2nd update
muralikrishna188 Feb 10, 2022
698a66e
Merge pull request #25 from muralikrishna188/feature51
muralikrishna188 Feb 10, 2022
7612653
space100-new delivery feature
muralikrishna188 Feb 11, 2022
8c4d862
googlepay-payment option
muralikrishna188 Feb 11, 2022
883840c
2nd
muralikrishna188 Feb 11, 2022
8e6fdee
Merge pull request #27 from muralikrishna188/stagespace100
muralikrishna188 Feb 11, 2022
7eafe90
update
muralikrishna188 Feb 15, 2022
c1b89db
update
muralikrishna188 Feb 15, 2022
803993d
Create dotnet.yml
muralikrishna188 Feb 25, 2022
60d5152
Add or update the Azure App Service build and deployment workflow config
muralikrishna188 Feb 25, 2022
5cb34a9
first commit
muralikrishna188 Mar 24, 2022
a832270
Merge pull request #30 from muralikrishna188/featurespace1
muralikrishna188 Mar 24, 2022
50dedd8
Delete azure-pipelines.yml
muralikrishna188 Apr 5, 2022
8c338f6
Create azure-pipelines.yml
muralikrishna188 Apr 5, 2022
4bf7408
Update azure-pipelines.yml
muralikrishna188 Apr 5, 2022
51415c6
Update azure-pipelines.yml for Azure Pipelines
muralikrishna188 Apr 7, 2022
ac09888
Update azure-pipelines.yml for Azure Pipelines
muralikrishna188 Apr 7, 2022
39b97a6
Update Index.cshtml
muralikrishna188 Oct 8, 2022
c562090
updated changes
muralikrishna188 Oct 8, 2022
4026c96
update
muralikrishna188 Oct 14, 2022
ccbd45a
first commit
muralikrishna188 Oct 29, 2022
1b1b86c
2nd commit
muralikrishna188 Oct 29, 2022
6440dcb
test33
muralikrishna188 Jan 24, 2023
db1599f
Merge pull request #33 from muralikrishna188/test33
muralikrishna188 Jan 24, 2023
9467908
action1
muralikrishna188 Jan 25, 2023
134eacb
Create dev.yml
muralikrishna188 Jan 26, 2023
01ba9fd
qa actions
muralikrishna188 Jan 26, 2023
a71ef01
prod changes -v1
muralikrishna188 Feb 21, 2023
0027495
feature101-v1
muralikrishna188 Feb 23, 2023
6388946
feature102-v1
muralikrishna188 Feb 23, 2023
ce64d8c
Merge pull request #37 from muralikrishna188/feature101
muralikrishna188 Feb 23, 2023
817939b
Merge pull request #38 from muralikrishna188/feature102
muralikrishna188 Feb 23, 2023
7704e65
main github actions
muralikrishna188 Apr 13, 2023
9714a8d
daily updates
muralikrishna188 Jul 21, 2023
8c3bf37
daily update2
muralikrishna188 Jul 21, 2023
e562c8d
update3
muralikrishna188 Jul 21, 2023
c6b009e
test
muralikrishna188 Jul 24, 2023
5fb920f
update
muralikrishna188 Jul 24, 2023
e706c9d
Update azure-pipelines.yml for Azure Pipelines
muralikrishna188 Jul 24, 2023
8ef114a
update
muralikrishna188 Jul 24, 2023
536bda0
Set up CI with Azure Pipelines
muralikrishna188 Jul 24, 2023
84f529b
Update azure-pipelines.yml for Azure Pipelines
muralikrishna188 Jul 24, 2023
c90d04c
Update azure-pipelines.yml for Azure Pipelines
muralikrishna188 Jul 24, 2023
9f5ab91
Update azure-pipelines.yml for Azure Pipelines
muralikrishna188 Jul 24, 2023
f7764e9
update
muralikrishna188 Jul 24, 2023
e6a951f
yaml script
muralikrishna188 Jul 25, 2023
57b7ae5
update
muralikrishna188 Jul 25, 2023
fea1fac
Set up CI with Azure Pipelines
muralikrishna188 Jul 25, 2023
e30ebf0
Update azure-pipelines.yml for Azure Pipelines
muralikrishna188 Jul 25, 2023
cf4b725
update
muralikrishna188 Jul 27, 2023
1876d22
update
muralikrishna188 Jul 27, 2023
0f0083e
update
muralikrishna188 Jul 27, 2023
96e3629
update
muralikrishna188 Jul 27, 2023
dde0768
updte
muralikrishna188 Jul 27, 2023
9d59076
update
muralikrishna188 Jul 27, 2023
918d865
update
muralikrishna188 Jul 27, 2023
5d543b2
update
muralikrishna188 Jul 27, 2023
eebfd14
upd
muralikrishna188 Jul 27, 2023
bc1f57e
update
muralikrishna188 Jul 27, 2023
037d3be
Update variables.tf
muralikrishna188 Jul 28, 2023
7a84971
Update main.tf
muralikrishna188 Jul 28, 2023
889b3d0
Create tesfile105
muralikrishna188 Jul 17, 2024
435120f
Prod-V1
muralikrishna188 Jul 22, 2024
38e640d
Prod-V2
muralikrishna188 Jul 22, 2024
aade8a5
Prod-V3
muralikrishna188 Jul 23, 2024
dfad867
V1 version
muralikrishna188 Jul 24, 2024
02ee52a
v2-Version
muralikrishna188 Jul 24, 2024
b2a560b
testcmt
muralikrishna188 Jul 30, 2024
1721ea1
test
muralikrishna188 Jul 30, 2024
c5c9b10
test2
muralikrishna188 Jul 30, 2024
fbc4364
update
muralikrishna188 Jul 31, 2024
da4d3cc
updated changes -V1
muralikrishna188 Jul 31, 2024
324abb4
updated-v2
muralikrishna188 Jul 31, 2024
858c403
Set up CI with Azure Pipelines
muralikrishna188 Jul 31, 2024
80fc2b7
Update azure-pipelines.yml for Azure Pipelines
muralikrishna188 Jul 31, 2024
9183a2c
Create dotnet-desktop.yml
muralikrishna188 Aug 26, 2024
d778b33
Create dotnet101.yml
muralikrishna188 Aug 26, 2024
09189cd
test
muralikrishna188 Sep 1, 2024
e06957b
v1
muralikrishna188 Sep 1, 2024
dd98a99
update
muralikrishna188 Sep 1, 2024
4aa9c61
v3
muralikrishna188 Sep 1, 2024
bbb8273
v4
muralikrishna188 Sep 1, 2024
0c7674f
update1
muralikrishna188 Sep 3, 2024
d4350ac
update-v2
muralikrishna188 Sep 3, 2024
3e61f93
Delete .github/workflows/main.yml
muralikrishna188 Sep 4, 2024
f0c1f6d
Create dotnet-desktop.yml
muralikrishna188 Sep 4, 2024
6c0435d
new changes
muralikrishna188 Nov 20, 2024
2e41784
1st change
muralikrishna188 Nov 21, 2024
1709ac5
v2
muralikrishna188 Nov 21, 2024
ed3e1f2
v3
muralikrishna188 Nov 21, 2024
60a1659
v4
muralikrishna188 Nov 21, 2024
6a687d4
v5
muralikrishna188 Nov 21, 2024
2ef360e
tags
muralikrishna188 Nov 21, 2024
79917bb
Create onefile
muralikrishna188 Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 115 additions & 0 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
@@ -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
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
on:

push:
branches: main
- main

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


29 changes: 29 additions & 0 deletions .github/workflows/main2.yml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions 24thJuly
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Dev Config
ENv files
updated config
change
yguu
58 changes: 58 additions & 0 deletions Infra/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
terraform {
backend "azurerm" {
resource_group_name = "Appserver-RG"
storage_account_name = "cicdestorage"
container_name = "qaenv"
key = "terraform.qaenv"
access_key = ""

}
}
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" "appservicerglabel12" {
name = "appservicdn18"
location = "East US"
tags = {
"name" = "${local.setup_name}-rsg"
}
}
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_name = "S1"
depends_on = [
azurerm_resource_group.appservicerglabel12
]
tags = {
"name" = "${local.setup_name}-appplan"
}

}
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_service_plan.appplanlabel11.id
depends_on = [
azurerm_service_plan.appplanlabel11
]
tags = {
"name" = "${local.setup_name}-webapp"
}

}
24 changes: 24 additions & 0 deletions Infra/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
variable "subscription_id" {
type = string
default = ""
description = "dev subscription"

}
variable "client_id" {
type = string
default = ""
description = "dev client id"

}
variable "client_secret" {
type = string
default = ""
description = "dev client secret"

}
variable "tenant_id" {
type = string
default = ""
description = "dev tenant id"

}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [[email protected]](mailto:[email protected]) with any additional questions or comments.
Expand All @@ -29,3 +29,5 @@ 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
3 changes: 2 additions & 1 deletion Tailspin.SpaceGame.Web/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<div class="container">
<img class="title" src="/images/space-game-title.svg" alt="Space Game">
<p>An example site for learning</p>
<h1>HPlaptops Production app changes-Blue-prod-23rdJuly</h1>
</div>
</section>
<section class="download">
Expand Down Expand Up @@ -267,4 +268,4 @@
</div>
</div>
</div>
</div>
</div>
66 changes: 66 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# 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: 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'
9 changes: 9 additions & 0 deletions azurepipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
stages:
- stage: buildstage
jobs:
- job: buildjob
steps:
- script: dotnet restore
- script: dotnet build
- script: dotnet test
- script: dotnet publish
3 changes: 3 additions & 0 deletions daily build update
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
21st July 7:52 am
21st July 8:04 am
third update
4 changes: 4 additions & 0 deletions feature101.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
1 line
2 line
3 line
4 line
4 changes: 4 additions & 0 deletions feature102.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
fourthline
fifthline
sixthline
updated info
Loading