Skip to content

Commit

Permalink
Migration to CFS (#378)
Browse files Browse the repository at this point in the history
* Migration to CFS
* Add .npmrc to all packages in the repository to consume packages from the internal feed.
* Change run to runAsync in L0 tests
* Add SYSTEM_DEBUG environment variable for the test command
* Add NpmAuthenticate@0 task before the installation task
* Fix indents in AppStoreRelease
  • Loading branch information
ivanduplenskikh authored Sep 9, 2024
1 parent fdce582 commit 6fe62f7
Show file tree
Hide file tree
Showing 10 changed files with 2,241 additions and 1,697 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/AppStorePromote/.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
225 changes: 130 additions & 95 deletions Tasks/AppStorePromote/package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Tasks/AppStoreRelease/.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
225 changes: 130 additions & 95 deletions Tasks/AppStoreRelease/package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Tasks/IpaResign/.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
225 changes: 130 additions & 95 deletions Tasks/IpaResign/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 @@ -42,6 +42,10 @@ extends:
inputs:
versionSpec: '20.x'

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

- task: Npm@0
displayName: 'npm install'

Expand Down
2 changes: 2 additions & 0 deletions make.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,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);
process.env['SYSTEM_DEBUG'] = 'true';
Expand Down
3,245 changes: 1,833 additions & 1,412 deletions package-lock.json

Large diffs are not rendered by default.

0 comments on commit 6fe62f7

Please sign in to comment.