Commit Graph

2751 Commits

Author SHA1 Message Date
Felix Ableitner
0c89e9c2d6 use hosts file 2020-12-11 18:22:16 +01:00
Felix Ableitner
30a1a69850 setup db 2020-12-11 18:09:47 +01:00
Felix Ableitner
e7a5eff061 try debug build again 2020-12-11 17:58:03 +01:00
Felix Ableitner
446ae301f8 syntax 2020-12-11 17:48:57 +01:00
Felix Ableitner
2dd3eee0dd fix paths, try debug 2020-12-11 17:46:50 +01:00
Felix Ableitner
9c7f2cb0c3 fix bin path 2020-12-11 17:33:55 +01:00
Felix Ableitner
b61bfcefa7 find the binary 2020-12-11 17:27:18 +01:00
Felix Ableitner
9cb7680211 fix release build? 2020-12-11 17:20:29 +01:00
Felix Ableitner
20115444b6 syntax 2020-12-11 17:02:24 +01:00
Felix Ableitner
7c12b1026c faster release build 2020-12-11 17:01:05 +01:00
Felix Ableitner
5b376de5f5 need to use release bin 2020-12-11 16:25:20 +01:00
Felix Ableitner
2259b7ebc2 try release build 2020-12-11 16:15:48 +01:00
Felix Ableitner
d859844fea use apk add, remove diesel migrate from test.sh 2020-12-11 15:56:20 +01:00
Felix Ableitner
a56db9a47c cargo fmt 2020-12-11 15:45:29 +01:00
Felix Ableitner
cbe5cf8ca0 try to run migrations on db connection in tests 2020-12-11 15:41:39 +01:00
Felix Ableitner
6075f7d2f1 try again with full path 2020-12-11 15:31:19 +01:00
Felix Ableitner
55e3f370fd need to use rust image 2020-12-11 15:28:36 +01:00
Felix Ableitner
b11b3f4fad set rustfmt path 2020-12-11 15:22:12 +01:00
Felix Ableitner
135d654999 another try 2020-12-11 15:20:15 +01:00
Felix Ableitner
6d1053b8e5 put full path 2020-12-11 15:15:36 +01:00
Felix Ableitner
71d3457b82 try rustfmt 2020-12-11 15:14:17 +01:00
Felix Ableitner
6fec2e56f6 use nightly image for fmt 2020-12-11 15:05:46 +01:00
Felix Ableitner
d9f0aa223a need nightly for fmt 2020-12-11 15:02:50 +01:00
Felix Ableitner
8b0374cc4e also check formatting, more extensive cargo check 2020-12-11 14:57:43 +01:00
Felix Ableitner
08748bbede try to init db from lemmy in tests 2020-12-11 14:49:10 +01:00
Felix Ableitner
7e7e27a7eb build diesel cli in same step 2020-12-11 14:28:14 +01:00
Felix Ableitner
77b7511235 try tests without diesel migration run 2020-12-11 14:16:14 +01:00
Felix Ableitner
df2ec0aa38 try running federation tests in same alpine version 2020-12-11 14:13:30 +01:00
Felix Ableitner
4fd6b5f5e1 fix script location 2020-12-10 21:36:50 +01:00
Felix Ableitner
405e7eff27 try to fix federation test 2020-12-10 21:14:05 +01:00
Felix Ableitner
606bfa89b6 add sudo 2020-12-10 21:03:32 +01:00
Felix Ableitner
964332db12 build diesel as root 2020-12-10 20:57:28 +01:00
Felix Ableitner
f7cdadc9c2 compile diesel_cli as root (fails for some reason) 2020-12-10 20:51:51 +01:00
Felix Ableitner
e64f196c0d try with chown 2020-12-10 20:45:14 +01:00
Felix Ableitner
ed29e3d934 enable all steps, add comments 2020-12-10 20:30:02 +01:00
Felix Ableitner
a7413723b4 fix 2020-12-10 20:27:38 +01:00
Felix Ableitner
11c9559ef8 check rust version 2020-12-10 20:27:06 +01:00
Felix Ableitner
7af4a60ec4 change dir to read config 2020-12-10 20:19:17 +01:00
Felix Ableitner
7b2c59bd98 use bash, install psql 2020-12-10 20:06:09 +01:00
Felix Ableitner
861e38d157 needs apt-get then 2020-12-10 20:00:27 +01:00
Felix Ableitner
580e397525 dont use alpine for federation test 2020-12-10 19:50:41 +01:00
Felix Ableitner
7717deda0e more debug 2020-12-10 18:57:09 +01:00
Felix Ableitner
cdcbef088d more debugging 2020-12-10 18:50:15 +01:00
Felix Ableitner
fadb2b46f5 try to run as root 2020-12-10 18:44:43 +01:00
Felix Ableitner
a30199d879 ls lemmy bin 2020-12-10 18:38:53 +01:00
Felix Ableitner
6ff7debbdf enable cargo build 2020-12-10 18:32:26 +01:00
Felix Ableitner
f8a196faaf use apk 2020-12-10 18:31:28 +01:00
Felix Ableitner
94d6ceb4df install bash and curl 2020-12-10 18:29:13 +01:00
Felix Ableitner
200913f631 try with sh 2020-12-10 18:26:50 +01:00
Felix Ableitner
53c4aab6af execute with bash 2020-12-10 18:23:04 +01:00