diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml new file mode 100644 index 00000000..0a7b026a --- /dev/null +++ b/.semaphore/semaphore.yml @@ -0,0 +1,31 @@ +version: v1.0 +name: First pipeline +agent: + machine: + type: e1-standard-2 + os_image: ubuntu1804 +blocks: + - name: Test + task: + prologue: + commands: + - checkout + jobs: + - name: 'Job #1' + commands: + - echo A + - name: Unit tests + task: + prologue: + commands: + - checkout + jobs: + - name: Unit tests 1/3 + commands: + - echo "run 1/3" + - name: Unit tests 2/3 + commands: + - echo "run 2/3" + - name: Unit tests 3/3 + commands: + - echo "run 3/3"