Blame ci/docker.yml

Packit Service 20376f
# These are the steps used in a container-based build in VSTS.
Packit Service 20376f
steps:
Packit Service 20376f
- task: docker@0
Packit Service 20376f
  displayName: Build
Packit Service 20376f
  inputs:
Packit Service 20376f
    action: 'Run an image'
Packit Service 20376f
    imageName: ${{ parameters.imageName }}
Packit Service 20376f
    volumes: |
Packit Service 20376f
     $(Build.SourcesDirectory):/src
Packit Service 20376f
     $(Build.BinariesDirectory):/build
Packit Service 20376f
    envVars: ${{ parameters.environmentVariables }}
Packit Service 20376f
    workDir: '/build'
Packit Service 20376f
    containerCommand: '/src/ci/build.sh'
Packit Service 20376f
    detached: false
Packit Service 20376f
- task: docker@0
Packit Service 20376f
  displayName: Test
Packit Service 20376f
  inputs:
Packit Service 20376f
    action: 'Run an image'
Packit Service 20376f
    imageName: ${{ parameters.imageName }}
Packit Service 20376f
    volumes: |
Packit Service 20376f
     $(Build.SourcesDirectory):/src
Packit Service 20376f
     $(Build.BinariesDirectory):/build
Packit Service 20376f
    envVars: ${{ parameters.environmentVariables }}
Packit Service 20376f
    workDir: '/build'
Packit Service 20376f
    containerCommand: '/src/ci/test.sh'
Packit Service 20376f
    detached: false
Packit Service 20376f
- task: publishtestresults@2
Packit Service 20376f
  displayName: Publish Test Results
Packit Service 20376f
  condition: succeededOrFailed()
Packit Service 20376f
  inputs:
Packit Service 20376f
    testResultsFiles: 'results_*.xml'
Packit Service 20376f
    searchFolder: '$(Build.BinariesDirectory)'
Packit Service 20376f
    mergeTestResults: true