From 1e858e7284f0adb852aed1940d6fb96443fbe5ba Mon Sep 17 00:00:00 2001 From: Software Shinobi Date: Wed, 28 May 2025 20:31:55 -0400 Subject: [PATCH] automated terminal push --- .dockerignore | 15 ++++++ .gitignore | 3 ++ .trash | 1 - Dockerfile | 5 ++ Jenkinsfile | 54 ++++++++++++++++++++++ compose.bash | 13 ++++++ compose.yaml | 18 ++++++++ startup-website-template.jpg => cover.jpg | Bin favicon.ico | Bin 0 -> 1150 bytes 9 files changed, 108 insertions(+), 1 deletion(-) create mode 100755 .dockerignore create mode 100755 .gitignore delete mode 100644 .trash create mode 100755 Dockerfile create mode 100644 Jenkinsfile create mode 100755 compose.bash create mode 100644 compose.yaml rename startup-website-template.jpg => cover.jpg (100%) create mode 100755 favicon.ico diff --git a/.dockerignore b/.dockerignore new file mode 100755 index 0000000..b038222 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,15 @@ +.git + +.pristine + +.trash + +.recycle + +.backup + +.volumes + +web/ + +docs/ diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..64d1b34 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.volumes + +target/ diff --git a/.trash b/.trash deleted file mode 100644 index 718f4d2..0000000 --- a/.trash +++ /dev/null @@ -1 +0,0 @@ -t diff --git a/Dockerfile b/Dockerfile new file mode 100755 index 0000000..c7e06d6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM nginx:latest + +WORKDIR /usr/share/nginx/html + +COPY --chown=www-data:www-data --chmod=755 . . diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..31fd9cc --- /dev/null +++ b/Jenkinsfile @@ -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' + + } + + } + + } + +}} diff --git a/compose.bash b/compose.bash new file mode 100755 index 0000000..cfaa2b6 --- /dev/null +++ b/compose.bash @@ -0,0 +1,13 @@ +#!/bin/bash + +reset + +clear + +set -e + +set -x + +docker compose down --remove-orphans + +docker compose up -d --build diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..ae35350 --- /dev/null +++ b/compose.yaml @@ -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 + diff --git a/startup-website-template.jpg b/cover.jpg similarity index 100% rename from startup-website-template.jpg rename to cover.jpg diff --git a/favicon.ico b/favicon.ico new file mode 100755 index 0000000000000000000000000000000000000000..d9e68c4768b791d79873eb1cca04567c897604f8 GIT binary patch literal 1150 zcmbVMX-HI27`=iKDU=I|kXuk>X$obel1+a!O$9L$ok~oiOpF%#k$*y=K{QPxtx;2Q zsY%5&*K!D(T&7gi5H+Q78J9_!G#!^_oSD;|w+y2F>OJ1Q?|%25^PT&h`yL?{^tQ1f zv~?p1mV`JELfq*?Lo~w1X-5d1v$JL&W=tDwzKlj@q}OUuEbzut4+o^#5lEAhn7GlP z-@JO;yU}1^V#-b#s)QjZ5B0IcV}qIN$bN*f zPyzD151~9vfGlTQ6rJ`$>P~{O))r=sk<)3`!11m9Qe*gC1salK(UF;o>dWD1ycvs% zs35!wKLzRiL>9j#KVP@`!EdOF4nxzO1W3+@p#H{1)Ly+nHQ3V{9!7?v6&A-890yx# zUW0B$gN3nCbmoZgy{-~Xx8tGe@5WG#gz^Yc85KzP;eq~AF^lKC;_)VLn{LISza$@$ z$Y8W(Jb-#+5R>hnPixZIsEP?jN#JojcC&&)+Gw8Ree2AAhy}$6)o_L3_|a0&OGA5x2)Ull)DtJ9 z*%OqV3t;hFe$CGr%nuL1#4#oR%=m9w!27iRdl7XBF(^2B07U^us0M4y4fL7$)uTh0 z?(V?Y$7Xbiv!LqhGGqDkRueCz_1{73U<=W1g66x|8N6n88fy#G_u4m@?fuGVSea9? z+*BX$?bMexdY=68{Fp1mKCblJ+J{y3JT}(XF)nMtl5zra>Yd3$t!Bxr4cs10{uKCn zB7Ls~GM#rpw1=QAJq3%C3M|hkG1DW5QZB=UOv+&SyruzP2a_))K|a(&M~F}CXU+rv IANb$?FH~tgGXMYp literal 0 HcmV?d00001