File tree 4 files changed +35
-34
lines changed
4 files changed +35
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM ubuntu:latest
3
3
4
4
ENV DEBIAN_FRONTEND=noninteractive
5
5
RUN apt-get update
6
- RUN apt-get -y install bash tmuxinator \
6
+ RUN apt-get -y install bash \
7
7
build-essential autoconf automake autotools-dev dh-make debhelper \
8
8
devscripts fakeroot xutils lintian pbuilder cdbs gnupg \
9
9
python3 python3-pip osc xz-utils git rsync qttools5-dev-tools \
@@ -13,10 +13,18 @@ RUN apt-get -y install bash tmuxinator \
13
13
libqt6svg6 libqt6svgwidgets6 libqt6websockets6 libqt6core5compat6 \
14
14
libqt6core5compat6-dev gh
15
15
16
+ # Download and extract zellij
17
+ RUN curl -L https://github.com/zellij-org/zellij/releases/download/v0.39.2/zellij-x86_64-unknown-linux-musl.tar.gz -o zellij.tar.gz \
18
+ && tar -xzvf zellij.tar.gz \
19
+ && rm zellij.tar.gz \
20
+ && chmod +x zellij \
21
+ && mv zellij /usr/local/bin
22
+
16
23
# QOwnNotes repo is supposed to be mounted to /QOwnNotes
17
24
RUN useradd -ms /bin/bash release
18
25
USER release
19
26
WORKDIR /home/release
27
+
20
28
# osc needs m2crypto:
21
29
RUN pip3 install m2crypto
22
30
RUN mkdir /home/release/.ssh -m 0700
Original file line number Diff line number Diff line change @@ -33,14 +33,11 @@ echo "Starting the deployment process for all platforms..."
33
33
34
34
cd " $DIR " || exit 1
35
35
36
- # kill the previous tmux session
37
- tmux kill-session -t deploy-qownnotes
38
-
39
- # start a new deployment session with all deployment scripts from .tmuxinator.yml
40
- # you'll need https://github.com/tmuxinator/tmuxinator
41
- # install: sudo gem install tmuxinator
42
- # update: sudo gem update tmuxinator
43
- tmuxinator start deploy-qownnotes
36
+ # kill the previous session
37
+ zellij delete-session deploy-qownnotes
38
+
39
+ # start a new deployment session with all deployment scripts from releaser.kdl
40
+ zellij --layout releaser.kdl attach deploy-qownnotes -c
44
41
45
42
exit
46
43
Original file line number Diff line number Diff line change
1
+ layout {
2
+ pane split_direction= "vertical" {
3
+ pane name= "launchpad" command= "../ubuntu-launchpad/build-for-launchpad.sh"
4
+ pane name= "obs" command= "../obs/build-for-obs.sh"
5
+ }
6
+ pane split_direction= "vertical" {
7
+ pane name= "aur" command= "aur/build-for-aur.sh"
8
+ pane name= "gentoo" command= "gentoo/build-for-gentoo.sh"
9
+ }
10
+ pane split_direction= "vertical" {
11
+ pane name= "slackware" command= "slackware/build-for-slackware.sh"
12
+ pane name= "snap" command= "snap/build-for-launchpad-snap.sh"
13
+ }
14
+ pane split_direction= "vertical" {
15
+ pane name= "launchpad-qt6" command= "../ubuntu-launchpad/build-for-launchpad-qt6.sh"
16
+ pane focus= true
17
+ }
18
+ pane size= 1 borderless= true {
19
+ plugin location= "zellij:status-bar"
20
+ }
21
+ }
You can’t perform that action at this time.
0 commit comments