Skip to content

Commit

Permalink
Migration to CFS (#462)
Browse files Browse the repository at this point in the history
* Migration to CFS
Add npm registry configuration to all packages in repository to consume packages from the internal feed
Add NpmAuthenticate@0 task before the installation task
Update MOCHA_TARGET_VERSION to v10.7.3 as specified in package.json
Add SYSTEM_DEBUG environment variable for the test command
  • Loading branch information
ivanduplenskikh authored Sep 4, 2024
1 parent fa22fb3 commit c8312d5
Show file tree
Hide file tree
Showing 13 changed files with 3,173 additions and 2,323 deletions.
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 Tasks/GooglePlayIncreaseRolloutV2/.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
493 changes: 300 additions & 193 deletions Tasks/GooglePlayIncreaseRolloutV2/package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Tasks/GooglePlayPromoteV3/.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
493 changes: 300 additions & 193 deletions Tasks/GooglePlayPromoteV3/package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Tasks/GooglePlayReleaseV4/.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
975 changes: 512 additions & 463 deletions Tasks/GooglePlayReleaseV4/package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Tasks/GooglePlayStatusUpdateV2/.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
488 changes: 296 additions & 192 deletions Tasks/GooglePlayStatusUpdateV2/package-lock.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ extends:
inputs:
version: '20.14.0'

- task: NpmAuthenticate@0
inputs:
workingFile: .npmrc

- task: Npm@1
name: Npm_1
displayName: npm install
Expand Down
2 changes: 1 addition & 1 deletion dev-dependencies-constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

/** Target mocha version for running tests */
exports.MOCHA_TARGET_VERSION = '10.7.0';
exports.MOCHA_TARGET_VERSION = '10.7.3';
/** Current typescript version */
exports.TSC_CURRENT_VERSION = '5.1.6';
/** Minimum supported node version */
Expand Down
2 changes: 2 additions & 0 deletions make.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ target.build = async function() {
// node make.js test --task ShellScript --suite L0
//
target.test = async function() {
process.env['SYSTEM_DEBUG'] = 'true';

ensureTool('tsc', '--version', `Version ${TSC_CURRENT_VERSION}`);
ensureTool('mocha', '--version', MOCHA_TARGET_VERSION);

Expand Down
3,024 changes: 1,743 additions & 1,281 deletions package-lock.json

Large diffs are not rendered by default.

0 comments on commit c8312d5

Please sign in to comment.