Initial commit

master
Enzo JOLYS 6 months ago
commit 0249b3678b

@ -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/enzo.jolys/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/enzo.jolys/Portfolio:latest
CONTAINERNAME: Portfolio
COMMAND: create
OVERWRITE: true

28
.gitignore vendored

@ -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

@ -0,0 +1,5 @@
[![Build Status](https://codefirst.iut.uca.fr/api/badges/enzo.jolys/Portfolio/status.svg)](https://codefirst.iut.uca.fr/enzo.jolys/Portfolio)
# Portfolio
A simple template for a web site.

@ -0,0 +1,4 @@
<Files *>
Order Allow,Deny
Deny from All
</Files>

@ -0,0 +1,4 @@
FROM php:8.0-apache as base
COPY . /var/www/html/
WORKDIR /var/www/html/
EXPOSE 80

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

@ -0,0 +1,34 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Portfolio - One incredible styled html page</title>
<link rel="stylesheet" href="mycoolstyle.css">
</head>
<body>
<!-- Navigation menu -->
<ul class="navbar">
<li><a href="https://codefirst.iut.uca.fr/home">Code#0</a>
<li><a href="http://iut.uca.fr">IUT</a>
<li><a href="https://neilyoungarchives.com/">Very good music</a>
<li><a href="https://www.youtube.com/watch?v=CY5dTBhRxOA">Very good music too!</a>
</ul>
<!-- Main Content -->
<h1>Portfolio is my first page, and it has got style!</h1>
<p>Welcome on this template html/css project
<p>Very simple, some links, some menu... make it your own
&hellip;
<p>I have nothing more to say
<!-- my footer -->
<address>Template made in 2022<br>
with Code#0 <a href="https://codefirst.iut.uca.fr/home"><img src="images/CodeFirstLogo.png" alt="Code#0" align="middle" border="0" height="40px"/>
</a></address>
</body>
</html>

@ -0,0 +1,32 @@
body {
padding-left: 11em;
font-family: Georgia, 'Georgia', "Times New Roman",
Times, serif;
color: darksalmon;
background-color: rgb(39, 39, 84) }
ul.navbar {
list-style-type: none;
padding: 0;
margin: 0;
position: absolute;
top: 2em;
left: 1em;
width: 9em }
h1 {
font-family: Helvetica, Geneva, Arial,
SunSans-Regular, sans-serif }
ul.navbar li {
background: white;
margin: 0.5em 0;
padding: 0.3em;
border-right: 1em solid darksalmon }
ul.navbar a {
text-decoration: none }
a:link {
color: blue }
a:visited {
color: darkblue }
address {
margin-top: 1em;
padding-top: 1em;
border-top: thin dotted }
Loading…
Cancel
Save