Skip to content

Commit 9b44a95

Browse files
committed
test
1 parent 623c772 commit 9b44a95

File tree

2 files changed

+60
-54
lines changed

2 files changed

+60
-54
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@
2020
"editor.formatOnSave": false,
2121
"eslint.lintTask.enable": true,
2222
"dotnet.defaultSolution": "disable",
23-
"jest.autoRun": "off"
23+
"jest.autoRun": "off",
24+
"azure-pipelines.1ESPipelineTemplatesSchemaFile": true
2425
}

azure-pipelines/loc.yml

Lines changed: 58 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -32,64 +32,69 @@ variables:
3232
- group: OneLocBuildVariables
3333

3434
extends:
35-
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
35+
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
3636
parameters:
3737
pool:
3838
name: NetCore1ESPool-Svc-Internal
3939
image: 1es-windows-2022-pt
4040
os: windows
4141
stages:
4242
- stage: LocalizationStage
43-
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
43+
# condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
4444
jobs:
45-
- job: Localization
46-
templateContext:
47-
outputs:
48-
- output: pipelineArtifact
49-
displayName: LOC
50-
targetPath: '$(Build.SourcesDirectory)/loc'
51-
condition: ${{ parameters.publishLocalizationFile }}
52-
artifactName: loc
53-
- output: pipelineArtifact
54-
displayName: l10n
55-
targetPath: '$(Build.SourcesDirectory)/l10n'
56-
condition: ${{ parameters.publishLocalizationFile }}
57-
artifactName: l10n
58-
steps:
59-
- task: NodeTool@0
60-
displayName: 'Install Node.js 18.x'
61-
inputs:
62-
# Octokit client needs 18.x to have 'fetch' function.
63-
versionSpec: '18.x'
64-
- checkout: self
65-
clean: true
66-
submodules: true
67-
fetchTags: false
68-
fetchDepth: 0
69-
- pwsh: |
70-
npm install
71-
npm install -g gulp
72-
displayName: 'Install tools'
73-
- pwsh: npm run compile
74-
displayName: 'Compile'
75-
- pwsh: npm run l10nDevGenerateLocalizationBundle
76-
displayName: 'Generate bundle.l10.json'
77-
- pwsh: npm run l10nDevGenerateXlf
78-
displayName: 'Generate xlf files from bundle.10n.json'
79-
- task: OneLocBuild@2
80-
env:
81-
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
82-
inputs:
83-
locProj: loc/LocProject.json
84-
outDir: '$(Build.SourcesDirectory)/loc'
85-
isCreatePrSelected: false
86-
patVariable: $(dn-bot-ceapex-package-r)
87-
packageSourceAuth: patAuth
88-
lclSource: lclFilesfromPackage
89-
LclPackageId: 'LCL-JUNO-PROD-VSCODECS'
90-
- pwsh: npm run l10nDevImportXlf
91-
displayName: 'Import xlf to json.'
92-
- pwsh: gulp 'publish localization content' --userName dotnet-bot --email [email protected] --commitSha $(Build.SourceVersion) --targetRemoteRepo vscode-csharp --baseBranch 'main'
93-
displayName: 'Create PR in GitHub.'
94-
env:
95-
GitHubPAT: $(BotAccount-dotnet-bot-repo-PAT)
45+
- job: test
46+
steps:
47+
- pwsh: echo "Hello 1ES"
48+
49+
# jobs:
50+
# - job: Localization
51+
# templateContext:
52+
# outputs:
53+
# - output: pipelineArtifact
54+
# displayName: LOC
55+
# targetPath: '$(Build.SourcesDirectory)/loc'
56+
# condition: ${{ parameters.publishLocalizationFile }}
57+
# artifactName: loc
58+
# - output: pipelineArtifact
59+
# displayName: l10n
60+
# targetPath: '$(Build.SourcesDirectory)/l10n'
61+
# condition: ${{ parameters.publishLocalizationFile }}
62+
# artifactName: l10n
63+
# steps:
64+
# - task: NodeTool@0
65+
# displayName: 'Install Node.js 18.x'
66+
# inputs:
67+
# # Octokit client needs 18.x to have 'fetch' function.
68+
# versionSpec: '18.x'
69+
# - checkout: self
70+
# clean: true
71+
# submodules: true
72+
# fetchTags: false
73+
# fetchDepth: 0
74+
# - pwsh: |
75+
# npm install
76+
# npm install -g gulp
77+
# displayName: 'Install tools'
78+
# - pwsh: npm run compile
79+
# displayName: 'Compile'
80+
# - pwsh: npm run l10nDevGenerateLocalizationBundle
81+
# displayName: 'Generate bundle.l10.json'
82+
# - pwsh: npm run l10nDevGenerateXlf
83+
# displayName: 'Generate xlf files from bundle.10n.json'
84+
# - task: OneLocBuild@2
85+
# env:
86+
# SYSTEM_ACCESSTOKEN: $(System.AccessToken)
87+
# inputs:
88+
# locProj: loc/LocProject.json
89+
# outDir: '$(Build.SourcesDirectory)/loc'
90+
# isCreatePrSelected: false
91+
# patVariable: $(dn-bot-ceapex-package-r)
92+
# packageSourceAuth: patAuth
93+
# lclSource: lclFilesfromPackage
94+
# LclPackageId: 'LCL-JUNO-PROD-VSCODECS'
95+
# - pwsh: npm run l10nDevImportXlf
96+
# displayName: 'Import xlf to json.'
97+
# - pwsh: gulp 'publish localization content' --userName dotnet-bot --email [email protected] --commitSha $(Build.SourceVersion) --targetRemoteRepo vscode-csharp --baseBranch 'main'
98+
# displayName: 'Create PR in GitHub.'
99+
# env:
100+
# GitHubPAT: $(BotAccount-dotnet-bot-repo-PAT)

0 commit comments

Comments
 (0)