drone-test/.drone.jsonnet
Jacob Kiers 4afad0c426
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Try digitalocean runner
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-12-14 17:00:51 +01:00

34 lines
584 B
Plaintext

{
kind: 'pipeline',
type: 'digitalocean',
name: 'default',
token: {
from_secret: 'digitalocean_pat',
},
platform: {
arch: 'amd64',
},
settings: {
image: 'docker-20-04',
size: 's-1vcpu-512mb-10gb',
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',
],
},
],
}