Update ci
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Dominic Grimm 2023-02-12 11:18:01 +01:00
parent 1456184d30
commit 66fe384ae4
No known key found for this signature in database
GPG key ID: 6F294212DEAAC530
2 changed files with 24 additions and 1 deletions

23
.drone.yml Normal file
View file

@ -0,0 +1,23 @@
kind: pipeline
type: kubernetes
name: default
steps:
- name: test
image: docker.io/rust:1.67-alpine
commands:
- cargo test --verbose --all
- name: build
image: docker.io/tmaier/docker-compose
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- make ci
depends_on:
- test
volumes:
- name: dockersock
host:
path: /var/run/docker.sock

View file

@ -15,7 +15,7 @@ WORKDIR /usr/src/templates
COPY ./templates . COPY ./templates .
RUN minify . -r -o . RUN minify . -r -o .
FROM docker.io/lukemathwalker/cargo-chef:latest-rust-1.67.0 as chef FROM docker.io/lukemathwalker/cargo-chef:latest-rust-1.67 as chef
FROM chef as diesel FROM chef as diesel
RUN cargo install diesel_cli --no-default-features --features postgres RUN cargo install diesel_cli --no-default-features --features postgres