Skip to content

Commit

Permalink
Change OptProf git tag manual override to false (#4851) (#4964)
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Zivkovic <[email protected]>
  • Loading branch information
nkolev92 and zivkan authored Dec 7, 2022
1 parent be3675b commit 51ca5ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eng/pipelines/optprof.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ resources:

parameters:
# Whether or not commit should be tagged for manual deployments
- name: optEnableOptProfTagging
- name: CreateGitTagOnManualRun
type: boolean
default: true
default: false

# Whether or not to delete the test machines after the run completes.
- name: testMachineCleanUpStrategy
Expand Down Expand Up @@ -170,6 +170,6 @@ stages:
- template: \steps\powershell\execute-script.yml@DartLabTemplates
parameters:
displayName: Create OptimizationInputs Tag in Repository
condition: or(and(succeeded(), in(variables['Build.Reason'], 'ResourceTrigger')), eq('${{parameters.optEnableOptProfTagging}}', 'true'))
condition: and(succeeded(), or(in(variables['Build.Reason'], 'ResourceTrigger'), eq('${{parameters.CreateGitTagOnManualRun}}', 'true')))
filePath: $(DartLab.Path)\Scripts\AzureDevOps\Repos\New-GitAnnotatedTag.ps1
arguments: -InstanceURL '$(System.CollectionUri)' -ProjectName '$(System.TeamProject)' -RepositoryName '$(Build.Repository.Name)' -CommitID '$(resources.pipeline.ComponentBuildUnderTest.sourceCommit)' -TagName '$(optDropName)' -JSON @{ releaseWebURL = "$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)" } -OAuthAccessToken (ConvertTo-SecureString '$(System.AccessToken)' -AsPlainText -Force)

0 comments on commit 51ca5ad

Please sign in to comment.