From 7559c77cae205b04d90a6177b9b04a59d2ea846a Mon Sep 17 00:00:00 2001 From: Software Shinobi Date: Fri, 7 Mar 2025 15:25:45 -0500 Subject: [PATCH] automated terminal push --- Jenkinsfile | 54 +++++++++++++++++++++++++++++++++++++++++ compose.yaml | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100755 Jenkinsfile create mode 100644 compose.yaml diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100755 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.yaml b/compose.yaml new file mode 100644 index 0000000..922d094 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,68 @@ + +services: + +########################################## +## +## orchestration / yankee-desktop-remix +## +##########################################x + + yankee-desktop-remix-000: + + container_name: yankee-desktop-remix-000 + + image: softwareshinobi/yankee-desktop-remix + + restart: unless-stopped + + build: + + context: . + + dockerfile: Dockerfile + + volumes: + + - yankee-nfs-downloads:/root/Downloads + + hostname: yankee-desktop-000 + + ports: + + - "20002:22" + + - "20008:80" + + - "20009:5900" + + environment: + + TZ: America/Bogota + + USER_UID: 1000 + + USER_GID: 1000 + + USER: root + + PASSWORD: yankee + + HTTP_PASSWORD: yankee + +########################################## +## +## volumes / yankee-desktop-remix +## +##########################################x + +volumes: + + yankee-nfs-downloads: + + driver_opts: + + type: "nfs" + + o: nfsvers=4,addr=osiris.yankee.embanet.online,nolock,hard,rw + + device: ":/"