From 5580b8cdd58e298875d15c341439eae2425b15a6 Mon Sep 17 00:00:00 2001 From: Yahya MABROUK Date: Fri, 13 Jun 2025 17:04:12 +0200 Subject: [PATCH] Upload files to '' --- .drone.yml | 37 +++++++++++++++++++++++++++++++++++++ .gitignore | 28 ++++++++++++++++++++++++++++ README.md | 5 +++++ 3 files changed, 70 insertions(+) create mode 100644 .drone.yml create mode 100644 .gitignore create mode 100644 README.md diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..fd19f0a --- /dev/null +++ b/.drone.yml @@ -0,0 +1,37 @@ +kind: pipeline +type: docker +name: Deploiement + +trigger: + event: + - push + +steps: + - name: code-analysis + image: aosapps/drone-sonar-plugin + settings: + sonar_host: + from_secret: sonar_host + sonar_token: + from_secret: sonar_token + + - name: docker-build-and-push + image: plugins/docker + settings: + dockerfile: docker/Dockerfile + context: . + registry: hub.codefirst.iut.uca.fr + mirror: https://proxy.iut.uca.fr:8443 + repo: hub.codefirst.iut.uca.fr/yahya.mabrouk/Portfolio + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD + + - name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/yahya.mabrouk/Portfolio:latest + CONTAINERNAME: Portfolio + COMMAND: create + OVERWRITE: true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d4777d2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,28 @@ +# ---> macOS +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + diff --git a/README.md b/README.md new file mode 100644 index 0000000..5f27667 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +[![Build Status](https://codefirst.iut.uca.fr/api/badges/yahya.mabrouk/Portfolio/status.svg)](https://codefirst.iut.uca.fr/yahya.mabrouk/Portfolio) + +# Portfolio + +A simple template for a web site. \ No newline at end of file