automated terminal push
This commit is contained in:
54
Jenkinsfile
vendored
Normal file
54
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
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'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}}
|
||||||
@@ -11,3 +11,4 @@ set -x;
|
|||||||
docker compose down --remove-orphans
|
docker compose down --remove-orphans
|
||||||
|
|
||||||
docker compose up --build -d
|
docker compose up --build -d
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
linux.softwareshinobi.com-server:
|
linux.softwareshinobi.com-server:
|
||||||
@@ -35,4 +34,5 @@ services:
|
|||||||
|
|
||||||
ports:
|
ports:
|
||||||
|
|
||||||
- 2280:80
|
- "2280:80"
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ RUN pip install mkdocs-blog-plugin
|
|||||||
|
|
||||||
WORKDIR /docs
|
WORKDIR /docs
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN mkdocs build
|
RUN mkdocs build
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:noble
|
FROM ubuntu:questing
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ WORKDIR /
|
|||||||
|
|
||||||
COPY /provision /
|
COPY /provision /
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
|||||||
BIN
server/provision/.provision.bash.swp
Normal file
BIN
server/provision/.provision.bash.swp
Normal file
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
##
|
##
|
||||||
## This script installs stuff
|
## This script installs stuff
|
||||||
## to set up a linux server
|
## to set up a linux server
|
||||||
## suitable for newbies.
|
## suitable for newbies.
|
||||||
##
|
##
|
||||||
@@ -15,7 +15,7 @@ set -e;
|
|||||||
|
|
||||||
set -x;
|
set -x;
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
||||||
cat /etc/issue;
|
cat /etc/issue;
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ apt install -y vim nano;
|
|||||||
|
|
||||||
## apt install -y hollywood;
|
## apt install -y hollywood;
|
||||||
|
|
||||||
apt install -y cmatrix;
|
apt install -y cmatrix cmatrix-xfont;
|
||||||
|
|
||||||
##
|
##
|
||||||
## shinobi academy user config
|
## shinobi academy user config
|
||||||
|
|||||||
Reference in New Issue
Block a user