diff --git a/.azure-pipelines/templates/integration-jobs.yml b/.azure-pipelines/templates/integration-jobs.yml index c0f46e4..7c48eb6 100644 --- a/.azure-pipelines/templates/integration-jobs.yml +++ b/.azure-pipelines/templates/integration-jobs.yml @@ -13,7 +13,7 @@ jobs: path: $(Build.ArtifactStagingDirectory) artifact: docker displayName: Store Docker artifact - - job: unit-tests + - job: unit_tests dependsOn: build pool: vmImage: ubuntu-18.04 @@ -28,7 +28,7 @@ jobs: mkdir -p ./bin curl -fsSL https://goss.rocks/install | GOSS_DST=./bin sh GOSS_PATH=./bin/goss GOSS_SLEEP=2 GOSS_FILES_PATH=./tests ./bin/dgoss run adferrand/backuppc - - job: integration-tests + - job: integration_tests dependsOn: build pool: vmImage: ubuntu-18.04 diff --git a/.azure-pipelines/templates/release-jobs.yml b/.azure-pipelines/templates/release-jobs.yml index 0bb4602..2670b6a 100644 --- a/.azure-pipelines/templates/release-jobs.yml +++ b/.azure-pipelines/templates/release-jobs.yml @@ -43,3 +43,10 @@ jobs: releaseNotesFile: $(Build.SourcesDirectory)/release_$(ReleaseVersion).md addChangeLog: false displayName: Create GitHub Release + - job: trigger-dockerhub + pool: + vmImage: ubuntu-18.04 + steps: + - script: | + curl -H "Content-Type: application/json" --data '{"docker_tag": "master"}' -X POST https://registry.hub.docker.com/u/adferrand/backuppc/trigger/$(DOCKERHUB_TRIGGER_ID)/ + displayName: Trigger DockerHub build