Commit graph

145 commits

Author SHA1 Message Date
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
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
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
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
Felix Ableitner
dd6b539119 ls -la 2020-12-10 18:16:44 +01:00
Felix Ableitner
e0bbb58ec5 fix script name 2020-12-10 18:10:29 +01:00
Felix Ableitner
048ada462b fix command 2020-12-10 18:05:53 +01:00
Felix Ableitner
e849b22d3c change image for create tags 2020-12-10 18:04:42 +01:00
Felix Ableitner
f76f742ba7 implement federation test in bash 2020-12-10 18:03:11 +01:00
Felix Ableitner
c939954f84 use node docker image 2020-12-10 17:46:36 +01:00
Felix Ableitner
56bea54536 also install nodejs 2020-12-10 17:37:00 +01:00
Felix Ableitner
9793a0e521 install correct yarn package 2020-12-10 17:33:23 +01:00
Felix Ableitner
a8e0eee7df install yarn 2020-12-10 17:28:09 +01:00
Felix Ableitner
ad75f9de4b fix syntax again 2020-12-10 17:25:17 +01:00
Felix Ableitner
2c60215156 remove comments 2020-12-10 17:23:14 +01:00
Felix Ableitner
def5276f84 fix syntax 2020-12-10 17:22:36 +01:00
Felix Ableitner
6391ec16ed try federation tests 2020-12-10 17:20:44 +01:00
Felix Ableitner
a94fd6aaf6 try without auth 2020-12-10 14:05:03 +01:00
Felix Ableitner
f9bd72e1ee try docker release build 2020-12-10 13:55:38 +01:00
Felix Ableitner
841ad8476c disable broken tests 2020-12-10 13:47:46 +01:00
Felix Ableitner
4eced2518c try caching 2020-12-10 13:33:24 +01:00
Felix Ableitner
331985f0a0 start postgres later 2020-12-10 13:24:16 +01:00
Felix Ableitner
37fc1d721f use volume for diesel cli 2020-12-10 13:21:34 +01:00
Felix Ableitner
82c3778082 change step order for better caching 2020-12-10 13:14:32 +01:00
Felix Ableitner
2d0bf7d40d full diesel path 2020-12-10 13:11:05 +01:00
Felix Ableitner
fc382e20e1 install diesel_cli 2020-12-10 13:06:10 +01:00
Felix Ableitner
a2cd1ff367 set DATABASE_URL, run diesel migration, separate steps 2020-12-10 13:00:31 +01:00
Felix Ableitner
2d88dfdaef run a query 2020-12-10 12:34:56 +01:00
Felix Ableitner
b5b670b8b9 try db connection with psql 2020-12-10 12:31:59 +01:00
Felix Ableitner
e02d0f39ec retry service env 2020-12-10 02:10:17 +01:00
Felix Ableitner
003852f884 try to fix postgres service 2020-12-10 02:03:29 +01:00
Felix Ableitner
69c2fe19e4 remove docker socket mount 2020-12-10 01:44:11 +01:00
Felix Ableitner
b79c10c122 apt-get -y 2020-12-10 01:26:45 +01:00
Felix Ableitner
94ab4f6164 apt update 2020-12-10 01:24:28 +01:00
Felix Ableitner
af2a27935b add espeak and postgres client 2020-12-10 01:23:47 +01:00
Felix Ableitner
5b34d2be6c fix test, run clippy 2020-12-10 00:55:14 +01:00
Felix Ableitner
ec13759ca6 use alt docker image 2020-12-10 00:24:14 +01:00
Felix Ableitner
b7563bfbf5 set toolchain 2020-12-10 00:17:55 +01:00
Felix Ableitner
7aa686b650 build as root 2020-12-10 00:16:50 +01:00
Felix Ableitner
d0e730fed4 perm issues 2 2020-12-10 00:13:53 +01:00
Felix Ableitner
58850a0b0c permission issues 2020-12-10 00:13:21 +01:00
Felix Ableitner
ef22f70e18 syntax again 2020-12-10 00:00:43 +01:00
Felix Ableitner
88cd8b2d74 syntax 2020-12-09 23:59:45 +01:00
Felix Ableitner
84ac188cee cargo test + service 2020-12-09 23:58:50 +01:00
Felix Ableitner
cdc7df8625 fix 2020-12-09 23:18:52 +01:00
Felix Ableitner
2d011468b4 remove comment 2020-12-09 23:18:10 +01:00
Felix Ableitner
4557f2b03d make debug build 2020-12-09 23:17:32 +01:00
Felix Ableitner
b83cafc454 separate steps 2020-12-09 22:43:32 +01:00
Felix Ableitner
09212bb6b7 fix docker image 2020-12-09 15:00:31 +01:00
Felix Ableitner
d3a89a2a22 trigger another build 2020-12-09 14:58:58 +01:00
Felix Ableitner
bfd306e9de add volume back in 2020-12-09 14:56:45 +01:00
Felix Ableitner
f9f95a2b92 try plugins/docker image 2020-12-08 21:30:05 +01:00
Felix Ableitner
91be01fd63 docker in docker 2020-12-08 21:27:03 +01:00
Felix Ableitner
04fe7c29cb remove workspace, fix paths 2020-12-08 21:25:24 +01:00
Felix Ableitner
df0f609cce log dir 2020-12-08 21:23:54 +01:00
Felix Ableitner
e8ffa283f2 fix docker image? 2020-12-08 21:22:36 +01:00
Felix Ableitner
b04944d9a5 try manually without sudo 2020-12-08 21:20:23 +01:00
Felix Ableitner
eb06bbfef7 run test script 2020-12-08 21:17:11 +01:00
Felix Ableitner
0e364a4efe remove volume 2020-12-08 21:15:04 +01:00
Felix Ableitner
d3b2ce7b35 wip: add drone ci, remove travis ci 2020-12-08 21:13:53 +01:00