docker/ci/build.ps1 in r10k-3.1.1 vs docker/ci/build.ps1 in r10k-3.2.0
- old
+ new
@@ -52,10 +52,12 @@
{
Push-Location (Join-Path (Get-CurrentDirectory) '..')
bundle install --path .bundle/gems
$ENV:PUPPET_TEST_DOCKER_IMAGE = "$Namespace/r10k:$Version"
+ Write-Host "Testing against image: ${ENV:PUPPET_TEST_DOCKER_IMAGE}"
+ bundle exec rspec --version
bundle exec rspec r10k/spec
Pop-Location
}
@@ -70,10 +72,10 @@
Write-Output 'Pruning Containers'
docker container prune --force
# this provides example data which ConvertFrom-String infers parsing structure with
$template = @'
-{Version*:1.2.3} {ID:5b84704c1d01} {[DateTime]Created:2019-02-07 18:24:51} +0000 GMT
+{Version*:10.2.3*} {ID:5b84704c1d01} {[DateTime]Created:2019-02-07 18:24:51} +0000 GMT
{Version*:latest} {ID:0123456789ab} {[DateTime]Created:2019-01-29 00:05:33} +0000 GMT
'@
$output = docker images --filter=reference="$Namespace/${Name}" --format "{{.Tag}} {{.ID}} {{.CreatedAt}}"
Write-Output @"