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
27 # this build somehow fails with the 1.47.0 image/without root
28 - name: install diesel cli
29 image: ekidd/rust-musl-builder:experimental-stable
35 - cargo install diesel_cli --no-default-features --features postgres
36 - mv /root/.cargo/bin/diesel /dieselcli/diesel
39 image: ekidd/rust-musl-builder:1.47.0
41 LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
42 DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
50 - sudo apt-get -y install --no-install-recommends espeak postgresql-client
51 - /dieselcli/diesel migration run
52 - cargo test --workspace --no-fail-fast
55 image: ekidd/rust-musl-builder:1.47.0
62 - name: run federation tests
63 image: node:15-alpine-3.12
66 - apt-get -y install --no-install-recommends bash curl postgresql-client
67 - bash api_tests/prepare-drone-federation-test.sh
72 - name: create docker tags
73 image: ekidd/rust-musl-builder:1.47.0
75 - echo "$(git describe),latest" > .tags
80 - name: make release build and push to docker hub
83 dockerfile: docker/prod/Dockerfile
86 repo: dessalines/lemmy
91 # TODO: also need to add more databases for federation test
92 # (or use multiple DBs in the same postgres instance)
95 image: postgres:12-alpine
98 POSTGRES_PASSWORD: password