ci(azure-pipelines): rename jobs/tasks
This commit is contained in:
parent
64a8c0dee0
commit
77c856b842
@ -5,7 +5,7 @@
|
|||||||
pool: 'Prod Private Agent Pool'
|
pool: 'Prod Private Agent Pool'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: BuildFrontendImage
|
- job: FrontendImage
|
||||||
container:
|
container:
|
||||||
image: devfra.azurecr.io/de.fraport.build/tools:1.1.0
|
image: devfra.azurecr.io/de.fraport.build/tools:1.1.0
|
||||||
endpoint: devfra
|
endpoint: devfra
|
||||||
@ -47,7 +47,7 @@ jobs:
|
|||||||
command: logout
|
command: logout
|
||||||
containerRegistry: devFra
|
containerRegistry: devFra
|
||||||
|
|
||||||
- job: BuildBackendImage
|
- job: BackendImage
|
||||||
pool: 'Prod Private Agent Pool'
|
pool: 'Prod Private Agent Pool'
|
||||||
container:
|
container:
|
||||||
image: devfra.azurecr.io/de.fraport.build/tools:1.1.0
|
image: devfra.azurecr.io/de.fraport.build/tools:1.1.0
|
||||||
@ -82,8 +82,8 @@ jobs:
|
|||||||
command: logout
|
command: logout
|
||||||
containerRegistry: devFra
|
containerRegistry: devFra
|
||||||
|
|
||||||
- job: CompileFrontend
|
- job: FrontendBuild
|
||||||
dependsOn: BuildFrontendImage
|
dependsOn: FrontendImage
|
||||||
condition: succeeded()
|
condition: succeeded()
|
||||||
container:
|
container:
|
||||||
image: devfra.azurecr.io/de.fraport.fradrive.build/frontend:$(Build.BuildNumber)
|
image: devfra.azurecr.io/de.fraport.fradrive.build/frontend:$(Build.BuildNumber)
|
||||||
@ -91,14 +91,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
name: compileFrontend
|
name: frontendCompile
|
||||||
displayName: Compile frontend
|
displayName: Compile frontend
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
script: |
|
script: |
|
||||||
make -- --compile-frontend IN_CONTAINER=true
|
make -- --compile-frontend IN_CONTAINER=true
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
name: testFrontend
|
name: frontendTest
|
||||||
displayName: Test frontend
|
displayName: Test frontend
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
@ -106,7 +106,7 @@ jobs:
|
|||||||
make -- --lint-frontend IN_CONTAINER=true
|
make -- --lint-frontend IN_CONTAINER=true
|
||||||
make -- --test-frontend IN_CONTAINER=true
|
make -- --test-frontend IN_CONTAINER=true
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
name: CopyFrontendArtifacts
|
name: frontendCopyArtifacts
|
||||||
displayName: Prepare frontend artifacts
|
displayName: Prepare frontend artifacts
|
||||||
inputs:
|
inputs:
|
||||||
Contents: |
|
Contents: |
|
||||||
@ -116,7 +116,7 @@ jobs:
|
|||||||
config/manifest.json
|
config/manifest.json
|
||||||
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
name: PublishFrontendArtifacts
|
name: frontendPublishArtifacts
|
||||||
displayName: Publish frontend artifacts
|
displayName: Publish frontend artifacts
|
||||||
inputs:
|
inputs:
|
||||||
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
|||||||
Reference in New Issue
Block a user