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

Add getJacocoGradleEnablerFunction #219

Draft
wants to merge 93 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
ed2ab06
Add getJacocoGradleEnablerFunction
max-zaytsev Sep 7, 2023
573662b
updated resources.resjson for azure-arm-rest (#217)
v-mohithgc Sep 8, 2023
c47bcc5
Use semver
max-zaytsev Sep 20, 2023
71eaf44
[webdeployment-common] - Wrap incompatible additional arguments (#222)
DmitriiBobreshev Sep 26, 2023
3148bcc
Specify max buffer size when spawning a new process (#225)
aleksandrlevochkin Oct 5, 2023
bfece01
fix issue with OpenSSL License filename containing whitespace (#224)
tkasparek Oct 6, 2023
e246f2c
Expose isSitePublishingCredentialsEnabled (#226)
onetocny Oct 9, 2023
ed38492
heapoutofmemory (#227)
v-schhabra Oct 12, 2023
962bddf
Token authentication in MSDeploy (#228)
onetocny Oct 16, 2023
57a0b84
Prevent oidc_token from being written to agent logs (#234)
jessehouwing Oct 18, 2023
578fc19
Transform webdeployment-common tests into real test suites (#232)
onetocny Oct 20, 2023
f00ecea
Move ParameterParserUtility tests from AzureRmWebAppDeploymentV4 (#238)
onetocny Oct 24, 2023
6169db7
Use the storage-blob library instead of deprecated azure-storage (#223)
aleksandrlevochkin Oct 26, 2023
61f47b8
Expose function to get version of installed MSDeploy (#241)
onetocny Oct 27, 2023
f5a44c6
[common-packages] - Replace 7zip 16 with 7zip 19 (#236)
DmitriiBobreshev Oct 27, 2023
6bd855f
Localization update (#237)
vmapetr Oct 27, 2023
7d7661e
Skip ZIP entry validation + test (#245)
onetocny Nov 1, 2023
62ea4de
Add FF check (#233)
KonstantinTyukalov Nov 13, 2023
34d9734
Bump msbuildhelpers to 3.231.0 (#251)
KonstantinTyukalov Nov 13, 2023
18e44c8
Fix vulnerabilities in azure-blobstorage-provider (#254)
KonstantinTyukalov Nov 17, 2023
f967706
Fix MSBuildHelpers tests (#257)
KonstantinTyukalov Nov 29, 2023
68057bd
Fixed oidc token fetching (#255)
starkmsu Nov 29, 2023
224af5d
Revert migration to `@azure/storage-blob` library (#256)
aleksandrlevochkin Nov 30, 2023
61e8142
Migration to `@azure/storage-blob` library with a fix (#258)
aleksandrlevochkin Dec 8, 2023
b6dc037
update 7zip to 23 (#260)
v-mohithgc Dec 13, 2023
67d7860
Localization update (#259)
vmapetr Dec 13, 2023
81f8b70
Revert "Replace 7zip 19 with 7zip 23 for webdeployment-common package…
v-mohithgc Dec 18, 2023
f0bbdd2
update 7zip to 23 (#262)
v-mohithgc Dec 20, 2023
470ed3d
Update jacoco to 0.8.11 (#263)
ivanduplenskikh Jan 17, 2024
a9b6bfb
Fix CG in Azure-blobstorage-provider (#268)
KonstantinTyukalov Feb 2, 2024
e931756
Updated codeowners and kubernetes-common: CG fix (#275)
v-mohithgc Feb 5, 2024
b2ff9c1
Update task-lib and remove mockery (#274)
aleksandrlevochkin Feb 7, 2024
45b827d
Fix error related to KuduStackTraceURL
v-mohithgc Feb 7, 2024
3fbba8c
utility-common - Replace 7zip 19 with 7zip 23 (#278)
v-mohithgc Feb 9, 2024
3d52ecd
Changes for Arm64 (#271)
viralpandya Feb 9, 2024
3822b8a
Add retry mechanism for exceptions (#280)
onetocny Feb 14, 2024
ddf4a55
1ES Pipelines Template Adoption (#282)
DmitriiBobreshev Feb 19, 2024
152876b
Code update for arch 'ia32' on windows arm64 and package.json version…
viralpandya Feb 23, 2024
06fb19d
[AzureRMDeployCommon] Replace decompress-zip with node-stream-zip (#290)
kirill-ivlev Mar 1, 2024
7e23ac3
Update error message on expired secrets (#291)
LeftTwixWand Mar 1, 2024
4664268
[webdeployment-common] Replace DecompressZip with node-stream-zip (#292)
kirill-ivlev Mar 4, 2024
e1e2371
skipBuildTagsForGitHubPullRequests (#295)
v-mohithgc Mar 12, 2024
5de4b9b
Rename ExpiredServicePrincipal message (#296)
LeftTwixWand Mar 12, 2024
b360ed2
add onedeploy endpoint (#294)
v-mohithgc Mar 12, 2024
55e49ed
fix version mismatch (#297)
v-mohithgc Mar 13, 2024
d615f01
Remove mockery references from azure-arm-rest and utility-common (#312)
v-mohithgc Apr 16, 2024
af3ddf3
Bump msal-node version (#313)
v-mohithgc Apr 22, 2024
74b799d
Fix casing inconsistency in UniversalPackagesV0 tool cache location (…
zhenghao104 May 2, 2024
b498f99
Localization update (#317)
vmapetr Jun 12, 2024
463b145
Add KeepAlive option for Azure-arm-rest (#318)
DmitriiBobreshev Jun 13, 2024
2a248d9
Add KeepAlive option for Azure-arm-rest (#319)
DmitriiBobreshev Jun 13, 2024
c6d7d40
Bump packages for docker-common package (#320)
DmitriiBobreshev Jun 13, 2024
8fbb51f
azure-arm-rest (#322)
DmitriiBobreshev Jun 14, 2024
5862fd6
[docker-common] bump azure-arm-rest version (#323)
DmitriiBobreshev Jun 14, 2024
4b12763
Masking secrets in common npm get accesstoken (#324)
tintse-thxsky-MSFT Jun 14, 2024
5164346
Mask auth token in locationUltilities.ts (#325)
tintse-thxsky-MSFT Jun 14, 2024
10397db
Package Common Npm Bearer Auth Mask (#327)
tintse-thxsky-MSFT Jun 17, 2024
5cc8d8b
Artifacts-Common Added setseceret in constructor and abstract method …
tintse-thxsky-MSFT Jun 18, 2024
380dfaa
Mask Secret in artifacts common too (#332)
tintse-thxsky-MSFT Jun 19, 2024
874c4f0
Remove zip archive from build directory (#334)
aleksandrlevochkin Jun 24, 2024
7f53c26
Bump webdeployment-common version (#335)
aleksandrlevochkin Jun 25, 2024
66ff442
Bump dependencies version for azure-pipelines-tasks-azure-arm-rest to…
DenisNikulin5 Jun 26, 2024
8eb6d84
Upgrade mocha and artifact-engine to use latest version braces (#337)
ismayilov-ismayil Jun 27, 2024
04f7c52
Move azCliUtils from artifacts-common to azure-arm-rest (#340)
DenisNikulin5 Jul 1, 2024
64b33d2
Add Packaging WIF Handshake for Packaging Authenticate Tasks (#342)
embetten Jul 3, 2024
56a42dd
Add dynamic MSAL loading to azure-arm-rest package to fix compatibili…
DenisNikulin5 Jul 5, 2024
bbf29ff
Bumped the azure-pipelines-tasks-azure-arm-rest version for azure-pip…
DenisNikulin5 Jul 5, 2024
27c16bd
Add Missing Translations for Info_GotAndMaskAuth (#345)
ncook-hxgn Jul 5, 2024
3d9a0fb
Fix typo in ArtifactToolsUtilities (#354)
MicroTuld Jul 12, 2024
91e78a1
Update azure-pipelines-task-lib & jsonwebtoken dependencies in azurer…
DenisRumyantsev Jul 18, 2024
5feb3e6
Update artifacts-common entra user service connection (#357)
embetten Jul 18, 2024
6d49a68
CredProvider - Append singular service connection per run (#355)
AlexVTor Jul 19, 2024
83a8fe1
Add skipEntryNameValidation flag to StreamZip options (#358)
aleksandrlevochkin Jul 24, 2024
627aa16
Update the check of the msdeploy version (#359)
onetocny Jul 29, 2024
e8fd7d2
[artifacs-common] add keep-alive option (#362)
DmitriiBobreshev Aug 8, 2024
1060920
commented out loc in azure artifacts and pacaging comment (#364)
tintse-thxsky-MSFT Aug 13, 2024
230b82b
Fix Packaging Common by Calling setResourcePath at the start of the f…
tintse-thxsky-MSFT Aug 13, 2024
3e75449
Packaging Common External Auth Info (#366)
tintse-thxsky-MSFT Aug 15, 2024
6d0b924
Add Debug Line on Duplicate Credentials (#363)
AlexVTor Aug 15, 2024
2a3231c
artifacts-common Revert Nuget Service Connection Overwrite (#369)
embetten Aug 22, 2024
9728dd3
Add AzureARMRest tests (#370)
kirill-ivlev Aug 26, 2024
74ccf2a
Export 'getfederatedtoken' (#368)
viralpandya Aug 26, 2024
a3f044b
2202985 Docker V2 task fails to push the container images after the t…
PhilipsonJoseph Aug 29, 2024
75621c0
Update `nock` to address CVEs (#379)
aleksandrlevochkin Sep 2, 2024
9f5f3eb
Localization update (#380)
vmapetr Sep 3, 2024
cbfa135
Add callback for node20 timeouts in npm registry (#377)
AlexVTor Sep 3, 2024
f919b0c
Revert and improve connection handle in NpmRegistry (#381)
AlexVTor Sep 4, 2024
77f4b6f
Bumping up package version (#382)
PhilipsonJoseph Sep 5, 2024
bcfa0f5
semver CVE fixes (#383)
DmitriiBobreshev Sep 9, 2024
dcdc738
Migration to CFS (#371)
ivanduplenskikh Sep 10, 2024
b991c7c
Add getJacocoGradleEnablerFunction
max-zaytsev Sep 7, 2023
a1986cf
Use semver
max-zaytsev Sep 20, 2023
82194bd
Merge branch 'users/max-zaytsev/update-codecoverage-jacoco' of https:…
max-zaytsev Sep 11, 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
89 changes: 89 additions & 0 deletions .gdn/.gdnbaselines
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"hydrated": false,
"properties": {
"helpUri": "https://eng.ms/docs/microsoft-security/security/azure-security/cloudai-security-fundamentals-engineering/security-integration/guardian-wiki/microsoft-guardian/general/baselines",
"hydrationStatus": "This file does not contain identifying data. It is safe to check into your repo. To hydrate this file with identifying data, run `guardian hydrate --help` and follow the guidance."
},
"version": "1.0.0",
"baselines": {
"default": {
"name": "default",
"createdDate": "2024-02-19 12:38:43Z",
"lastUpdatedDate": "2024-02-19 12:38:43Z"
}
},
"results": {
"3e5ae515e83952828ad60b7217adfaf23ff30c2a57807d832b3d04ac6df138f3": {
"signature": "3e5ae515e83952828ad60b7217adfaf23ff30c2a57807d832b3d04ac6df138f3",
"alternativeSignatures": [],
"memberOf": [
"default"
],
"justification": "Unit test mocks",
"createdDate": "2024-02-19 12:38:43Z"
},
"8964f6915925ffece89558291588c7e50cb91d6cc0bdb82d647e1a8b9f614c61": {
"signature": "8964f6915925ffece89558291588c7e50cb91d6cc0bdb82d647e1a8b9f614c61",
"alternativeSignatures": [],
"memberOf": [
"default"
],
"justification": "Unit test mocks",
"createdDate": "2024-02-19 12:38:43Z"
},
"e0efa13c009c8e3db070de742d1d9446b4b6c6b1df40cecdfae86b4a420c62e8": {
"signature": "e0efa13c009c8e3db070de742d1d9446b4b6c6b1df40cecdfae86b4a420c62e8",
"alternativeSignatures": [],
"memberOf": [
"default"
],
"justification": "Unit test mocks",
"createdDate": "2024-02-19 12:38:43Z"
},
"dde16a68649da3953f8bd8ef7adc61f17f9adc9464b33074483f801a44c848c3": {
"signature": "dde16a68649da3953f8bd8ef7adc61f17f9adc9464b33074483f801a44c848c3",
"alternativeSignatures": [],
"memberOf": [
"default"
],
"justification": "Unit test mocks",
"createdDate": "2024-02-19 12:38:43Z"
},
"b7be027603978dae161092792f85b9c8130d1b0cb0b173a44eac21e24c5c7800": {
"signature": "b7be027603978dae161092792f85b9c8130d1b0cb0b173a44eac21e24c5c7800",
"alternativeSignatures": [],
"memberOf": [
"default"
],
"justification": "Unit test mocks",
"createdDate": "2024-02-19 12:38:43Z"
},
"3d9d4a4f2fccb14b5c94c4f125d8e3dd755fd793a7c049d3d085c9a50689f0f9": {
"signature": "3d9d4a4f2fccb14b5c94c4f125d8e3dd755fd793a7c049d3d085c9a50689f0f9",
"alternativeSignatures": [],
"memberOf": [
"default"
],
"justification": "Unit test mocks",
"createdDate": "2024-02-19 12:38:43Z"
},
"c034d2b50564df80cb6affc2e56863937cfc73b06841fb0b05f9392450b2ce31": {
"signature": "c034d2b50564df80cb6affc2e56863937cfc73b06841fb0b05f9392450b2ce31",
"alternativeSignatures": [],
"memberOf": [
"default"
],
"justification": "Unit test mocks",
"createdDate": "2024-02-19 12:38:43Z"
},
"9e23ac2436c30839a8cdedbb2b1ef506338b8cd4a9d12c83c976363b5e271461": {
"signature": "9e23ac2436c30839a8cdedbb2b1ef506338b8cd4a9d12c83c976363b5e271461",
"alternativeSignatures": [],
"memberOf": [
"default"
],
"justification": "Unit test mocks",
"createdDate": "2024-02-19 12:38:43Z"
}
}
}
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ common-npm-packages/artifacts-common/ @microsoft/azure-artifacts-pack

common-npm-packages/az-blobstorage-provider/ @omeshp @hiyadav @bishal-pdmsft

common-npm-packages/azure-arm-rest/ @rvairavelu @manolerazvan @pipeline-environment-team
common-npm-packages/azure-arm-rest/ @microsoft/release-management-task-team @manolerazvan

common-npm-packages/azurermdeploycommon/ @vincentdass @vsebesta @rvairavelu @pipeline-environment-team
common-npm-packages/azurermdeploycommon/ @vincentdass @microsoft/release-management-task-team @manolerazvan

common-npm-packages/codeanalysis-common/ @microsoft/akvelon-build-task-team

common-npm-packages/codecoverage-tools/ @rasunkar @microsoft/adoautotest

common-npm-packages/docker-common/ @rvairavelu @manolerazvan
common-npm-packages/docker-common/ @microsoft/release-management-task-team @manolerazvan

common-npm-packages/ios-signing-common/ @microsoft/akvelon-build-task-team @hashtagchris

Expand All @@ -29,4 +29,4 @@ common-npm-packages/securefiles-common/ @microsoft/akvelon-build-task-t

common-npm-packages/utility-common/ @nishubansal @ds-ms

common-npm-packages/webdeployment-common/ @vsebesta @rvairavelu @pipeline-environment-team
common-npm-packages/webdeployment-common/ @microsoft/release-management-task-team @manolerazvan
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/

always-auth=true
3 changes: 3 additions & 0 deletions Tests/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/

always-auth=true
69 changes: 59 additions & 10 deletions Tests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 58 additions & 27 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,65 @@
# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool.
# This pipeline will be extended to the OneESPT template
trigger:
- main
- releases/*

variables:
- name: skipBuildTagsForGitHubPullRequests
value: true
- group: npm-tokens
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
settings:
skipBuildTagsForGitHubPullRequests: true
featureFlags:
autoBaseline: false
sdl:
baseline:
baselineSet: default
baselineFile: $(Build.SourcesDirectory)/.gdn/.gdnbaselines
sourceAnalysisPool:
name: 1ES-ABTT-Shared-Pool
image: abtt-windows-2022
os: windows
customBuildTags:
- ES365AIMigrationTooling
stages:
- stage: 'BuildCommonNpmWin'
displayName: 'Windows - Build & Publish Common Npm packages'
dependsOn: []
pool:
name: 1ES-ABTT-Shared-Pool
image: abtt-windows-2022
os: windows
condition: succeeded()
jobs:
- template: /ci/build-common-packages.yml@self

stages:
- stage: 'BuildCommonNpmWin'
displayName: 'Windows - Build & Publish Common Npm packages'
dependsOn: []
pool:
vmImage: windows-2022
condition: succeeded()
jobs:
- template: ci/build-common-packages.yml

- stage: 'BuildCommonNpmUbuntu'
displayName: 'Ubuntu - Build Common Npm packages'
dependsOn: []
pool:
vmImage: 'ubuntu-20.04'
condition: succeeded()
jobs:
- template: ci/build-common-packages.yml
- stage: 'BuildCommonNpmUbuntu'
displayName: 'Ubuntu - Build Common Npm packages'
dependsOn: []
pool:
name: 1ES-ABTT-Shared-Pool
image: abtt-ubuntu-2204
os: linux
condition: succeeded()
jobs:
- template: /ci/build-common-packages.yml@self

- stage: 'BuildCommonNpmMac'
displayName: 'MacOS - Build Common Npm packages'
dependsOn: []
pool:
vmImage: 'macos-12'
condition: succeeded()
jobs:
- template: ci/build-common-packages.yml
- stage: 'BuildCommonNpmMac'
displayName: 'MacOS - Build Common Npm packages'
dependsOn: []
pool:
name: Azure Pipelines
image: macOS-latest
os: macOS
condition: succeeded()
jobs:
- template: /ci/build-common-packages.yml@self
23 changes: 14 additions & 9 deletions ci/build-common-packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This Yaml Document has been converted by ESAI Yaml Pipeline Conversion Tool.
jobs:
- job: 'BuildCommonNpmPackages'
displayName: 'Build Common Npm Packages'
Expand All @@ -6,28 +7,32 @@ jobs:
clean: true

- task: NodeTool@0
displayName: Use node 10
displayName: Use node 16
inputs:
versionSpec: "10.x"
versionSpec: "16.x"

- script: npm i -g [email protected] --force
displayName: Use npm version 6.14.12
- task: NpmAuthenticate@0
inputs:
workingFile: .npmrc

- script: npm i -g [email protected] --force
displayName: Use npm version 8.19.4

- script: |
npm install
npm install
displayName: Npm install

- script: |
npm run build
npm run build
displayName: Build Common Npm packages

- script: |
node ./ci/verify-source-changes.js
node ./ci/verify-source-changes.js
displayName: Verify task source changes
condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/main'))

- script: |
npm run test
npm run test
displayName: Test Common Npm packages

- task: PublishTestResults@2
Expand All @@ -44,7 +49,7 @@ jobs:

# For CI runs on master, automatically publish packages
- bash: |
npm run publish
npm run publish
condition: and(succeeded(), in(variables['build.reason'], 'IndividualCI', 'BatchedCI', 'Manual'), eq(variables['Agent.OS'], 'Windows_NT'))
env:
NPM_TOKEN: $(npm-automation.token)
Expand Down
2 changes: 1 addition & 1 deletion ci/verify-source-changes.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if (totalDiffList.length) {
});

console.log(``);
console.log(`Make sure you are using Node 10 and NPM 6.`);
console.log(`Make sure you are using Node 16 and NPM 8.`);
console.log(``);

process.exit(1);
Expand Down
3 changes: 3 additions & 0 deletions common-npm-packages/artifacts-common/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/

always-auth=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare function getFederatedWorkloadIdentityCredentials(serviceConnectionName: string, tenantId?: string) : Promise<string | undefined>
export declare function getFeedTenantId(feedUrl: string) : Promise<string | undefined>
Loading
Loading