Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 0 additions & 70 deletions eng/docker-tools/templates/1es-official.yml

This file was deleted.

79 changes: 0 additions & 79 deletions eng/docker-tools/templates/1es-unofficial.yml

This file was deleted.

10 changes: 4 additions & 6 deletions eng/docker-tools/templates/jobs/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,10 @@ jobs:
condition: and(succeeded(), eq(variables['publishImageInfo'], 'true'))
displayName: Publish Image Info

# Task displayNames names are hardcoded to reference the task prefix used by 1ES official
# pipelines in eng/docker-tools/templates/1es-official.yml.
#
# These will fail if they are dependend on by an unofficial pipeline since they use a unique task
# prefix compared to official pipelines (see eng/docker-tools/templates/1es-unofficial.yml). This is
# acceptable because unofficial pipelines should not publish images.
# Task displayNames are hardcoded to reference the task prefix used by 1ES official
# pipelines (🟪). These will fail if they are depended on by an unofficial pipeline since
# they use a unique task prefix compared to official pipelines (🟦).
# This is acceptable because unofficial pipelines should not publish images.
#
# https://github.com/dotnet/docker-tools/issues/1698 tracks making this command no longer depend
# on individual step displayNames.
Expand Down
10 changes: 6 additions & 4 deletions eng/pipelines/annotate-eol-digests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ variables:
value: ""

extends:
template: /eng/docker-tools/templates/1es-official.yml@self
template: /eng/docker-tools/templates/1es.yml@self
parameters:
serviceConnections:
- name: $(publish.serviceConnectionName)
- name: $(marStatus.serviceConnectionName)
stages:
- template: /eng/docker-tools/templates/stages/setup-service-connections.yml@self
parameters:
serviceConnections:
- name: $(publish.serviceConnectionName)
- name: $(marStatus.serviceConnectionName)
- stage: eolAnnotate
displayName: Annotate EOL images
dependsOn: []
Expand Down
3 changes: 1 addition & 2 deletions eng/pipelines/cg-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ variables:
value: false

extends:
template: /eng/docker-tools/templates/1es-official.yml@self
template: /eng/docker-tools/templates/1es.yml@self
parameters:
cgDryRun: ${{ parameters.cgDryRun }}
stages:
- stage: CgDetection
displayName: CG Detection
Expand Down
8 changes: 5 additions & 3 deletions eng/pipelines/check-base-image-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ variables:
- template: /eng/docker-tools/templates/variables/dotnet/secrets.yml@self

extends:
template: /eng/docker-tools/templates/1es-official.yml@self
template: /eng/docker-tools/templates/1es.yml@self
parameters:
serviceConnections:
- name: $(acr-staging.serviceConnectionName)
stages:
- template: /eng/docker-tools/templates/stages/setup-service-connections.yml@self
parameters:
serviceConnections:
- name: $(acr-staging.serviceConnectionName)
- stage: CheckBaseImages
displayName: Check Base Images
dependsOn: []
Expand Down
8 changes: 5 additions & 3 deletions eng/pipelines/cleanup-acr-images-custom-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ parameters:
type: int

extends:
template: /eng/docker-tools/templates/1es-official.yml@self
template: /eng/docker-tools/templates/1es.yml@self
parameters:
serviceConnections:
- name: $(clean.serviceConnectionName)
stages:
- template: /eng/docker-tools/templates/stages/setup-service-connections.yml@self
parameters:
serviceConnections:
- name: $(clean.serviceConnectionName)
- template: /eng/docker-tools/templates/stages/dotnet/publish-config-prod.yml@self
parameters:
stagesTemplate: /eng/pipelines/templates/stages/cleanup-acr-images-custom.yml@self
Expand Down
16 changes: 9 additions & 7 deletions eng/pipelines/cleanup-acr-images-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ variables:
readonly: true

extends:
template: /eng/docker-tools/templates/1es-official.yml@self
template: /eng/docker-tools/templates/1es.yml@self
parameters:
serviceConnections:
# For image removal
- name: $(clean.serviceConnectionName)
# For EOL annotations
- name: $(build.serviceConnectionName)
- name: $(public-mirror.serviceConnectionName)
stages:
- template: /eng/docker-tools/templates/stages/setup-service-connections.yml@self
parameters:
serviceConnections:
# For image removal
- name: $(clean.serviceConnectionName)
# For EOL annotations
- name: $(build.serviceConnectionName)
- name: $(public-mirror.serviceConnectionName)
- template: /eng/docker-tools/templates/stages/dotnet/publish-config-prod.yml@self
parameters:
stagesTemplate: /eng/pipelines/templates/stages/cleanup-acr-images.yml@self
Expand Down
16 changes: 9 additions & 7 deletions eng/pipelines/cleanup-acr-images-unofficial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ variables:
readonly: true

extends:
template: /eng/docker-tools/templates/1es-unofficial.yml@self
template: /eng/docker-tools/templates/1es.yml@self
parameters:
serviceConnections:
# For image removal
- name: $(clean-test.serviceConnectionName)
# For EOL annotations
- name: $(build-test.serviceConnectionName)
- name: $(public-mirror.serviceConnectionName)
stages:
- template: /eng/docker-tools/templates/stages/setup-service-connections.yml@self
parameters:
serviceConnections:
# For image removal
- name: $(clean-test.serviceConnectionName)
# For EOL annotations
- name: $(build-test.serviceConnectionName)
- name: $(public-mirror.serviceConnectionName)
- template: /eng/docker-tools/templates/stages/dotnet/publish-config-nonprod.yml@self
parameters:
stagesTemplate: /eng/pipelines/templates/stages/cleanup-acr-images.yml@self
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/import-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ variables:
value: ''

extends:
template: /eng/docker-tools/templates/1es-official.yml@self
template: /eng/docker-tools/templates/1es.yml@self
parameters:
stages:
- stage: Import
Expand Down
8 changes: 5 additions & 3 deletions eng/pipelines/mirror-base-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ variables:
value: ""

extends:
template: /eng/docker-tools/templates/1es-official.yml@self
template: /eng/docker-tools/templates/1es.yml@self
parameters:
serviceConnections:
- name: $(public-mirror.serviceConnectionName)
stages:
- template: /eng/docker-tools/templates/stages/setup-service-connections.yml@self
parameters:
serviceConnections:
- name: $(public-mirror.serviceConnectionName)
- stage: MirrorBaseImages
displayName: Mirror Base Images
dependsOn: []
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/secret-management-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variables:
- template: templates/variables/common.yml

extends:
template: /eng/docker-tools/templates/1es-unofficial.yml@self
template: /eng/docker-tools/templates/1es.yml@self
parameters:
stages:
- stage: SynchronizeSecrets
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/upload-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variables:
- template: /eng/pipelines/templates/variables/common.yml@self

extends:
template: /eng/docker-tools/templates/1es-official.yml@self
template: /eng/docker-tools/templates/1es.yml@self
parameters:
stages:
- stage: UploadFile
Expand Down
Loading