automated terminal push
All checks were successful
code.softwareshinobi.com-shinobi/newsletter.softwareshinobi.com/pipeline/head This commit looks good

This commit is contained in:
2025-06-04 10:58:11 -04:00
parent 4a6c7b1331
commit 3a2e0c62a2
9 changed files with 123 additions and 2 deletions

11
.dockerignore Normal file
View File

@@ -0,0 +1,11 @@
.git
.pristine
.trash
.recycle
.backup
.template

0
.gitignore vendored Normal file
View File

5
Dockerfile Normal file
View 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
View 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'
}
}
}
}
}

View File

@@ -1,2 +0,0 @@
# newsletter.softwareshinobi.com

19
compose.bash Executable file
View 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
View File

@@ -0,0 +1,17 @@
services:
newsletter.softwareshinobi.come:
container_name: newsletter.softwareshinobi.com
image: softwareshinobi/newsletter.softwareshinobi.com
build:
context: .
dockerfile: Dockerfile
ports:
- 8000:80

13
index.html Normal file
View File

@@ -0,0 +1,13 @@
<html lang="en">
<body>
<script>
window.location.replace("https://www.linkedin.com/newsletters/7223019042243055617/");
</script>
</body>
</html>

2
readme.md Normal file
View File

@@ -0,0 +1,2 @@
# www.softwareshinobi.com