Skip to content

Commit

Permalink
Update dependencies and fix test file import (#323)
Browse files Browse the repository at this point in the history
* Update dependencies and fix test file import

* Update dependencies and add engineering updates

* Update vscode version in package.json

* update pipelines with the latest build agents

* Update secret scan task to use toolMajorVersion V3

* Update Azure Pipelines YAML with new macOS and Ubuntu versions

* Fix parameter name in azure-pipelines.yaml

* Fix typo in Azure Pipelines YAML file

* Add UPDATE.md to .gitignore
  • Loading branch information
vicperdana authored Jan 16, 2024
1 parent 3afffb1 commit 0764615
Show file tree
Hide file tree
Showing 7 changed files with 1,589 additions and 783 deletions.
58 changes: 29 additions & 29 deletions .azure-pipelines/azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,31 +51,31 @@ stages:

- template: jobs/test.yaml
parameters:
name: macOS_10_15
displayName: 'PowerShell 7.1 - macOS-10.15'
imageName: 'macOS-10.15'
name: macOS_12
displayName: 'PowerShell 7.1 - macOS-12'
imageName: 'macOS-12'
channel: preview

- template: jobs/test.yaml
parameters:
name: windows
displayName: 'PowerShell 5.1 - Windows 2019'
imageName: 'windows-2019'
displayName: 'PowerShell 5.1 - Windows 2022'
imageName: 'windows-2022'
channel: preview
pwsh: false

- template: jobs/test.yaml
parameters:
name: windows_2019
displayName: 'PowerShell 7.1 - Windows 2019'
imageName: 'windows-2019'
name: windows_2022
displayName: 'PowerShell 7.1 - Windows 2022'
imageName: 'windows-2022'
channel: preview

- template: jobs/test.yaml
parameters:
name: ubuntu_20_04
displayName: 'PowerShell 7.1 - ubuntu-20.04'
imageName: 'ubuntu-20.04'
name: ubuntu_22_04
displayName: 'PowerShell 7.1 - ubuntu-22.04'
imageName: 'ubuntu-22.04'
channel: preview

# Analysis pipeline
Expand All @@ -88,24 +88,24 @@ stages:
jobs:
- job: Secret_Scan
pool:
vmImage: 'windows-2019'
displayName: Secret scan
vmImage: 'windows-2022'
displayName: Secret scan
steps:
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
displayName: 'Scan for secrets'
inputs:
debugMode: false
toolMajorVersion: V2

- task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@2
displayName: 'Publish scan logs'
continueOnError: true

- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@1
displayName: 'Check for failures'
inputs:
CredScan: true
ToolLogsNotFoundAction: Error
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
displayName: 'Scan for secrets'
inputs:
debugMode: false
toolMajorVersion: V3

- task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@2
displayName: 'Publish scan logs'
continueOnError: true

- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@1
displayName: 'Check for failures'
inputs:
CredScan: true
ToolLogsNotFoundAction: Error

# Release pipeline
- stage: Preview
Expand Down Expand Up @@ -135,4 +135,4 @@ stages:
releaseNotes: 'See [change log](https:/Microsoft/PSDocs-vscode/blob/main/CHANGELOG.md)'
assetUploadMode: replace
addChangeLog: false
isPreRelease: false
isPreRelease: false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dist
node_modules
.vscode-test/
*.vsix
UPDATE.md
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ Continue reading to see the changes included in the latest version.

## Unreleased

Jan 2024 Engineering updates
- "@types/vscode": "^1.85.0"
- "@types/glob": "^8.1.0"
- "@types/mocha": "^10.0.6"
- "@types/node": "^20.11.3"
- "eslint": "^8.56.0"
- "esbuild": "^0.19.11"
- "@typescript-eslint/eslint-plugin": "^6.19.0"
- "@typescript-eslint/parser": "^6.19.0"
- "glob": "^10.3.10"
- "mocha": "^10.2.0"
- "typescript": "^5.3.3"


## v0.3.0

- Jan 2023 Engineering:
Expand Down
Loading

0 comments on commit 0764615

Please sign in to comment.