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

Sandeepanikapati patch 2 #370

Open
wants to merge 73 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
1833f5b
Set up CI with Azure Pipelines
sandeepanikapati May 21, 2021
3bbb3b5
Set up CI with Azure Pipelines
sandeepanikapati May 21, 2021
096508d
Update azure-pipelines-1.yml for Azure Pipelines
sandeepanikapati May 23, 2021
a6afed7
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati May 25, 2021
09f1d7f
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati May 25, 2021
20d7574
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati May 25, 2021
f5f09c0
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati May 25, 2021
d7cb06f
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati May 25, 2021
dc0246d
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati May 25, 2021
8ba0ebf
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jun 6, 2021
8198d46
Set up CI with Azure Pipelines
sandeepanikapati Jun 7, 2021
987f7aa
Update azure-pipelines-2.yml
sandeepanikapati Jun 7, 2021
08e367d
Set up CI with Azure Pipelines 1
sandeepanikapati Jun 7, 2021
8d39b7f
Update azure-pipelines-3.yml
sandeepanikapati Jun 7, 2021
a18d7ef
Create azure-pipelines-4.yml
sandeepanikapati Jun 8, 2021
2f9383c
Set up CI with Azure Pipelines
sandeepanikapati Jun 8, 2021
5d9f131
Update azure-pipelines-5.yml for Azure Pipelines
sandeepanikapati Jun 8, 2021
d593128
Update azure-pipelines-5.yml for Azure Pipelines
sandeepanikapati Jun 8, 2021
8f986da
Set up CI with Azure Pipelines
sandeepanikapati Jan 12, 2022
f2771af
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
34bf8b8
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
7fc204d
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
778c097
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
f914c5b
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
9e2acaf
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
0c8c6ed
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
70303d8
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
9f3bd6d
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
45d1f0b
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
645774f
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
972b5f9
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
2e2fa80
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
25308b1
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 12, 2022
1c9e13c
Update azure-pipelines.yml for Azure Pipelines
sandeepanikapati Jan 19, 2022
7cf576a
Set up CI with Azure Pipelines
sandeepanikapati Jan 19, 2022
977eb8b
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Jan 19, 2022
0e03eb5
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Jan 19, 2022
13c7caf
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Jan 19, 2022
05d21eb
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Jan 19, 2022
f941a0c
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Jan 19, 2022
50d0f10
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Jan 19, 2022
ff5a39d
Update props-upload.json
sandeepanikapati Jan 31, 2022
2f2a9d1
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
248ed85
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
dc4470f
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
aa7a735
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
4295cd7
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
d00e918
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
9abbc11
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
d7e8117
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
8ac8f76
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
6f47423
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
33afc9b
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
2a5bdaf
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
7f60839
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
4a66b25
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
829d916
Update azure-pipelines-6.yml for Azure Pipelines
sandeepanikapati Feb 4, 2022
671cc3b
Update props-upload.json
sandeepanikapati Feb 15, 2022
1c149f0
Update package.json
sandeepanikapati May 22, 2022
8f72c01
Set up CI with Azure Pipelines
sandeepanikapati Jun 26, 2022
b4a0861
Update azure-pipelines-7.yml for Azure Pipelines
sandeepanikapati Jun 26, 2022
977f25f
Update azure-pipelines-7.yml for Azure Pipelines
sandeepanikapati Jun 26, 2022
61ba2ab
Update package.json
sandeepanikapati Jun 26, 2022
cd4af18
Update package.json
sandeepanikapati Jun 26, 2022
b64b3a0
Set up CI with Azure Pipelines
sandeepanikapati Nov 7, 2022
eb6769a
Update azure-pipelines-8.yml for Azure Pipelines
sandeepanikapati Nov 7, 2022
c46ab4d
Update azure-pipelines-8.yml for Azure Pipelines
sandeepanikapati Nov 7, 2022
0b204df
Update azure-pipelines-8.yml for Azure Pipelines
sandeepanikapati Nov 7, 2022
d983654
Update azure-pipelines-8.yml for Azure Pipelines
sandeepanikapati Nov 7, 2022
05f441c
Update go.mod
sandeepanikapati Jul 12, 2023
13b3d86
Create frogbot-scan-pr.yml
sandeepanikapati Jul 12, 2023
b57077a
Update go.mod
sandeepanikapati Jul 12, 2023
89793fc
Update go.mod
sandeepanikapati Jul 12, 2023
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
74 changes: 74 additions & 0 deletions .github/workflows/frogbot-scan-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# 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.
# Frogbot Scan Pull Request does the following:
# Automatically scans new pull requests for security vulnerabilities.
# Uses JFrog Xray to scan the project.
# Read more about Frogbot here - https://github.com/jfrog/frogbot#frogbot

# Some projects require creating a frogbot-config.yml file. Read more about it here - https://github.com/jfrog/frogbot/blob/master/docs/frogbot-config.md

name: "Frogbot Scan Pull Request"
on:
pull_request_target:
types: [ opened, synchronize ]
permissions:
pull-requests: write
contents: read
jobs:
scan-pull-request:
runs-on: ubuntu-latest
# A pull request needs to be approved, before Frogbot scans it. Any GitHub user who is associated with the
# "frogbot" GitHub environment can approve the pull request to be scanned.
# Read more here (Install Frogbot Using GitHub Actions): https://github.com/jfrog/frogbot/blob/master/docs/install-github.md
environment: frogbot
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}

# IMPORTANT:
# 1. See the following link for information about the tools that need to be installed for Frogbot to work - https://github.com/jfrog/frogbot/tree/master/docs/templates/github-actions/scan-and-fix
# 2. Some projects require creating a frogbot-config.yml file. Read more about it here - https://github.com/jfrog/frogbot/blob/master/docs/frogbot-config.md

- uses: jfrog/frogbot@3395426f351556d4568e30a6dfd2909dbedae99e
env:
# [Mandatory if the two conditions below are met]
# 1. The project uses npm, yarn 2, NuGet or .NET to download its dependencies
# 2. The `installCommand` variable isn't set in your frogbot-config.yml file.
#
# The command that installs the project dependencies (e.g "npm i", "nuget restore" or "dotnet restore")
# JF_INSTALL_DEPS_CMD: ""

# [Mandatory]
# JFrog platform URL
JF_URL: ${{ secrets.JF_URL }}

# [Mandatory if JF_USER and JF_PASSWORD are not provided]
# JFrog access token with 'read' permissions on Xray service
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}

# [Mandatory if JF_ACCESS_TOKEN is not provided]
# JFrog username with 'read' permissions for Xray. Must be provided with JF_PASSWORD
# JF_USER: ${{ secrets.JF_USER }}

# [Mandatory if JF_ACCESS_TOKEN is not provided]
# JFrog password. Must be provided with JF_USER
# JF_PASSWORD: ${{ secrets.JF_PASSWORD }}

# [Mandatory]
# The GitHub token automatically generated for the job
JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# [Optional]
# If the machine that runs Frogbot has no access to the internat, set the name of a remote repository
# in Artifactory, which proxies https://releases.jfrog.io/artifactory
# The 'frogbot' executable and other tools it needs will be downloaded through this repository.
# JF_RELEASES_REPO: ""

# [Optional]
# Frogbot will download the project dependencies, if they're not cached locally. To download the
# dependencies from a virtual repository in Artifactory, set the name of of the repository. There's no
# need to set this value, if it is set in the frogbot-config.yml file.
# JF_DEPS_REPO: ""
25 changes: 25 additions & 0 deletions azure-pipelines-1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
vmImage: ubuntu-latest

steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'

- script: |
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'
- task: ArtifactoryNuGet@2
inputs:
command: 'restore'
artifactoryService: 'Kayal_Art'
targetResolveRepo: 'nuget'
solutionPath: '**/*.sln'
36 changes: 36 additions & 0 deletions azure-pipelines-2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Universal Windows Platform
# Build a Universal Windows Platform project using Visual Studio.
# Add steps that test and distribute an app, save build artifacts, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'x86|x64|ARM'
buildConfiguration: 'Release'
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'

steps:
- task: NuGetToolInstaller@1

- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'

- task: VSBuild@1
inputs:
platform: 'x86'
solution: '$(solution)'
configuration: '$(buildConfiguration)'
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
- task: ArtifactoryNuGet@1
inputs:
command: 'restore'
artifactoryService: 'Kayal_Art'
targetResolveRepo: 'nuget'
solutionPath: '**/*.sln'
36 changes: 36 additions & 0 deletions azure-pipelines-3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Universal Windows Platform
# Build a Universal Windows Platform project using Visual Studio.
# Add steps that test and distribute an app, save build artifacts, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'x86|x64|ARM'
buildConfiguration: 'Release'
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'

steps:
- task: NuGetToolInstaller@1

- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'

- task: VSBuild@1
inputs:
platform: 'x86'
solution: '$(solution)'
configuration: '$(buildConfiguration)'
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'
- task: ArtifactoryNuGet@1
inputs:
command: 'restore'
artifactoryService: 'Kayal_Art'
targetResolveRepo: 'nuget'
solutionPath: '**/*.sln'
39 changes: 39 additions & 0 deletions azure-pipelines-4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
trigger:
- master

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'x86|x64|ARM'
buildConfiguration: 'Release'
appxPackageDir: '$(build.artifactStagingDirectory)\AppxPackages\\'

steps:
- task: NuGetToolInstaller@1

- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'

- task: VSBuild@1
inputs:
platform: 'x86'
solution: '$(solution)'
configuration: '$(buildConfiguration)'
msbuildArgs: '/p:AppxBundlePlatforms="$(buildPlatform)" /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload'

- task: ArtifactoryToolsInstaller@1
inputs:
artifactoryService: 'Kayal_Art'
cliInstallationRepo: 'jfrog-cli'
installCustomVersion: true
cliVersion: '1.46.3'

- task: ArtifactoryNuGet@1
inputs:
command: 'restore'
artifactoryService: 'Kayal_Art'
targetResolveRepo: 'nuget'
solutionPath: '**/*.sln'
32 changes: 32 additions & 0 deletions azure-pipelines-5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
vmImage: ubuntu-latest

steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'

- script: |
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'
- task: ArtifactoryToolsInstaller@1
inputs:
artifactoryService: 'Kayal_Art'
cliInstallationRepo: 'jfrog-cli'
installCustomVersion: true
cliVersion: '1.46.3'
- task: ArtifactoryNuGet@1
inputs:
command: 'restore'
artifactoryService: 'Kayal_Art'
targetResolveRepo: 'nuget'
solutionPath: '**/*.sln'
noNuGetCache: true
62 changes: 62 additions & 0 deletions azure-pipelines-6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
vmImage: ubuntu-latest

steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'

- script: |
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'
- task: ArtifactoryNpm@2
inputs:
command: 'pack and publish'
artifactoryService: 'jy_dev'
sourceRepo: 'prjt-npm-remote'
targetRepo: 'prjt-test-dev'
workingFolder: 'npm-example'
projectKey: 'prjt'
collectBuildInfo: true
buildName: '$(Build.DefinitionName)'
buildNumber: '$(Build.BuildNumber)'
- task: ArtifactoryPublishBuildInfo@1
inputs:
artifactoryService: 'jy_dev'
projectKey: 'prjt'
buildName: '$(Build.DefinitionName)'
buildNumber: '$(Build.BuildNumber)'
- task: ArtifactoryBuildPromotion@1
inputs:
artifactoryService: 'jy_dev'
buildName: '$(Build.DefinitionName)'
buildNumber: '$(Build.BuildNumber)'
projectKey: 'prjt'
targetRepo: 'prjt-test-stg'
status: 'Released'
sourceRepo: 'prjt-test-dev'
includeDependencies: true
copy: false
dryRun: false


- task: ArtifactoryBuildPromotion@1
inputs:
artifactoryService: 'jy_prd'
buildName: '$(Build.DefinitionName)'
buildNumber: '$(Build.BuildNumber)'
projectKey: 'prjt'
targetRepo: 'prjt-test-prd'
status: 'Released'
sourceRepo: 'prjt-test-stg'
includeDependencies: true
copy: false
dryRun: false
21 changes: 21 additions & 0 deletions azure-pipelines-7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
vmImage: ubuntu-latest

steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'

- task: ArtifactoryNpm@2
inputs:
command: 'pack and publish'
artifactoryService: 'sandy'
targetRepo: 'san-npm'
workingFolder: 'npm-example/'
44 changes: 44 additions & 0 deletions azure-pipelines-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- master

pool:
vmImage: ubuntu-latest

steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'

- script: |
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'

- task: ArtifactoryNpm@2
inputs:
command: 'install'
artifactoryService: 'sandy'
sourceRepo: 'san-npm'
workingFolder: 'npm-example/'
collectBuildInfo: true
threads: '1'
buildName: '$(Build.DefinitionName)'
buildNumber: '$(Build.BuildNumber)'
arguments: '--prefer-offline --audit=false --no-audit --prefix $(System.DefaultWorkingDirectory'

- task: ArtifactoryPublishBuildInfo@1
inputs:
artifactoryService: 'sandy'
buildName: '$(Build.DefinitionName)'
buildNumber: '$(Build.BuildNumber)'
- task: JFrogBuildScan@1
inputs:
xrayConnection: 'sandeepxray'
buildName: '$(Build.DefinitionName)'
buildNumber: '$(Build.BuildNumber)'
allowFailBuild: true
vuln: false
Loading