-
Notifications
You must be signed in to change notification settings - Fork 3
/
screwdriver.yaml
44 lines (41 loc) · 1.08 KB
/
screwdriver.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
38
39
40
41
42
43
44
shared:
annotations:
screwdriver.cd/executor: k8s-vm
image: golang:latest
environment:
GOPATH: /sd/workspace
jobs:
detached:
steps:
- meta get foo bar
detached_second:
requires: detached
steps:
- meta get foo
source_main:
blockedBy: [~main]
requires: [~commit, ~pr]
settings:
slack:
- test-slack-notif
- test-slack-min
steps:
- ram: free -h && cat /proc/cpuinfo
- cat: cat access_log && sleep 100
job2:
requires: main
steps:
- mem_cpu: nproc --all && free -h
- hab: ls /hab/pkgs/core
- meta: meta get foo
- write: echo 'aa' > /sd/meta/test.json
main:
image: python
requires: [~pr,~commit]
steps:
- ls: ls waffle
- meta: meta set foo bar
- mem_cpu: nproc --all && free -h
- echo-1: echo hi
- echo-2: echo $SD_PIPELINE_NAME
- cat: free -m