compose/.drone/.drone.jsonnet

29 lines
438 B
Plaintext
Raw Normal View History

2020-07-29 19:09:10 +00:00
[
{
2020-07-29 19:14:56 +00:00
name: 'test pipe',
2020-07-29 19:09:10 +00:00
kind: 'pipeline',
type: 'docker',
2020-07-29 19:32:22 +00:00
trigger: {
event: ['tag'],
},
2020-07-29 19:09:10 +00:00
clone: {
disable: false,
depth: 0,
},
2020-07-29 19:14:56 +00:00
steps: [
{
name: 'step',
image: 'alpine',
2020-07-29 19:42:03 +00:00
when: {
event: ['tag'],
},
2020-07-29 19:16:34 +00:00
commands: [
2020-07-29 19:17:47 +00:00
'echo hello',
2020-07-29 19:16:34 +00:00
'echo $${DRONE_COMMIT}',
2020-07-29 19:26:17 +00:00
'echo $${DRONE_TAG}',
2020-07-29 19:16:34 +00:00
],
2020-07-29 19:14:56 +00:00
},
],
2020-07-29 19:09:10 +00:00
}
]