Add wait step as a separate one.
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
This commit is contained in:
parent
6686a67c71
commit
df44867b9d
@ -17,7 +17,6 @@ local buildForArch(arch) = {
|
||||
}],
|
||||
commands: [
|
||||
'echo Hello World from Jsonnet on ' + arch + '!',
|
||||
'while ! docker image ls; do sleep 1; done',
|
||||
'cross build --release --target ' + arch,
|
||||
'rm -rf target/' + arch + '/release/{build,deps,examples,incremental}',
|
||||
'ls -lah target/' + arch + '/release',
|
||||
@ -40,7 +39,12 @@ local check_steps() = [
|
||||
arch: 'amd64',
|
||||
},
|
||||
steps:
|
||||
check_steps() +
|
||||
[{
|
||||
name: 'wait-for-docker',
|
||||
image: 'rust:1.62',
|
||||
commands: ['while ! docker image ls; do sleep 1; done'],
|
||||
}]
|
||||
+ check_steps() +
|
||||
[
|
||||
{
|
||||
name: 'build',
|
||||
|
Loading…
Reference in New Issue
Block a user