aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-02-14 11:11:28 -0500
committerCara Salter <cara@devcara.com>2022-02-14 11:28:12 -0500
commite9543136f018d52b3dc4abb93412d07bfc4dc8c7 (patch)
tree725d1c79824c14f8488333094cbc0ba22ac1ece0
parenteee73de9008d5bb12e0d0994a4bc3c1247b52520 (diff)
downloadglitch-ng-e9543136f018d52b3dc4abb93412d07bfc4dc8c7.tar.gz
glitch-ng-e9543136f018d52b3dc4abb93412d07bfc4dc8c7.zip
Update docker image
-rw-r--r--.drone.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 2e41672..ea000ae 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -4,7 +4,14 @@ name: default
steps:
- name: build
- image: rust:slim
+ image: rust:latest
commands:
+ - apt update
+ - apt install postgresql -y
+ - pg_ctlcluster 13 main start
+ - cargo install sqlx-cli
+ - cargo sqlx migrate run
- cargo check
- cargo fmt -- --check
+ environment:
+ DATABASE_URL: postgres://postgres@localhost/campmaster