mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
Prepare basic integration tests for certbot dockers
This commit is contained in:
parent
cb916a0682
commit
19b7c2df28
1 changed files with 18 additions and 0 deletions
|
|
@ -31,6 +31,24 @@ jobs:
|
|||
path: $(Build.ArtifactStagingDirectory)
|
||||
artifact: docker_$(DOCKER_ARCH)
|
||||
displayName: Store Docker artifact
|
||||
- job: docker_run
|
||||
dependsOn: docker_build
|
||||
pool:
|
||||
vmImage: ubuntu-18.04
|
||||
steps:
|
||||
- task: DownloadPipelineArtifact@2
|
||||
inputs:
|
||||
artifact: docker_amd64
|
||||
path: $(Build.SourcesDirectory)
|
||||
displayName: Retrieve Docker images
|
||||
- bash: set -e && docker load --input $(Build.SourcesDirectory)/images.tar
|
||||
displayName: Load Docker images
|
||||
- bash: |
|
||||
set -e
|
||||
DOCKER_IMAGES=$(docker images --filter reference='*/certbot' --filter reference='*/dns-*' --format '{{.Repository}}')
|
||||
for $DOCKER_IMAGE in DOCKER_IMAGES
|
||||
do docker run --rm $DOCKER_IMAGE plugin --prepare
|
||||
done
|
||||
- job: installer_build
|
||||
pool:
|
||||
vmImage: vs2017-win2016
|
||||
|
|
|
|||
Loading…
Reference in a new issue