Skip to content

Commit

Permalink
ensure integration build still runs (#34944)
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd authored Mar 26, 2024
1 parent bea2d61 commit b07db72
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions eng/pipelines/templates/stages/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,19 +148,17 @@ extends:
- template: /eng/pipelines/templates/variables/globals.yml@self
- template: /eng/pipelines/templates/variables/image.yml@self

# The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch.
- ${{if and(in(variables['Build.Reason'], 'Manual', ''), eq(variables['System.TeamProject'], 'internal'))}}:
- template: archetype-python-release.yml@self
parameters:
DependsOn: "Build"
ServiceDirectory: ${{ parameters.ServiceDirectory }}
Artifacts: ${{ parameters.Artifacts }}
${{ if eq(parameters.ServiceDirectory, 'template') }}:
TestPipeline: true
ArtifactName: packages_extended
DocArtifact: documentation
TargetDocRepoOwner: ${{ parameters.TargetDocRepoOwner }}
TargetDocRepoName: ${{ parameters.TargetDocRepoName }}
DevFeedName: ${{ parameters.DevFeedName }}
- template: archetype-python-release.yml@self
parameters:
DependsOn: "Build"
ServiceDirectory: ${{ parameters.ServiceDirectory }}
Artifacts: ${{ parameters.Artifacts }}
${{ if eq(parameters.ServiceDirectory, 'template') }}:
TestPipeline: true
ArtifactName: packages_extended
DocArtifact: documentation
TargetDocRepoOwner: ${{ parameters.TargetDocRepoOwner }}
TargetDocRepoName: ${{ parameters.TargetDocRepoName }}
DevFeedName: ${{ parameters.DevFeedName }}


0 comments on commit b07db72

Please sign in to comment.