This commit is contained in:
parent
1456184d30
commit
66fe384ae4
2 changed files with 24 additions and 1 deletions
23
.drone.yml
Normal file
23
.drone.yml
Normal 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
|
|
@ -15,7 +15,7 @@ WORKDIR /usr/src/templates
|
|||
COPY ./templates .
|
||||
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
|
||||
RUN cargo install diesel_cli --no-default-features --features postgres
|
||||
|
|
Loading…
Reference in a new issue