automated terminal push

This commit is contained in:
2025-05-28 20:31:55 -04:00
parent c3e4f22f30
commit 1e858e7284
9 changed files with 108 additions and 1 deletions

15
.dockerignore Executable file
View File

@@ -0,0 +1,15 @@
.git
.pristine
.trash
.recycle
.backup
.volumes
web/
docs/

3
.gitignore vendored Executable file
View File

@@ -0,0 +1,3 @@
.volumes
target/

1
.trash
View File

@@ -1 +0,0 @@
t

5
Dockerfile Executable file
View File

@@ -0,0 +1,5 @@
FROM nginx:latest
WORKDIR /usr/share/nginx/html
COPY --chown=www-data:www-data --chmod=755 . .

54
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,54 @@
pipeline {
agent none
options {
disableConcurrentBuilds(abortPrevious: true)
buildDiscarder(logRotator(numToKeepStr: '10'))
}
stages {
stage('docker compose build') {
agent {
label "huracan"
}
steps {
dir('.') {
sh 'docker compose build'
}
}
}
stage('docker compose push') {
agent {
label "huracan"
}
steps {
dir('.') {
sh 'docker compose push'
}
}
}
}}

13
compose.bash Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
reset
clear
set -e
set -x
docker compose down --remove-orphans
docker compose up -d --build

18
compose.yaml Normal file
View File

@@ -0,0 +1,18 @@
services:
www.valorantdigital.com:
container_name: www.valorantdigital.com
image: softwareshinobi/www.valorantdigital.com
build:
context: .
dockerfile: Dockerfile
ports:
- 8000:80

View File

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

BIN
favicon.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB