33fd0dc256
consistent indents
2021-04-08 13:43:07 +02:00
c77943ff49
use ref
for condition, as branch
uses the target branch for PRs
2021-04-08 13:39:22 +02:00
1bab7f4a34
only build dev image on main branch
2021-04-07 19:00:24 +02:00
6ca5f00214
fix docker tags, remove cargo-chef
2021-04-07 18:42:15 +02:00
32ab9d5ddb
unique step names
2021-04-07 18:18:10 +02:00
387ec405bc
try to fix syntax
2021-04-07 16:59:55 +02:00
b869185559
redo, lots of boilerplate
2021-04-07 16:54:05 +02:00
f7eafe5416
try with separate step
2021-04-07 16:40:47 +02:00
bf3074daf5
publish docker images from main
2021-04-07 16:36:52 +02:00
74a63804dc
Fix test failure due to config loading error ( #1547 )
...
* Crash if config fails to load
* fix previous commit
* Fix test failure due to config loading error
* Adding test fix to drone.
* Logging line.
* Trying to fix drone 2
* Fixing deploy script.
Co-authored-by: Dessalines <tyhou13@gmx.com>
2021-04-05 13:21:56 -04:00
ae635c752a
Try to remove cargo home changing to fix release.
2021-03-19 15:57:56 -04:00
c88722983e
Merge branch 'main' into split_user_table
2021-03-18 19:36:48 -04:00
33a326854a
Set CARGO_HOME for CI so deps arent redownloaded ( #1497 )
...
* Set CARGO_HOME for CI so deps arent redownloaded
* run find on x86
* fix path
* cleanup
* try again
* use mv
2021-03-18 16:35:04 -04:00
7d04f371a5
fixing tests 3
2021-03-11 12:08:30 -05:00
7f56281c26
Forbid usage of unwrap
2021-03-01 19:24:34 +01:00
66946117e1
Upgrade Rust version
2021-03-01 18:46:56 +01:00
Andrew Yoon
600ae662a5
Support plain cargo test
and disable unused doctests for speed
...
Since DB tests execute diesel migrations automatically, concurrent
execution causes flaky failures from simultaneous migrations. This can
be worked around using `cargo test --workspace -- --test-threads=1`,
which is what the CI config does, but this is not intuitive for
newcomer developers and unnecessarily slows down the test suite for
the majority of tests which are safe to run concurrently. This fixes
this issue by integrating with the small test crate `serial_test` and
using it to explicitly mark DB tests to run sequentially while
allowing all other tests to run in parallel.
Additionally, this greatly improves the speed of `cargo test` by
disabling doc-tests in all crates, since these are aren't currently
used and cargo's doc-test pass, even when no doc-tests exist, has
significant overhead. On my machine, this change significantly
improves test suite times by about 85%, making it much more practical
to develop with tools like `cargo watch` auto-running tests.
2021-02-25 15:44:30 -05:00
Dessalines
d5d99fa3b9
Moving docs to join.lemmy.ml . Fixes #1396 ( #1410 )
...
* Moving docs to join.lemmy.ml . Fixes #1396
* Removing submodule fetch from drone.
2021-02-05 12:30:49 +00:00
Dessalines
97617d699d
Docker manifest arm amd64 deploy ( #1367 )
...
* A first try at docker manifest. 1.
* Fixing api version location
* Version 0.9.0-rc.13
* Test docker.
* Test docker 2.
* Test docker 3.
* Test docker 4.
* Test docker 5.
* Test docker 6.
* Test docker 7.
* Test docker 8.
* Test docker 9.
* Test docker 10.
* Test docker 11.
* Test docker 12.
* Version 0.9.0-rc.14
* Test docker 13.
* Test docker 14.
* Version 0.9.0-rc.15
* Test docker 15.
* Version 0.9.0-rc.16
* Test docker 16.
* Version 0.9.0-rc.17
2021-01-24 22:44:35 -05:00
672d4507b2
Removing check documentation build from drone, now that's in lemmy-docs.
2021-01-18 11:08:53 -05:00
8cfee9ca7d
Trying to fix arm build.
2021-01-15 13:31:10 -05:00
f0d928a433
Removing tag generation from drone.
2021-01-15 12:28:49 -05:00
f06b71d961
Add drone CI for arm
2021-01-15 15:24:48 +01:00
d54be4ed7f
Trying autotag
2021-01-12 19:26:32 -05:00
Dessalines
c6357f3c86
Deletion on fetch ( #1345 )
...
* Delete local object on fetch when receiving HTTP 410, split fetcher (fixes #1256 )
* Removing submodules
* Trying to re-init submodule
* Trying to re-init submodule 2
* Trying to re-init submodule 3
* Logging line.
* Removing submodules
* Adding again.
* Adding again 2.
* Adding again 3.
* Adding again 4.
* Adding again 5.
* Adding again 6.
* Adding again 7.
* Adding again 8.
* Adding again 9.
* Add more clippy lints, remove dbg!() statement
* Adding again 10.
* Adding again 11.
* Adding again 12.
Co-authored-by: Felix Ableitner <me@nutomic.com>
2021-01-12 11:12:41 -05:00
a56977f4c5
Trying to get mdbooks to build.
2021-01-06 00:34:26 -05:00
9ab3a9d072
Add clippy check tests to drone.
2020-12-23 19:42:42 -05:00
5a16d43fef
Run cargo clippy in CI on whole workspace
2020-12-22 13:03:50 +01:00
8e1f41f1e4
Removing cargo check from drone, clippy already runs check.
2020-12-20 22:50:43 -05:00
04ce64e9b6
Adding to clippy
2020-12-20 22:42:29 -05:00
2aa8de87b2
Trying other drone checks.
2020-12-20 22:37:01 -05:00
5c266302c5
Adding unfollows.
2020-12-17 21:10:20 -05:00
6cc148f6a6
Trying again.
2020-12-17 16:02:35 -05:00
1607930d07
Trying again.
2020-12-17 16:00:51 -05:00
1a4e2f4770
Trying again.
2020-12-17 15:59:25 -05:00
e492cce206
Allow running docker-less federation tests locally
2020-12-15 14:58:11 +01:00
d5955b60c0
silence lemmy output in federation logs
2020-12-14 18:01:12 +01:00
a455e8c0ab
add pictrs and iframely, read docker hub login from secrets
2020-12-14 17:01:40 +01:00
30a1a69850
setup db
2020-12-11 18:09:47 +01:00
e7a5eff061
try debug build again
2020-12-11 17:58:03 +01:00
446ae301f8
syntax
2020-12-11 17:48:57 +01:00
2dd3eee0dd
fix paths, try debug
2020-12-11 17:46:50 +01:00
9c7f2cb0c3
fix bin path
2020-12-11 17:33:55 +01:00
b61bfcefa7
find the binary
2020-12-11 17:27:18 +01:00
9cb7680211
fix release build?
2020-12-11 17:20:29 +01:00
20115444b6
syntax
2020-12-11 17:02:24 +01:00
7c12b1026c
faster release build
2020-12-11 17:01:05 +01:00
2259b7ebc2
try release build
2020-12-11 16:15:48 +01:00
d859844fea
use apk add, remove diesel migrate from test.sh
2020-12-11 15:56:20 +01:00
6075f7d2f1
try again with full path
2020-12-11 15:31:19 +01:00