|
|
@ -49,6 +49,9 @@ steps:
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- name: docs
|
|
|
|
- name: docs
|
|
|
|
path: /docs
|
|
|
|
path: /docs
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_DOTNET_ROLL_FORWARD: LatestMajor
|
|
|
|
|
|
|
|
CODEFIRST_CLIENTDRONE_ENV_DOTNET_ROLL_FORWARD_TO_PRERELEASE: 1
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd src/
|
|
|
|
- cd src/
|
|
|
|
- dotnet restore HeartTrack.sln
|
|
|
|
- dotnet restore HeartTrack.sln
|
|
|
@ -88,11 +91,6 @@ trigger:
|
|
|
|
event:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- push
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: hadolint
|
|
|
|
|
|
|
|
image: hadolint/hadolint:latest-alpine
|
|
|
|
|
|
|
|
commands:
|
|
|
|
|
|
|
|
- cd src/HeartTrackAPI
|
|
|
|
|
|
|
|
- hadolint Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: docker-build-and-push
|
|
|
|
- name: docker-build-and-push
|
|
|
|
image: plugins/docker
|
|
|
|
image: plugins/docker
|
|
|
@ -105,7 +103,6 @@ steps:
|
|
|
|
from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
depends_on: [ hadolint ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# database container stub
|
|
|
|
# database container stub
|
|
|
|
- name: deploy-container-stub
|
|
|
|
- name: deploy-container-stub
|
|
|
|