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

build: add code sign parameters and additional setup steps #376

Merged
merged 5 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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