7 image: ekidd/rust-musl-builder:1.47.0
10 - chown 1000:1000 . -R
13 image: ekidd/rust-musl-builder:1.47.0
18 image: ekidd/rust-musl-builder:1.47.0
22 - name: check documentation build
23 image: ekidd/rust-musl-builder:1.47.0
28 image: ekidd/rust-musl-builder:1.47.0
30 LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
31 DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
36 - sudo apt-get -y install --no-install-recommends espeak postgresql-client
37 - cargo test --workspace --no-fail-fast
40 image: ekidd/rust-musl-builder:1.47.0
44 - name: run federation tests
45 image: node:15-alpine3.12
48 - apt-get -y install --no-install-recommends bash curl postgresql-client
49 - bash api_tests/prepare-drone-federation-test.sh
54 - name: create docker tags
55 image: ekidd/rust-musl-builder:1.47.0
57 - echo "$(git describe),latest" > .tags
62 - name: make release build and push to docker hub
65 dockerfile: docker/prod/Dockerfile
68 repo: dessalines/lemmy
73 # TODO: also need to add more databases for federation test
74 # (or use multiple DBs in the same postgres instance)
77 image: postgres:12-alpine
80 POSTGRES_PASSWORD: password