lovetox
has left
00:08:15
wurstsalat
has left
00:13:17
Sam
has left
00:16:14
Sam
has joined
00:23:35
al
has joined
00:23:41
Sam
has left
00:24:30
jgart
has left
00:25:10
jgart
has joined
00:25:41
lovetox
has joined
00:25:48
qwestion
has left
00:30:52
jgart
has left
00:35:35
jgart
has joined
00:35:40
jgart
has left
00:44:11
Maranda
has left
00:56:26
Mjolnir Archon
has left
00:56:26
jgart
has joined
01:01:23
jgart
has left
01:03:13
jgart
has joined
01:04:33
Sam
has joined
01:12:06
xnamed
has left
01:14:49
Matrix Traveler (bot)
has left
01:14:49
homebeach
has left
01:14:49
homebeach
has joined
01:14:51
Matrix Traveler (bot)
has joined
01:14:51
xnamed
has joined
01:18:15
Mjolnir Archon
has joined
01:23:41
Maranda
has joined
01:23:43
marc0s
has left
01:23:44
jgart
has left
01:25:54
marc0s
has joined
01:26:02
jgart
has joined
01:28:17
jgart
has left
01:28:31
Kev
has left
01:28:42
Kev
has joined
01:28:52
jgart
has joined
01:29:02
jgart
has left
01:36:33
jgart
has joined
01:48:09
al
has left
01:50:34
oxtyped
has joined
01:50:57
jgart
has left
01:51:35
jgart
has joined
01:51:50
jgart
has left
01:54:04
jgart
has joined
01:54:17
qwestion
has joined
02:02:16
selurvedu
has joined
02:04:45
jgart
has left
02:09:14
jgart
has joined
02:09:28
jgart
has left
02:11:20
raghavgururajan
has joined
02:18:17
xnamed
has left
02:19:15
Ingolf
has joined
02:50:58
raghavgururajan
has left
02:55:13
lovetox
has left
02:58:34
suohua
has joined
02:59:06
Yagizа
has joined
03:02:49
suohua
has left
03:05:53
marc0s
has left
03:14:13
marc0s
has joined
03:14:15
jgart
has joined
03:17:44
jgart
has left
03:26:46
jgart
has joined
03:26:50
jgart
has left
03:27:32
jgart
has joined
03:27:33
jgart
has left
03:28:18
jgart
has joined
03:28:20
jgart
has left
03:28:41
jgart
has joined
03:28:52
suohua
has joined
03:46:52
jgart
has left
03:50:52
SouL
has joined
04:03:16
suohua
has left
04:06:50
suohua
has joined
04:07:34
marc0s
has left
04:12:06
marc0s
has joined
04:13:55
atomicwatch
has left
04:24:29
suohua
has left
04:32:20
suohua
has joined
04:44:14
lovetox
has joined
04:46:08
goffi
has joined
04:53:04
marc0s
has left
04:59:17
marc0s
has joined
05:00:14
suohua
has left
05:14:43
msavoritias
has joined
05:23:53
msavoritias
has left
05:25:24
msavoritias
has joined
05:25:37
suohua
has joined
05:27:25
pasdesushi
has joined
05:30:04
emus
has joined
05:31:45
atomicwatch
has joined
05:34:09
COM8
has joined
05:34:21
COM8
has left
05:34:26
suohua
has left
05:44:36
wurstsalat
has joined
05:59:34
antranigv
has joined
06:01:12
Laura
has joined
06:01:24
antranigv
has left
06:12:37
Apollo
has joined
06:26:34
Apollo
has left
06:44:09
antranigv
has joined
06:51:04
marc
has joined
06:52:23
Ingolf
has left
06:55:02
suohua
has joined
07:17:46
atomicwatch
has left
07:19:05
atomicwatch
has joined
07:19:50
Laura
has left
07:19:56
marc
has left
07:21:44
debacle
has joined
07:21:55
lovetox
has left
07:22:12
Ingolf
has joined
07:22:48
larma
has joined
07:23:22
pulkomandy
has left
07:23:46
nephele
has joined
07:28:02
marc
has joined
07:29:30
nephele
has left
07:29:59
nephele
has joined
07:30:01
suohua
has left
07:33:21
nephele
has left
07:40:03
lovetox
has joined
07:40:28
marc
has left
07:46:02
marc
has joined
07:46:31
wop001@no-bullchat.net
has joined
07:54:47
goffi
has left
07:59:29
marc
has left
08:00:17
norayr
has left
08:12:39
atomicwatch
has left
08:12:53
atomicwatch
has joined
08:14:23
Matrix Traveler (bot)
has left
08:15:02
homebeach
has left
08:15:02
homebeach
has joined
08:15:04
Matrix Traveler (bot)
has joined
08:15:05
debacle
has left
08:20:24
wop001@no-bullchat.net
has left
08:20:24
Apollo
has joined
08:22:19
marc
has joined
08:31:49
qwestion
has left
08:36:07
debacle
has joined
08:37:13
atomicwatch
has left
08:43:14
atomicwatch
has joined
08:44:38
qwestion
has joined
08:46:30
nephele
has joined
08:49:24
debacle
has left
08:54:21
qwestion
has left
08:55:34
nephele
has left
08:59:39
debacle
has joined
09:00:21
emus
has left
09:01:50
antranigv
has left
09:13:35
antranigv
has joined
09:18:14
suohua
has joined
09:21:40
antranigv
has left
09:23:40
emus
has joined
09:28:24
Sam
has left
09:33:20
Sam
has joined
09:34:45
wop001@no-bullchat.net
has joined
09:37:51
PapaTutuWawa
has joined
09:39:17
Sam
has left
09:40:14
Apollo
has left
09:40:55
Sam
has joined
09:41:38
antranigv
has joined
09:42:34
debacle
has left
09:43:36
kikuchiyo
has left
09:46:18
kikuchiyo
has joined
09:46:34
Sam
has left
09:47:07
abdullahi
has left
09:48:55
antranigv
has left
09:50:56
antranigv
has joined
09:51:20
kfv
has left
09:58:09
kfv
has joined
09:58:32
Link Mauve
has left
10:05:05
nephele
has joined
10:09:44
nephele
has left
10:10:46
nephele
has joined
10:10:48
xnamed
has joined
10:15:15
Yagizа
has left
10:17:55
Yagizа
has joined
10:18:08
larma
has left
10:21:08
kikuchiyo
has left
10:21:54
mh
has left
10:23:22
mh
has joined
10:24:25
nephele
has left
10:25:31
nephele
has joined
10:25:32
nephele
has left
10:26:44
nephele
has joined
10:26:46
nephele
has left
10:27:42
nephele
has joined
10:27:43
wop001@no-bullchat.net
has left
10:27:44
antranigv
has left
10:30:31
Laura
has joined
10:37:26
nephele
has left
10:38:19
inky
has left
10:42:08
inky
has joined
10:44:13
kikuchiyo
has joined
10:48:24
antranigv
has joined
10:53:12
antranigv
has left
10:54:03
oxtyped
has left
10:58:33
oxtyped
has joined
10:58:54
oxtyped
has left
11:05:26
oxtyped
has joined
11:06:12
marc
has left
11:10:51
marc
has joined
11:11:16
dcsc
has joined
11:12:09
xnamed
has left
11:12:12
dcsc
11:12:13
dss
dcsc
has left
11:13:34
inky
has left
11:15:39
Apollo
has joined
11:16:48
Link Mauve
has joined
11:18:39
Link Mauve
has left
11:20:57
inky
has joined
11:21:39
Sam
has joined
11:23:26
Link Mauve
has joined
11:23:47
antranigv
has joined
11:26:46
Sam
has left
11:28:55
suohua
has left
11:33:42
rafasaurus
has left
11:34:10
Apollo
has left
11:37:01
Sam
has joined
11:38:46
oxtyped
has left
11:40:56
xnamed
has joined
11:41:14
Sam
has left
11:44:16
Sam
has joined
11:50:06
Sam
has left
11:54:05
Sam
has joined
11:55:24
kikuchiyo
has left
11:56:34
Wojtek
has joined
11:57:50
marc0s
has left
12:00:31
marc0s
has joined
12:00:32
Sam
has left
12:00:54
wop001@no-bullchat.net
has joined
12:04:13
PapaTutuWawa
has left
12:07:32
Sam
has joined
12:15:32
wop001@no-bullchat.net
has left
12:16:32
marc0s
has left
12:21:59
marc0s
has joined
12:22:01
goffi
has joined
12:24:57
wop001@no-bullchat.net
has joined
12:25:36
atomicwatch
has left
12:33:28
atomicwatch
has joined
12:33:35
nephele
has joined
12:39:46
nephele
has left
12:40:20
nephele
has joined
12:40:22
Apollo
has joined
12:41:10
xnamed
has left
12:41:45
larma
has joined
12:42:50
nephele
has left
12:45:11
emus
has left
12:48:22
emus
has joined
12:49:45
nephele
has joined
12:50:21
nephele
has left
12:52:04
nephele
has joined
12:52:05
Sam
has left
12:54:00
nephele
has left
12:54:08
nephele
has joined
12:54:09
wop001@no-bullchat.net
has left
12:54:54
Sam
has joined
12:58:12
antranigv
has left
13:00:28
nephele
has left
13:04:42
nephele
has joined
13:04:43
Ingolf
has left
13:05:11
nephele
has left
13:05:34
nephele
has joined
13:05:35
antranigv
has joined
13:05:44
nephele
has left
13:08:21
nephele
has joined
13:09:48
nephele
has left
13:10:13
abdullahi
has joined
13:13:33
nephele
has joined
13:15:13
nephele
has left
13:15:44
nephele
has joined
13:18:55
nephele
has left
13:19:12
nephele
has joined
13:19:12
xnamed
has joined
13:19:19
nephele
has left
13:19:43
nephele
has joined
13:19:44
antranigv
has left
13:21:51
antranigv
has joined
13:22:45
Laura
has left
13:23:43
Apollo
has left
13:24:03
thomaslewis
has joined
13:24:20
nephele
has left
13:25:21
thomaslewis
has left
13:27:29
suohua
has joined
13:29:11
rafasaurus
has joined
13:30:28
Ingolf
has joined
13:31:45
nephele
has joined
13:32:14
nephele
has left
13:32:49
Matrix Traveler (bot)
has left
13:35:05
homebeach
has left
13:35:05
homebeach
has joined
13:35:17
Matrix Traveler (bot)
has joined
13:35:18
antranigv
has left
13:36:20
jgart
has joined
13:38:23
oxtyped
has joined
13:39:30
jgart
has left
13:44:34
jgart
has joined
13:45:02
jgart
has left
13:49:02
jgart
has joined
13:50:18
jgart
has left
13:50:38
jgart
has joined
13:51:01
antranigv
has joined
13:51:53
Matrix Traveler (bot)
has left
13:54:10
homebeach
has left
13:54:10
homebeach
has joined
13:54:12
Matrix Traveler (bot)
has joined
13:54:12
oxtyped
has left
13:57:02
thomaslewis
has joined
13:57:54
PapaTutuWawa
has joined
13:58:36
thomaslewis
has left
14:00:32
thomaslewis
has joined
14:00:42
thomaslewis
has left
14:02:29
nephele
has joined
14:03:37
Ingolf
has left
14:04:35
xnamed
has left
14:04:46
junaid
has joined
14:06:30
antranigv
has left
14:11:13
antranigv
has joined
14:11:17
nephele
has left
14:13:44
thomaslewis
has joined
14:15:10
thomaslewis
has left
14:15:56
kfv
has left
14:19:10
Sam
has left
14:20:12
Sam
has joined
14:20:49
COM8
has joined
14:23:34
COM8
has left
14:23:37
SouL
has left
14:26:46
Ingolf
has joined
14:27:50
kfv
has joined
14:34:41
atomicwatch
has left
14:50:33
kikuchiyo
has joined
14:58:18
Ingolf
has left
15:04:19
wop001@no-bullchat.net
has joined
15:07:26
SouL
has joined
15:10:46
suohua
has left
15:13:17
wop001@no-bullchat.net
has left
15:14:17
kikuchiyo
has left
15:15:49
nephele
has joined
15:17:56
kikuchiyo
has joined
15:21:33
wop001@no-bullchat.net
has joined
15:25:34
suohua
has joined
15:25:53
pulkomandy
has joined
15:30:09
Ingolf
has joined
15:30:38
wop001@no-bullchat.net
has left
15:31:36
qwestion
has joined
15:32:23
suohua
has left
15:36:10
atomicwatch
has joined
15:39:15
raghavgururajan
has joined
15:43:36
atomicwatch
has left
15:45:14
jgart
has left
15:45:34
atomicwatch
has joined
15:45:38
jgart
has joined
15:45:38
jgart
has left
15:46:20
jgart
has joined
15:46:20
nephele
has left
15:46:52
jgart
has left
15:47:05
jgart
has joined
15:47:06
Laura
has joined
15:48:31
jgart
has left
15:49:02
jgart
has joined
15:49:02
jgart
has left
15:49:38
jgart
has joined
15:50:05
jgart
has left
15:50:24
jgart
has joined
15:50:24
jgart
has left
15:51:32
jgart
has joined
15:51:32
jgart
has left
15:52:18
jgart
has joined
15:52:19
jgart
has left
15:52:58
jgart
has joined
15:53:37
qwestion
has left
15:56:05
kfv
has left
15:56:32
syrupthinker
has joined
15:56:33
kfv
has joined
15:56:55
antranigv
has left
15:57:06
antranigv
has joined
15:58:40
jgart
has left
16:00:33
Laura
has left
16:06:34
lovetox
has left
16:08:45
PapaTutuWawa
has left
16:09:35
qwestion
has joined
16:17:08
al
has joined
16:18:41
Ingolf
has left
16:20:59
lovetox
has joined
16:21:07
qy
has left
16:24:30
qy
has joined
16:24:35
qy
has left
16:31:45
qy
has joined
16:32:01
qy
has left
16:32:26
qy
has joined
16:32:32
goffi
has left
16:33:24
larma
has left
16:34:13
Laura
has joined
16:36:18
lovetox
has left
16:38:49
selurvedu
has left
16:40:55
qy
has left
16:42:51
qy
has joined
16:42:57
Laura
has left
16:46:39
Sam
has left
16:50:13
Sam
has joined
16:50:17
qy
has left
16:54:27
qy
has joined
16:54:39
qwestion
has left
16:57:23
Laura
has joined
16:59:33
jgart
has joined
17:01:21
lovetox
has joined
17:02:07
A
has joined
17:02:35
goffi
has joined
17:04:09
A
has left
17:04:47
larma
has joined
17:05:20
Laura
has left
17:11:11
Laura
has joined
17:11:43
Ingolf
has joined
17:24:41
marc
has left
17:30:27
marc
has joined
17:30:50
goffi
has left
17:42:35
xnamed
has joined
17:48:53
marc
has left
17:54:54
marc
has joined
17:55:23
Beherit
has joined
17:55:45
debacle
has joined
18:03:13
emus
has left
18:04:59
emus
has joined
18:05:36
lovetox
18:06:29
can anybody give me a clue, what i need to google to find out how people deploy their webapps to production?
Zash
18:06:46
"how to become potato farmer"
lovetox
18:07:12
as it seems "How to deploy to production" does yield a million articles not one of them going into detail how the code gets transfered to the server
Zash
18:07:36
The standard IT answer applies, "It Depends™"
lovetox
18:08:04
like my ideas are
- have cron job the does git pull every minute
- triggering a webhook that does then trigger some script on the server
lovetox
18:08:21
but i dont want to write that webhook myself so ..
Zash
18:08:27
Like, on what kind of stack it is. Stack html pages? Just copy over with some file transfer mechanism. More complex? More "it depends"
lovetox
18:08:41
- sshing into the server and triggering a script there, comes also to mind
Zash
18:09:05
Oh, so you want a thing that makes a docker container in a docker container and triggers a docker container manager manger to docker the docker docker into production docker? Well then
lovetox
18:09:09
Zash i need to execute a script on the server
lovetox
18:09:38
i simply want my CI call something that triggers a script on the server
Zash
18:10:09
`@hourly cd /path/to/app; docker-compose up -d` in a cronjob?
al
has left
18:10:24
lovetox
18:11:04
yes as i said that one idea, but sounds not like a good idea
Zash
18:11:07
> does yield a million articles
because there are probably more methods invented than there are IT people
marc
has left
18:11:34
lovetox
18:11:40
ok Zash, lets start with how you do it with prosody website :)
Zash
18:11:46
I've been wanting to make a thing that runs things based on hooks (web- or xmpp-/pubsub-) but I've yet to NIH that
Zash
18:12:19
The prosody website doesn't involve CI
marc
has joined
18:13:05
Zash
18:13:30
It's a hook in the repo that prods a port with netcat which starts a systemd job that runs `hg pull -u && make` in /var/www
Zash
18:14:18
so, `netcat localhost someport` -> systemd socket activation -> build the site.service, a one-off job that does that
Zash
18:14:47
Elsewhere I just a post-receive hook that runs `make` when you push to the repo
Zash
18:14:54
So many variants!
Zash
18:15:27
The socket activation thing enables running the build as a different user than the vcs repo user
PapaTutuWawa
has joined
18:16:15
Zash
18:16:23
So I guess architectually, that's pretty close to a webhook thing that runs commands
Zash
18:16:35
except without the web, which is nice
jonas’
18:16:55
why netcat localhost and not socat UNIX:foobar, to avoid this being at the mercy of a iptables rule to protect from external abuse?
Zash
18:17:56
do I look like I want to figure out how to systemd socket activation UNIX sockets?
jonas’
18:17:58
(also, unix sockets are *even less* web than bare TCP)
jonas’
18:18:09
Zash, just use SocketStream=/path/to/somewhere instead of a port number?
Zash
18:18:12
It listens on ::1 anyway, good luck reaching it
jonas’
18:18:22
ah, ListenStream= it is
jonas’
18:18:45
> If the address starts with a slash ("/"), it is read as file system socket in the AF_UNIX socket family.
jonas’
18:18:54
and then you get the added benefits of posix permission control
Zash
18:21:27
I've mentally categorized the whole thing under "it works, don't """fix""" it"
marc
has left
18:21:28
lovetox
18:22:03
ok i think i write my own webhook thingy
lovetox
18:22:13
seems to be a 30 line flask script
Zash
18:22:46
and now you have a million lines of python running with _what_ privileges?
Zash
18:23:27
the socket activation thing means only systemd, which is already there, is involved
marc
has joined
18:23:56
atomicwatch
has left
18:24:45
lovetox
18:25:36
sorry i dont know a single thing about all the things you have written
lovetox
18:26:13
so your method is probably better, but im not inclined to read me into linux system socket systemd things
lovetox
18:26:18
when i can write 30 lines of python
jonas’
18:26:33
it's probably fewer lines of systemd unit files.
Zash
18:26:34
depends on what you value
jonas’
18:26:36
but eh, you do you
Zash
18:27:20
I tried to minimize extra stuff running while sending signals across privilege barriers and arrived at that
jgart
has left
18:27:56
jgart
has joined
18:28:34
lovetox
18:28:34
its a web api, and it supports a single get request
Zash
18:28:42
I like the pages.sr.ht method, where the CI job uploads a tarball of the website somewhere with curl
lovetox
18:28:46
if that is suddenly insecure, i think we have big problems :)
Zash
18:29:12
In the ENTERPRISE world it'll probably be webhooks triggering kubernetes something something I wanna live in the woods and grow potatoes between the firs
nephele
has joined
18:29:39
nephele
18:32:36
I love docker, it creates jobs out of nothing ;)
nephele
has left
18:36:14
nephele
has joined
18:36:16
syrupthinker
has left
18:38:59
abdullahi
has left
18:46:23
xecks
has left
18:48:04
xecks
has joined
18:48:04
antranigv
has left
19:03:54
syrupthinker
has joined
19:26:16
nephele
has left
19:34:52
Wojtek
has left
19:37:44
nephele
has joined
19:52:52
nephele
has left
19:53:25
nephele
has joined
19:53:26
nephele
has left
20:03:29
Yagizа
has left
20:05:59
selurvedu
has joined
20:06:33
xnamed
has left
20:11:53
msavoritias
has left
20:20:13
xnamed
has joined
20:30:42
pasdesushi
has left
20:30:46
pasdesushi
has joined
20:31:28
antranigv
has joined
20:39:07
nephele
has joined
20:45:00
Millesimus
has left
20:45:31
nephele
has left
20:45:39
antranigv
has left
20:47:17
Millesimus
has joined
20:48:13
junaid
has left
20:51:57
antranigv
has joined
20:55:44
xnamed
has left
21:07:49
Alex
has left
21:09:03
xnamed
has joined
21:11:32
antranigv
has left
21:12:58
PapaTutuWawa
has left
21:14:30
rq77
has joined
21:18:01
marc0s
has left
21:19:32
marc0s
has joined
21:19:34
Alex
has joined
21:19:58
Syndace
has left
21:27:07
xnamed
has left
21:40:30
larma
has left
21:42:07
abdullahi
has joined
21:46:35
Syndace
has joined
21:46:49
marc0s
has left
21:52:17
Beherit
has left
21:52:39
syrupthinker
has left
21:53:31
syrupthinker
has joined
21:53:32
marc0s
has joined
21:54:11
rq77
has left
22:23:57
syrupthinker
has left
22:25:14
suohua
has joined
22:31:13
suohua
has left
22:31:39
suohua
has joined
22:31:44
norayr
has joined
22:43:43
antranigv
has joined
22:46:38
pasdesushi
has left
22:53:41
marc
has left
22:55:05
wurstsalat
has left
22:58:26
suohua
has left
23:00:16
SouL
has left
23:13:49
sonny
has left
23:39:59
jgart
has left
23:44:49
jgart
has joined
23:45:22
jgart
has left
23:46:40
emus
has left
23:47:55
jgart
has joined
23:48:57
jgart
has left
23:50:16