drone-test/.drone.jsonnet

34 lines
584 B
Plaintext
Raw Normal View History

2022-08-10 22:46:48 +00:00
{
kind: 'pipeline',
type: 'digitalocean',
name: 'default',
token: {
from_secret: 'digitalocean_pat',
2022-12-02 21:24:20 +00:00
},
platform: {
arch: 'amd64',
},
server: {
image: 'docker-20-04',
size: 's-1vcpu-1gb',
region: 'fra1',
},
steps:
[
{
name: 'Hello bash!',
image: 'bash:latest',
commands: [
'echo Hello from DigitalOcean VM',
],
},
{
name: 'Hello Rust!',
image: 'img.kie.rs/jjkiers/rust-dind-cross:1.62-slim',
commands: [
'cargo run',
],
},
],
}