-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline.gocd.yaml
37 lines (37 loc) · 909 Bytes
/
pipeline.gocd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
format_version: 10
pipelines:
demo2:
group: defaultGroup
label_template: ${COUNT}
lock_behavior: none
display_order: -1
materials:
git-bc553df:
git: https://github.com/sohamm-coditas/python-hello.git
shallow_clone: false
auto_update: true
branch: main
stages:
- Test:
fetch_materials: true
keep_artifacts: false
clean_workspace: false
approval:
type: success
allow_only_on_success: false
jobs:
test:
timeout: 0
tasks:
- exec:
arguments:
- install
- -r
- requirements.txt
command: pip3
run_if: passed
- exec:
arguments:
- server.py
command: python3
run_if: passed