Jacob Kiers
b861fac4ad
Some checks are pending
continuous-integration/drone/push Build is running
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
37 lines
656 B
Plaintext
37 lines
656 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',
|
|
],
|
|
},
|
|
],
|
|
}
|