drone-test/.drone.jsonnet
Jacob Kiers beccc75051
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Use Alpine Rust image
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-12-14 17:25:01 +01:00

37 lines
692 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: [
// 'sleep 10',
// 'echo Hello from DigitalOcean VM',
// ],
// },
{
name: 'Hello Rust!',
image: 'rust:1.65-alpine',
commands: [
'cargo check',
'cargo build',
'cargo run',
],
},
],
}