Compare commits

9 Commits

Author SHA1 Message Date
1bf6aa0fdf Add trigger
Some checks failed
yankee/yankee-downloader-desktop/pipeline/head There was a failure building this commit
2025-09-12 22:28:02 -04:00
Software Shinobi
355c8af067 automated terminal push
All checks were successful
code.softwareshinobi.com - yankee/yankee-downloader-desktop/pipeline/head This commit looks good
2025-03-10 12:55:20 -04:00
Software Shinobi
9556f01d6f automated terminal push
All checks were successful
code.softwareshinobi.com - yankee/yankee-downloader-desktop/pipeline/head This commit looks good
2025-03-10 11:33:50 -04:00
Software Shinobi
6f88b7a08e automated terminal push 2025-03-10 11:30:38 -04:00
Software Shinobi
11a73c5692 automated terminal push
All checks were successful
code.softwareshinobi.com - yankee/yankee-downloader-desktop/pipeline/head This commit looks good
2025-03-10 11:24:49 -04:00
Software Shinobi
7d1cbbcafb automated terminal push
Some checks failed
code.softwareshinobi.com - yankee/yankee-downloader-desktop/pipeline/head There was a failure building this commit
2025-03-09 14:38:32 -04:00
Software Shinobi
f6e8f90d66 automated terminal push
All checks were successful
code.softwareshinobi.com - yankee/yankee-downloader-desktop/pipeline/head This commit looks good
2025-03-09 14:30:08 -04:00
Software Shinobi
c406f2afe5 automated terminal push
All checks were successful
code.softwareshinobi.com - yankee/yankee-downloader-desktop/pipeline/head This commit looks good
2025-03-09 14:25:47 -04:00
Software Shinobi
b828a6e572 automated terminal push
All checks were successful
code.softwareshinobi.com - yankee/yankee-desktop-remix/pipeline/head This commit looks good
2025-03-09 14:03:26 -04:00
11 changed files with 58 additions and 215 deletions

View File

@@ -25,10 +25,5 @@ RUN bash installs/gnomedownloader.bash
RUN bash installs/sshserver.bash
RUN bash installs/cron.bash
RUN bash installs/download-code.bash
##
COPY provision/startup/startup.sh /startup.sh
##

View File

@@ -2,108 +2,18 @@
##
set -e
set -x
##
reset
clear
##
set -e
##
set -x
processorCount=`grep -c '^processor' /proc/cpuinfo`
processorCount=$((processorCount - 1))
echo "num cpus / "$processorCount
for i in $(seq 2 "$processorCount"); do
echo "Processing unit: $i"
##
rm -f compose.yaml
echo "services:" >> compose.yaml
##
for x in $(seq 1 "$processorCount"); do
i=$(printf "%03d" "$x")
# Create the service definition
service_def=$(cat <<EOF
##########################################
##
## orchestration / yankee-desktop-remix
##
##########################################$i
yankee-desktop-remix-$i:
container_name: yankee-desktop-remix-$i
image: softwareshinobi/yankee-desktop-remix
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
volumes:
- yankee-nfs-downloads:/root/Downloads
hostname: yankee-desktop-$i
ports:
- "2${i}2:22"
- "2${i}8:80"
- "2${i}9:5900"
environment:
TZ: America/Bogota
USER_UID: 1000
USER_GID: 1000
USER: root
PASSWORD: yankee
HTTP_PASSWORD: yankee
EOF
)
# Append the service definition to compose.yaml
echo "$service_def" >> compose.yaml
done
# Add the volumes section ONCE after the loop (outside)
cat <<EOF >> compose.yaml
##########################################
##
## volumes / yankee-desktop-remix
##
##########################################
volumes:
yankee-nfs-downloads:
driver_opts:
type: "nfs"
o: nfsvers=4,addr=osiris.yankee.embanet.online,nolock,hard,rw
device: ":/"
EOF
#... your commands to process each unit...
done
##
docker compose down --remove-orphans
docker compose up -d
docker stats

View File

@@ -1,68 +0,0 @@
services:
##########################################
##
## orchestration / yankee-desktop-remix
##
##########################################x
yankee-desktop-remix-XXX:
container_name: yankee-desktop-remix-XXX
image: softwareshinobi/yankee-desktop-remix
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
volumes:
- yankee-nfs-downloads:/root/Downloads
hostname: yankee-desktop-XXX
ports:
- "2XXX2:22"
- "2XXX8:80"
- "2XXX9: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: ":/"

View File

@@ -7,11 +7,11 @@ services:
##
##########################################x
yankee-desktop-remix-000:
yankee-downloader-desktop-manual:
container_name: yankee-desktop-remix-000
container_name: yankee-downloader-desktop-manual
image: softwareshinobi/yankee-downloader-desktop:autorun
image: softwareshinobi/yankee-downloader-desktop:manual
restart: unless-stopped
@@ -23,27 +23,27 @@ services:
volumes:
- yankee-nfs-downloads:/root/Downloads
- yankee-downloader-nfs-downloads:/home/yankee/Downloads
hostname: yankee-desktop-000
hostname: yankeedesktop
ports:
- "20002:22"
- "23022:22"
- "20008:80"
- "23080:80"
- "20009:5900"
- "23900:5900"
environment:
TZ: America/Bogota
TZ: America/New_York
USER_UID: 1000
USER_GID: 1000
USER: root
USER: yankee
PASSWORD: yankee
@@ -57,7 +57,7 @@ services:
volumes:
yankee-nfs-downloads:
yankee-downloader-nfs-downloads:
driver_opts:

View File

@@ -1,34 +0,0 @@
#!/bin/bash
##
set -e
set -x
##
reset
clear
##
## docker compose pull
docker compose down --remove-orphans
echo "pruning..."
docker container prune -f
rm -f *.devvv
touch touch $(cat /proc/sys/kernel/random/uuid)".devvv"
ls -lha
sleep 5
docker compose up --build

View File

@@ -1,3 +0,0 @@
#!/bin/bash
apt install -y cron;

View File

@@ -0,0 +1,42 @@
#!/bin/bash
set -e
set -x
echo "##"
echo "## launch > yankee > download consumer code"
echo "##"
##
cd /
rm -rf /yankee-consumer
rm -rf /yankee-gnome-fire-consumer
git clone https://code.softwareshinobi.com/yankee/yankee-gnome-fire-consumer.git yankee-consumer
cd yankee-consumer
chmod +x *.bash
ls -lha
##
cd /
rm -rf /yankee-publisher
rm -rf /yankee-gnome-fire-publisher
git clone https://code.softwareshinobi.com/yankee/yankee-gnome-fire-publisher.git yankee-publisher
cd yankee-publisher
chmod +x *.bash
ls -lha
##

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 KiB

After

Width:  |  Height:  |  Size: 196 KiB

0
trash/asd Normal file
View File

View File

@@ -19,7 +19,7 @@ clear
processorCount=`grep -c '^processor' /proc/cpuinfo`
processorCount=1
processorCount=$((processorCount - 1))
echo "num cpus / "$processorCount

1
trigger Normal file
View File

@@ -0,0 +1 @@
dgd