|
|
@ -26,39 +26,3 @@ steps:
|
|
|
|
- dotnet test BlazorApp.sln --no-restore
|
|
|
|
- dotnet test BlazorApp.sln --no-restore
|
|
|
|
depends_on: [build]
|
|
|
|
depends_on: [build]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: generate-and-deploy-docs
|
|
|
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer
|
|
|
|
|
|
|
|
failure: ignore
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- name: docs
|
|
|
|
|
|
|
|
path: /docs
|
|
|
|
|
|
|
|
commands:
|
|
|
|
|
|
|
|
- /entrypoint.sh
|
|
|
|
|
|
|
|
when:
|
|
|
|
|
|
|
|
branch:
|
|
|
|
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on: [ build ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The volumes declaration appear at the end of the file, after all steps
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: docker-build
|
|
|
|
|
|
|
|
image: plugins/docker
|
|
|
|
|
|
|
|
settings:
|
|
|
|
|
|
|
|
dockerfile: Sources/Dockerfile
|
|
|
|
|
|
|
|
context: .
|
|
|
|
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
|
|
|
repo: hub.codefirst.iut.uca.fr/my-group/my-application-client
|
|
|
|
|
|
|
|
username:
|
|
|
|
|
|
|
|
from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
|
|
|
|
password:
|
|
|
|
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
|
|
|
|
when:
|
|
|
|
|
|
|
|
branch:
|
|
|
|
|
|
|
|
- master
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- name: docs
|
|
|
|
|
|
|
|
temp: {}
|
|
|
|
|
|
|
|