-
Notifications
You must be signed in to change notification settings - Fork 6
/
empty_template.yml
47 lines (40 loc) · 1.08 KB
/
empty_template.yml
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
38
39
40
41
42
43
44
45
46
47
version: 2.1
# list of small tasks/functions to run
jobs:
my_run1:
docker:
- image: ubuntu/18.04:latest #owner/repo:tag
steps:
- checkout #pull the repo in the docker container
- run: do_whatever_you_want
- run:
working_directory: /here/but/not/there
command: my_command1
my_run2:
docker:
- image: ubuntu/18.04:latest #owner/repo:tag
steps:
- run: XX
my_run3:
docker:
- image: ubuntu/18.04:latest #owner/repo:tag
steps:
- run: YY
my_run4:
docker:
- image: ubuntu/18.04:latest #owner/repo:tag
steps:
- run: YY
# define your worlflows, list all the taks of functions you want to run.
workflows:
my_workflow1:
jobs:
- my_run1
- my_run2
- my_run3:
requires:
- my_run2
- my_run4:
requires:
- my_run3
branches: main