Skip to content

Commit 87e4e80

Browse files
committed
semaphore: introduce Semaphore v2
1 parent 1c2c2b4 commit 87e4e80

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.semaphore/semaphore.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
# vi: sw=2 ts=2 et:
3+
4+
version: v1.0
5+
name: Semaphore Pipeline
6+
agent:
7+
machine:
8+
type: e1-standard-2
9+
os_image: ubuntu1804
10+
11+
# Auto-cancel jobs on force-push
12+
auto_cancel:
13+
queued:
14+
when: "true"
15+
16+
# Cancel all jobs on the first fail
17+
fail_fast:
18+
cancel:
19+
when: "true"
20+
21+
blocks:
22+
- name: 'Block #1'
23+
task:
24+
jobs:
25+
- name: Build & run
26+
commands:
27+
- test/semaphore-run

0 commit comments

Comments
 (0)