Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
d1f6174f02
commit
c8ca2ed86b
@ -11,10 +11,16 @@ local getStepName(arch) = 'check ' + arch;
|
|||||||
local buildForArch(arch) = {
|
local buildForArch(arch) = {
|
||||||
name: getStepName(arch),
|
name: getStepName(arch),
|
||||||
image: 'img.kie.rs/jjkiers/rust-dind-cross:1.62-slim',
|
image: 'img.kie.rs/jjkiers/rust-dind-cross:1.62-slim',
|
||||||
volumes: [{
|
volumes: [
|
||||||
name: 'dockersock',
|
{
|
||||||
path: '/var/run',
|
name: 'dockersock',
|
||||||
}],
|
path: '/var/run',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rust-toolchains',
|
||||||
|
path: '/usr/local/rustup/toolchains',
|
||||||
|
},
|
||||||
|
],
|
||||||
commands: [
|
commands: [
|
||||||
'echo Hello World from Jsonnet on ' + arch + '!',
|
'echo Hello World from Jsonnet on ' + arch + '!',
|
||||||
'cross build --release --target ' + arch,
|
'cross build --release --target ' + arch,
|
||||||
@ -92,6 +98,12 @@ local check_steps() = [
|
|||||||
path: '/srv/drone/docker-dind-rust',
|
path: '/srv/drone/docker-dind-rust',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'rust-toolchains',
|
||||||
|
host: {
|
||||||
|
path: '/srv/drone/rust-toolchains',
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
image_pull_secrets: ['docker_private_repo'],
|
image_pull_secrets: ['docker_private_repo'],
|
||||||
|
Loading…
Reference in New Issue
Block a user