2022-08-10 22:46:48 +00:00
|
|
|
{
|
2022-08-11 07:31:55 +00:00
|
|
|
kind: 'pipeline',
|
2022-12-14 16:00:51 +00:00
|
|
|
type: 'digitalocean',
|
2022-08-11 07:31:55 +00:00
|
|
|
name: 'default',
|
2022-12-14 16:00:51 +00:00
|
|
|
token: {
|
|
|
|
from_secret: 'digitalocean_pat',
|
2022-12-02 21:24:20 +00:00
|
|
|
},
|
2022-08-11 07:31:55 +00:00
|
|
|
platform: {
|
|
|
|
arch: 'amd64',
|
|
|
|
},
|
2022-12-14 16:02:17 +00:00
|
|
|
server: {
|
2022-12-14 16:00:51 +00:00
|
|
|
image: 'docker-20-04',
|
2022-12-14 16:03:53 +00:00
|
|
|
size: 's-1vcpu-1gb',
|
2022-12-14 16:00:51 +00:00
|
|
|
region: 'fra1',
|
|
|
|
},
|
2022-08-11 07:31:55 +00:00
|
|
|
steps:
|
2022-08-11 21:11:55 +00:00
|
|
|
[
|
2022-12-14 16:18:28 +00:00
|
|
|
// {
|
|
|
|
// name: 'Hello bash!',
|
|
|
|
// image: 'bash:latest',
|
|
|
|
// commands: [
|
|
|
|
// 'sleep 10',
|
|
|
|
// 'echo Hello from DigitalOcean VM',
|
|
|
|
// ],
|
|
|
|
// },
|
2022-09-07 20:34:36 +00:00
|
|
|
{
|
2022-12-03 09:59:34 +00:00
|
|
|
name: 'Hello Rust!',
|
2022-12-03 09:58:24 +00:00
|
|
|
image: 'img.kie.rs/jjkiers/rust-dind-cross:1.62-slim',
|
|
|
|
commands: [
|
2022-12-14 16:17:14 +00:00
|
|
|
'cargo check',
|
|
|
|
'cargo build',
|
2022-12-03 09:58:24 +00:00
|
|
|
'cargo run',
|
|
|
|
],
|
2022-08-20 21:23:48 +00:00
|
|
|
},
|
|
|
|
],
|
2022-08-11 07:31:55 +00:00
|
|
|
}
|