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