Jacob Kiers
5cf83e43b3
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
37 lines
720 B
Plaintext
37 lines
720 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: 'img.kie.rs/jjkiers/rust-dind-cross:1.62-slim',
|
|
commands: [
|
|
'cargo check',
|
|
'cargo build',
|
|
'cargo run',
|
|
],
|
|
},
|
|
],
|
|
}
|