24 lines
421 B
YAML
24 lines
421 B
YAML
|
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
|