drone-test/.drone.jsonnet
Jacob Kiers 1762991133
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Settings should be server
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-12-14 17:02:17 +01:00

34 lines
582 B
Plaintext

{
kind: 'pipeline',
type: 'digitalocean',
name: 'default',
token: {
from_secret: 'digitalocean_pat',
},
platform: {
arch: 'amd64',
},
server: {
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',
],
},
],
}