drone-test/.drone.jsonnet
Jacob Kiers 1ee5d5625c
Some checks failed
continuous-integration/drone/push Build is failing
Smaller size not allowed: docker image too large
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-12-14 17:03:53 +01:00

34 lines
575 B
Plaintext

{
kind: 'pipeline',
type: 'digitalocean',
name: 'default',
token: {
from_secret: 'digitalocean_pat',
},
platform: {
arch: 'amd64',
},
server: {
image: 'docker-20-04',
size: 's-1vcpu-1gb',
region: 'fra1',
},
steps:
[
{
name: 'Hello bash!',
image: 'bash:latest',
commands: [
'Hello from Pipeline VM',
],
},
{
name: 'Hello Rust!',
image: 'img.kie.rs/jjkiers/rust-dind-cross:1.62-slim',
commands: [
'cargo run',
],
},
],
}