Skip to content

Commit

Permalink
disable build (#2687)
Browse files Browse the repository at this point in the history
  • Loading branch information
colombod authored Feb 6, 2023
1 parent a102ff9 commit 1413e87
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,52 +308,6 @@ stages:
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults'
condition: always()

- template: /eng/common/templates/jobs/jobs.yml
parameters:
enableMicrobuild: true
enableSbom: false
jobs:
- job: Dockerfile_Main
pool:
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
name: NetCore-Public
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
steps:
- checkout: self
clean: true
- task: Docker@2
displayName: Build main Dockerfile
continueOnError: true
inputs:
command: build
Dockerfile: "$(Build.SourcesDirectory)/Dockerfile"

- template: /eng/common/templates/jobs/jobs.yml
parameters:
enableMicrobuild: true
enableSbom: false
jobs:
- job: Dockerfile_Binder_Dependency
pool:
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
name: NetCore-Public
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
steps:
- checkout: self
clean: true
- task: Docker@2
displayName: Build Binder dependency Dockerfile
continueOnError: true
inputs:
command: build
Dockerfile: "$(Build.SourcesDirectory)/samples/my binder/Dockerfile"

#---------------------------------------------------------------------------------------------------------------------#
# Post Build #
#---------------------------------------------------------------------------------------------------------------------#
Expand Down

0 comments on commit 1413e87

Please sign in to comment.