mirror of
https://github.com/adferrand/docker-backuppc.git
synced 2023-11-05 04:40:26 +01:00
Fix names, add docker trigger
This commit is contained in:
parent
6d14e836ff
commit
ec0c815d56
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user