Skip to content

Commit

Permalink
Image Publication Pipeline Touchup (Azure#5242) (Azure#5243)
Browse files Browse the repository at this point in the history
Image Publication Pipeline Touchup
- No Trigger from PR & Builds
- Improve some of the display names
  • Loading branch information
yophilav authored Jul 13, 2021
1 parent ef84a0c commit b12b41e
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions builds/misc/images-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
# to.registry.address: ''
# to.registry.namespace: ''
# pool.linux.name: ''
# pool.windows.name: ''

trigger: none
pr: none

variables:
NugetSecurityAnalysisWarningLevel: warn
Expand Down Expand Up @@ -117,37 +121,37 @@ jobs:
args: '--from $(from.registry.address)/$(from.registry.namespace)/azureiotedge-hub:$(resources.pipeline.images.runName)-linux-arm64v8 --to $(to.registry.address)/$(to.registry.namespace)/azureiotedge-hub:$(resources.pipeline.images.runName)-linux-arm64v8'

- task: ShellScript@2
displayName: 'Publish Temp Sensor - Linux amd64'
displayName: 'Publish Temperature Sensor - Linux amd64'
inputs:
scriptPath: '$(System.DefaultWorkingDirectory)/scripts/linux/moveImage.sh'
args: '--from $(from.registry.address)/$(from.registry.namespace)/azureiotedge-simulated-temperature-sensor:$(resources.pipeline.images.runName)-linux-amd64 --to $(to.registry.address)/$(to.registry.namespace)/azureiotedge-simulated-temperature-sensor:$(resources.pipeline.images.runName)-linux-amd64'

- task: ShellScript@2
displayName: 'Publish Temp Sensor - Linux arm32v7'
displayName: 'Publish Temperature Sensor - Linux arm32v7'
inputs:
scriptPath: '$(System.DefaultWorkingDirectory)/scripts/linux/moveImage.sh'
args: '--from $(from.registry.address)/$(from.registry.namespace)/azureiotedge-simulated-temperature-sensor:$(resources.pipeline.images.runName)-linux-arm32v7 --to $(to.registry.address)/$(to.registry.namespace)/azureiotedge-simulated-temperature-sensor:$(resources.pipeline.images.runName)-linux-arm32v7'

- task: ShellScript@2
displayName: 'Publish Temp Sensor - Linux arm64v8'
displayName: 'Publish Temperature Sensor - Linux arm64v8'
inputs:
scriptPath: '$(System.DefaultWorkingDirectory)/scripts/linux/moveImage.sh'
args: '--from $(from.registry.address)/$(from.registry.namespace)/azureiotedge-simulated-temperature-sensor:$(resources.pipeline.images.runName)-linux-arm64v8 --to $(to.registry.address)/$(to.registry.namespace)/azureiotedge-simulated-temperature-sensor:$(resources.pipeline.images.runName)-linux-arm64v8'

- task: ShellScript@2
displayName: 'Publish diagnostics - Linux amd64'
displayName: 'Publish Diagnostic Module - Linux amd64'
inputs:
scriptPath: '$(System.DefaultWorkingDirectory)/scripts/linux/moveImage.sh'
args: '--from $(from.registry.address)/$(from.registry.namespace)/azureiotedge-diagnostics:$(resources.pipeline.images.runName)-linux-amd64 --to $(to.registry.address)/$(to.registry.namespace)/azureiotedge-diagnostics:$(resources.pipeline.images.runName)-linux-amd64'

- task: ShellScript@2
displayName: 'Publish diagnostics - Linux arm32v7'
displayName: 'Publish Diagnostic Module - Linux arm32v7'
inputs:
scriptPath: '$(System.DefaultWorkingDirectory)/scripts/linux/moveImage.sh'
args: '--from $(from.registry.address)/$(from.registry.namespace)/azureiotedge-diagnostics:$(resources.pipeline.images.runName)-linux-arm32v7 --to $(to.registry.address)/$(to.registry.namespace)/azureiotedge-diagnostics:$(resources.pipeline.images.runName)-linux-arm32v7'

- task: ShellScript@2
displayName: 'Publish diagnostics - Linux arm64v8'
displayName: 'Publish Diagnostic Module - Linux arm64v8'
inputs:
scriptPath: '$(System.DefaultWorkingDirectory)/scripts/linux/moveImage.sh'
args: '--from $(from.registry.address)/$(from.registry.namespace)/azureiotedge-diagnostics:$(resources.pipeline.images.runName)-linux-arm64v8 --to $(to.registry.address)/$(to.registry.namespace)/azureiotedge-diagnostics:$(resources.pipeline.images.runName)-linux-arm64v8'
Expand Down Expand Up @@ -225,7 +229,7 @@ jobs:
BUILD_REPOSITORY_LOCALPATH: $(System.DefaultWorkingDirectory)

- task: Bash@3
displayName: 'Publish diagnostics Manifest'
displayName: 'Publish Diagnostic Module Manifest'
inputs:
targetType: filePath
filePath: '$(System.DefaultWorkingDirectory)/scripts/linux/buildManifest.sh'
Expand Down

0 comments on commit b12b41e

Please sign in to comment.