Skip to content

Commit

Permalink
Work around unsupported base image
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpar committed Jun 22, 2023
1 parent 3d699c4 commit 8d9b60e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion azure-pipelines-compiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ stages:
- job: Linux
pool:
${{ if or(ne(variables['System.TeamProject'], 'internal'), in(variables['Build.Reason'], 'Manual', 'PullRequest', 'Schedule')) }}:
vmImage: ubuntu-latest
name: NetCore-Public
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
${{ if and(eq(variables['System.TeamProject'], 'internal'), notin(variables['Build.Reason'], 'Manual', 'PullRequest', 'Schedule')) }}:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
Expand Down
3 changes: 2 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ stages:
options: --init # This ensures all the stray defunct processes are reaped.
pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
vmImage: ubuntu-latest
name: NetCore-Public
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
${{ if eq(variables['System.TeamProject'], 'internal') }}:
name: $(DncEngInternalBuildPool)
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
Expand Down

1 comment on commit 8d9b60e

@xiaoqiang2018
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR:OK;

Please sign in to comment.