azure-pipelines.yml in r10k-3.3.2 vs azure-pipelines.yml in r10k-3.3.3
- old
+ new
@@ -29,30 +29,34 @@
- powershell: |
$gemfile = Join-Path -Path (Get-Location) -ChildPath 'docker/Gemfile'
$gempath = Join-Path -Path (Get-Location) -ChildPath 'docker/.bundle/gems'
bundle config --local gemfile $gemfile
bundle config --local path $gempath
- bundle install
+ bundle install --with test
displayName: Fetch Dependencies
+ timeoutInMinutes: 1
name: fetch_deps
- powershell: |
. "$(bundle show pupperware)/ci/build.ps1"
Write-HostDiagnostics
displayName: Diagnostic Host Information
+ timeoutInMinutes: 2
name: hostinfo
- powershell: |
. "$(bundle show pupperware)/ci/build.ps1"
Lint-Dockerfile -Name $ENV:CONTAINER_NAME -Ignore ($ENV:LINT_IGNORES -split ' ')
displayName: Lint $(CONTAINER_NAME) Dockerfile
+ timeoutInMinutes: 1
name: lint_dockerfile
- powershell: |
. "$(bundle show pupperware)/ci/build.ps1"
Build-Container -Name $ENV:CONTAINER_NAME -Namespace $ENV:NAMESPACE -PathOrUri $ENV:CONTAINER_BUILD_PATH
displayName: Build $(CONTAINER_NAME) Container
+ timeoutInMinutes: 5
name: build_container
- powershell: |
. "$(bundle show pupperware)/ci/build.ps1"
Initialize-TestEnv
@@ -61,10 +65,11 @@
- powershell: |
. "$(bundle show pupperware)/ci/build.ps1"
Invoke-ContainerTest -Name $ENV:CONTAINER_NAME -Namespace $ENV:NAMESPACE
displayName: Test $(CONTAINER_NAME)
+ timeoutInMinutes: 5
name: test_container
- task: PublishTestResults@2
displayName: Publish $(CONTAINER_NAME) test results
inputs:
@@ -74,7 +79,7 @@
- powershell: |
. "$(bundle show pupperware)/ci/build.ps1"
Clear-BuildState -Name $ENV:CONTAINER_NAME -Namespace $ENV:NAMESPACE
displayName: Container Cleanup
- timeoutInMinutes: 3
+ timeoutInMinutes: 4
condition: always()