Compare commits

...

5 Commits

Author SHA1 Message Date
Camille PETITALOT 298dedfac0 Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is passing Details
1 year ago
Camille PETITALOT 2a79a8e00e Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details
1 year ago
Camille PETITALOT c229a639b5 Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details
1 year ago
Camille PETITALOT d2830b285a Mise à jour de '.drone.yml'
continuous-integration/drone/push Build encountered an error Details
1 year ago
Camille PETITALOT ee4ea1c3ac Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details
1 year ago

@ -6,41 +6,37 @@ trigger:
- push
steps:
- name: sonar
image: sonarsource/sonar-scanner-cli:5
commands:
- sonar-scanner -Dsonar.projectKey=drone-health-clfreville2 -Dsonar.sources=. -Dsonar.login=$${PLUGIN_SONAR_TOKEN} -Dsonar.host.url=$${PLUGIN_SONAR_HOST} -Dsonar.php.coverage.reportPaths=coverage.xml
settings:
sonar_host:
from_secret: sonar_host
sonar_token:
from_secret: sonar_token
- name: rewrite-urls
image: busybox:latest
commands:
- find . -type f -exec sed -i -r "s@(href|src)=\"/@\1=\"$${PLUGIN_CONTAINER_PATH}@g" {} +
- name: docker-build-and-push
image: plugins/docker
settings:
container_path: /containers/clementfreville2-drone-health/
dockerfile: docker/Dockerfile
context: .
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/camille.petitalot/drone-health
username:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
mirror: https://proxy.iut.uca.fr:8443
- name: docker-build-and-push
- name: docker-build-and-push-2
image: plugins/docker
failure: ignore
settings:
dockerfile: docker/Dockerfile
context: .
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/clement.freville2/drone-health
repo: hub.codefirst.iut.uca.fr/camille.petitalot/drone-health
username:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
depends_on:
- rewrite-urls
- name: deploy-container
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/clement.freville2/drone-health:latest
IMAGENAME: hub.codefirst.iut.uca.fr/camille.petitalot/drone-health:latest
CONTAINERNAME: drone-health
COMMAND: create
OVERWRITE: true

Loading…
Cancel
Save