automated push from the terminal
All checks were successful
code.softwareshinobi.com-softwareshinobi/resume.softwareshinobi.com/pipeline/head This commit looks good
All checks were successful
code.softwareshinobi.com-softwareshinobi/resume.softwareshinobi.com/pipeline/head This commit looks good
This commit is contained in:
11
.dockerignore
Normal file
11
.dockerignore
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
.git
|
||||||
|
|
||||||
|
.pristine
|
||||||
|
|
||||||
|
.trash
|
||||||
|
|
||||||
|
.recycle
|
||||||
|
|
||||||
|
.backup
|
||||||
|
|
||||||
|
.template
|
||||||
69
.gitignore
vendored
69
.gitignore
vendored
@@ -1,69 +0,0 @@
|
|||||||
# ---> Linux
|
|
||||||
*~
|
|
||||||
|
|
||||||
# temporary files which can be created if a process still has a handle open of a deleted file
|
|
||||||
.fuse_hidden*
|
|
||||||
|
|
||||||
# KDE directory preferences
|
|
||||||
.directory
|
|
||||||
|
|
||||||
# Linux trash folder which might appear on any partition or disk
|
|
||||||
.Trash-*
|
|
||||||
|
|
||||||
# .nfs files are created when an open file is removed but is still being accessed
|
|
||||||
.nfs*
|
|
||||||
|
|
||||||
# ---> Windows
|
|
||||||
# Windows thumbnail cache files
|
|
||||||
Thumbs.db
|
|
||||||
Thumbs.db:encryptable
|
|
||||||
ehthumbs.db
|
|
||||||
ehthumbs_vista.db
|
|
||||||
|
|
||||||
# Dump file
|
|
||||||
*.stackdump
|
|
||||||
|
|
||||||
# Folder config file
|
|
||||||
[Dd]esktop.ini
|
|
||||||
|
|
||||||
# Recycle Bin used on file shares
|
|
||||||
$RECYCLE.BIN/
|
|
||||||
|
|
||||||
# Windows Installer files
|
|
||||||
*.cab
|
|
||||||
*.msi
|
|
||||||
*.msix
|
|
||||||
*.msm
|
|
||||||
*.msp
|
|
||||||
|
|
||||||
# Windows shortcuts
|
|
||||||
*.lnk
|
|
||||||
|
|
||||||
# ---> 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
|
|
||||||
|
|||||||
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
FROM nginx:latest
|
||||||
|
|
||||||
|
WORKDIR /usr/share/nginx/html
|
||||||
|
|
||||||
|
COPY --chown=www-data:www-data --chmod=755 . .
|
||||||
56
Jenkinsfile
vendored
Normal file
56
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
pipeline {
|
||||||
|
|
||||||
|
agent none
|
||||||
|
|
||||||
|
options {
|
||||||
|
|
||||||
|
disableConcurrentBuilds(abortPrevious: true)
|
||||||
|
|
||||||
|
buildDiscarder(logRotator(numToKeepStr: '10'))
|
||||||
|
}
|
||||||
|
|
||||||
|
stages {
|
||||||
|
|
||||||
|
stage('docker compose build') {
|
||||||
|
|
||||||
|
agent {
|
||||||
|
|
||||||
|
label "sian"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
steps {
|
||||||
|
|
||||||
|
dir('.') {
|
||||||
|
|
||||||
|
sh 'docker compose build'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('docker compose push') {
|
||||||
|
|
||||||
|
agent {
|
||||||
|
|
||||||
|
label "sian"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
steps {
|
||||||
|
|
||||||
|
dir('.') {
|
||||||
|
|
||||||
|
sh 'docker compose push'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
19
compose.bash
Executable file
19
compose.bash
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
reset;
|
||||||
|
|
||||||
|
clear;
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
set -e;
|
||||||
|
|
||||||
|
set -x;
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
docker compose down --remove-orphans
|
||||||
|
|
||||||
|
docker compose up --build -d
|
||||||
17
compose.yaml
Normal file
17
compose.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
services:
|
||||||
|
|
||||||
|
resume.softwareshinobi.come:
|
||||||
|
|
||||||
|
container_name: resume.softwareshinobi.com
|
||||||
|
|
||||||
|
image: softwareshinobi/resume.softwareshinobi.com
|
||||||
|
|
||||||
|
build:
|
||||||
|
|
||||||
|
context: .
|
||||||
|
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
ports:
|
||||||
|
|
||||||
|
- 8000:80
|
||||||
13
index.html
Normal file
13
index.html
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
window.location.replace("https://docs.google.com/document/d/e/2PACX-1vTieOSduyVzdW--buzpibO3ikij9LEGCxmiwfiVGPZ2--LRV5hvLh3wwWKh7WgNpUmu0M5SobcMqr48/pub");
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user