Skip to content

Commit

Permalink
build: add code sign parameters and additional setup steps (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackchoey authored Jan 14, 2025
1 parent 67b2685 commit 854cd24
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .azure-pipelines/1esmain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ parameters:
- name: enableLongRunningTests
displayName: Enable Long Running Tests
type: boolean
default: true
default: false
- name: enableSigning
displayName: Enable Signing
type: boolean
default: false

variables:
# Required by MicroBuild template
Expand All @@ -39,4 +43,12 @@ variables:
extends:
template: azure-pipelines/1esmain.yml@azExtTemplates
parameters:
useAzureFederatedCredentials: ${{ parameters.enableLongRunningTests }}
useAzureFederatedCredentials: ${{ parameters.enableLongRunningTests }}
enableSigning: ${{ parameters.enableSigning }}
additionalSetupSteps:
- pwsh: |
echo Updating aikey in package.json
(Get-Content package.json) -replace '"aikey": ".*"', '"aikey": "$(PRODUCTION_AI_KEY)"' | Set-Content package.json
displayName: Update aikey in package.json
env:
PRODUCTION_AI_KEY: $(PRODUCTION_AI_KEY)
2 changes: 1 addition & 1 deletion .azure-pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ parameters:
resources:
pipelines:
- pipeline: build
source: \API Catalog Tooling\VSCode\Extensions\vscode-apimanagement # CUSTOMIZE - location of the pipeline that produces the artifacts
source: \API Catalog Tooling\VSCode\Extensions\vscode-apimanagement-main # CUSTOMIZE - location of the pipeline that produces the artifacts
repositories:
- repository: azExtTemplates
type: github
Expand Down

0 comments on commit 854cd24

Please sign in to comment.