Author SHA1 Message Date
marc 49b115bcb3 big names
Build all sequentially to test builds / base (push) Canceled after 0s
Build all sequentially to test builds / xorg (push) Canceled after 0s
Build all sequentially to test builds / vnc (push) Canceled after 0s
Build all sequentially to test builds / parabola (push) Canceled after 0s
2022-08-02 15:15:50 +02:00
marc 67d4e9c35e fix artifacts colon problem 2022-08-02 14:09:34 +02:00
marc 823167d26a needs statements 2022-08-01 17:46:01 +02:00
marc 9f420e02f6 artifacts 2022-08-01 17:41:12 +02:00
marc 6d63cb2155 log in tmp snif 2022-08-01 17:30:29 +02:00
marc a22db472b9 no fkn daemon 2022-08-01 03:02:07 +02:00
marc 164e1cb1ef really dumb 2022-08-01 02:46:28 +02:00
marc fc23502974 fix dumb mistake 2022-08-01 02:44:50 +02:00
marc c7b4cb5853 boredom of xdummy 2022-08-01 02:34:02 +02:00
marc a7cd48a04b xdummy as x11vnc option 2022-08-01 01:33:37 +02:00
marc 86e75b58b6 supervisorctl support 2022-08-01 01:33:01 +02:00
marc 1142a94de2 doc 2022-07-31 23:57:16 +02:00
marc a7cd369994 order matters 2022-07-31 23:56:49 +02:00
marc afd7e68d7d xorg is mandatory 2022-07-31 23:47:52 +02:00
marc 03407b8f01 nodaemon 2022-07-31 23:47:23 +02:00
marc b718c4e278 xdummy 2022-07-31 23:36:42 +02:00
marc c93af7687e arch home 2022-07-31 23:35:51 +02:00
marc 20691c7236 volume 2022-07-31 23:35:31 +02:00
marc 22e7c5c8c7 log in home 2022-07-31 23:33:00 +02:00
marc de0edd6e09 fix path 2022-07-31 23:31:10 +02:00
marc a3b6355a5d / 2022-07-31 23:29:32 +02:00
marc a793159b82 /opt/arch 2022-07-31 23:28:48 +02:00
marc 3d9c2db3ff sh 2022-07-31 23:24:11 +02:00
marc a723f3a539 supervisord.conf 2022-07-31 23:15:32 +02:00
marc 324cc7cf53 conf and log in /home/marc 2022-07-31 23:06:42 +02:00
marc af06877daa Revert "lots of different jobs"
This reverts commit 4b3712029e.
2022-07-31 17:00:58 +02:00
marc 5b181bdc6f Revert "diffent job names"
This reverts commit 9e9d0090cc.
2022-07-31 16:58:59 +02:00
marc 9e9d0090cc diffent job names 2022-07-30 21:13:45 +02:00
marc 4b3712029e lots of different jobs 2022-07-30 21:11:42 +02:00
marc 9e1c8e88c1 xdummy 2022-07-30 19:51:39 +02:00
marc 06446e4c43 u 2 2022-07-30 19:04:11 +02:00
marc 74f37caeb8 entrypoint 2022-07-30 18:43:20 +02:00
marc f329b02ea8 entrypoint is back 2022-07-30 18:42:20 +02:00
marc bbab7b8a9c entrypoint 2022-07-30 18:15:25 +02:00
marc 6c24d3e39b trying pwd 2022-07-30 17:41:48 +02:00
7 changed files with 144 additions and 46 deletions
+110 -21
View File
@@ -1,8 +1,6 @@
name: Docker
name: Build all sequentially to test builds
on:
schedule:
- cron: "0 4 * * *" # everyday at 4 am
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
@@ -17,23 +15,114 @@ on:
pull_request:
jobs:
build:
base:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update apt
run: sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
- name: Install make
run: sudo apt install make docker-compose -y
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: build base
run: make buildbase
- name: build xorg
run: make buildxorg
- name: build vnc
run: make buildvnc
- name: build parabola
run: make buildparabola
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Build and export
uses: docker/build-push-action@v3
with:
context: base
tags: marcpartensky/arch:base
outputs: type=docker,dest=/tmp/base.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: base
path: /tmp/base.tar
xorg:
needs: base
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: base
path: /tmp
- name: Load image
run: |
docker load --input /tmp/base.tar
docker image ls -a
- name: Build and export
uses: docker/build-push-action@v3
with:
context: xorg
tags: marcpartensky/arch:xorg
outputs: type=docker,dest=/tmp/xorg.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: xorg
path: /tmp/xorg.tar
vnc:
needs: xorg
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: xorg
path: /tmp
- name: Load image
run: |
docker load --input /tmp/xorg.tar
docker image ls -a
- name: Build and export
uses: docker/build-push-action@v3
with:
context: vnc
tags: marcpartensky/arch:vnc
outputs: type=docker,dest=/tmp/vnc.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: vnc
path: /tmp/vnc.tar
parabola:
needs: xorg
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: xorg
path: /tmp
- name: Load image
run: |
docker load --input /tmp/xorg.tar
docker image ls -a
- name: Build and export
uses: docker/build-push-action@v3
with:
context: parabola
tags: marcpartensky/arch:parabola
outputs: type=docker,dest=/tmp/parabola.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: parabola
path: /tmp/parabola.tar
+1 -1
View File
@@ -1,4 +1,4 @@
name: Docker
name: Build all then push
on:
schedule:
+3 -1
View File
@@ -33,13 +33,14 @@ services:
image: marcpartensky/arch:vnc
build:
context: vnc
# user: $USER
ports:
- "18080:8080"
- "15900:5900"
volumes:
# - /var/run/docker.sock:/var/run/docker.sock
- arch_pacman:/var/cache/pacman/pkg
- /srv/arch/home/marc:/home/marc
- arch_home:/home/marc
parabola:
image: marcpartensky/arch:parabola
@@ -48,3 +49,4 @@ services:
volumes:
arch_pacman:
arch_home:
+9 -10
View File
@@ -6,23 +6,22 @@ EXPOSE 5900 8080
ENV DISPLAY=:0.0
# Install packages
RUN paru -Syyy --noconfirm \
RUN paru -Syyyu --noconfirm \
# xorg-server required for xdummy
xorg-server \
# xorg-server-utils \
xorg-server-xvfb \
# xf86-video-dummy \
x11vnc \
novnc \
cron \
# xorg-server \
# xorg-server-utils \
ttf-meslo-nerd-font-powerlevel10k \
xorg-server-xvfb
ttf-meslo-nerd-font-powerlevel10k
USER root
COPY crontab.txt /var/spool/cron/marc
RUN chmod 600 /var/spool/cron/marc
USER marc
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
USER root
COPY entrypoint.sh /root/entrypoint.sh
ENTRYPOINT [ "/root/entrypoint.sh" ]
COPY supervisord.conf entrypoint.sh /opt/arch/
ENTRYPOINT [ "/opt/arch/entrypoint.sh" ]
# ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisor.d/supervisord.ini"]
+2 -2
View File
@@ -1,4 +1,4 @@
#!/sbin/zsh
#!/bin/sh
export WALLPAPERS_PATH=/home/marc/wallpapers
/usr/bin/supervisord -c /etc/supervisor.d/supervisord.ini
supervisord -c /opt/arch/supervisord.conf -l /tmp/supervisord.log
+17 -9
View File
@@ -1,21 +1,29 @@
[supervisord]
nodaemon=true
; nodaemon=false
serverurl=unix:///var/run/supervisord.sock ; use a unix:// URL for a unix socket
[program:X11]
command=/usr/bin/Xvfb :0 -screen 0 1820x980x8
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[unix_http_server]
file=/tmp/supervisord.sock
[supervisorctl]
serverurl=unix:///tmp/supervisord.sock
[program:xvfb]
command=Xvfb :0 -screen 0 1820x980x8
autorestart=true
user=marc
priority=1
; [program:startx]
; command=startx
; autorestart=true
; priority=1
# [program:xdummy]
# command=/usr/bin/Xdummy :0 -screen 0 1820x980x8
# autorestart=true
# user=marc
# priority=1
[program:picom]
command=zsh -c "sleep 5 && picom -b"
command=picom
user=marc
autorestart=true
priority=2
+2 -2
View File
@@ -1,6 +1,6 @@
FROM marcpartensky/arch
RUN paru -Syyy --noconfirm \
RUN paru -Syyyu --noconfirm \
net-tools \
supervisor \
firefox \
@@ -45,7 +45,7 @@ RUN git clone https://github.com/marcpartensky/shell git/shell
RUN make -C git/shell
USER root
COPY entrypoint.sh entrypoint.sh
COPY supervisord.ini /etc/supervisor.d/supervisord.ini
COPY entrypoint.sh entrypoint.sh
ENTRYPOINT [ "./entrypoint.sh" ]
# ENTRYPOINT [ "DISPLAY=:0", "Xephyr", ":1" ]