* Generate BOM files on build * Upload BOM to Dependency Track * Move Backoffice BOM generation to right after install The build and/or pack steps are deleting files that are needed for the BOM to be generated properly. * Split the BOM uploads into different jobs * Fix wrong usage of parameters * Move order of dependency track stage * Fix wrong umbracoVersion value * Small fixes * Log curl response headers * Correct version sent to dependency track * Adjusted curl flags * Fix bom file path * Fix dotnet bom file name * Add Login UI to dependency track * Generate BOM for E2E Tests * Move dependency track stage * Move acceptance test .env generation to e2e install template Needed as the post install script is expecting this to exist. * Use major version if public release * Missing ')' * Reverted npm install command changes in static assets project
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
parameters:
|
|
- name: nodeVersion
|
|
type: string
|
|
default: ''
|
|
|
|
- name: PlaywrightUserEmail
|
|
type: string
|
|
default: ''
|
|
|
|
- name: PlaywrightPassword
|
|
type: string
|
|
default: ''
|
|
|
|
- name: ASPNETCORE_URLS
|
|
type: string
|
|
default: ''
|
|
|
|
- name: npm_config_cache
|
|
type: string
|
|
default: ''
|
|
|
|
steps:
|
|
- task: DownloadPipelineArtifact@2
|
|
displayName: Download NuGet artifacts
|
|
inputs:
|
|
artifact: nupkg
|
|
path: $(Agent.BuildDirectory)/app/nupkg
|
|
|
|
- task: UseDotNet@2
|
|
displayName: Use .NET SDK from global.json
|
|
inputs:
|
|
useGlobalJson: true
|
|
|
|
- template: templates/e2e-install.yml
|
|
parameters:
|
|
nodeVersion: ${{ parameters.nodeVersion }}
|
|
npm_config_cache: ${{ parameters.npm_config_cache }}
|
|
PlaywrightUserEmail: ${{ parameters.PlaywrightUserEmail }}
|
|
PlaywrightPassword: ${{ parameters.PlaywrightPassword }}
|
|
ASPNETCORE_URLS: ${{ parameters.ASPNETCORE_URLS }}
|
|
|
|
# Install Template
|
|
- pwsh: |
|
|
$cmsVersion = "$(Build.BuildNumber)" -replace "\+",".g"
|
|
dotnet new nugetconfig
|
|
dotnet nuget add source ./nupkg --name Local
|
|
dotnet new install Umbraco.Templates::$cmsVersion
|
|
dotnet new umbraco --name UmbracoProject --version $cmsVersion --exclude-gitignore --no-restore --no-update-check
|
|
displayName: Install Template
|
|
workingDirectory: $(Agent.BuildDirectory)/app
|