automated terminal push
All checks were successful
code.softwareshinobi.com - yankee/yankee-desktop-remix/pipeline/head This commit looks good
All checks were successful
code.softwareshinobi.com - yankee/yankee-desktop-remix/pipeline/head This commit looks good
This commit is contained in:
54
Jenkinsfile
vendored
Executable file
54
Jenkinsfile
vendored
Executable 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'
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}}
|
||||
68
compose.yaml
Normal file
68
compose.yaml
Normal file
@@ -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: ":/"
|
||||
Reference in New Issue
Block a user