-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathjob-build.yml
More file actions
52 lines (52 loc) · 1.28 KB
/
job-build.yml
File metadata and controls
52 lines (52 loc) · 1.28 KB
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
48
49
50
51
52
kind: Job
version: v1
meta:
name: build
labels:
type: job
app: lastbackend
spec:
enabled: true
concurrency:
limit: 1
provider:
timeout: "10s"
http:
endpoint: "http://127.0.0.1:2965/task/manifest"
method: GET
headers:
X-LASTBACKEND-AUTH: "11c9ae503b8a46c6abba315c3f5e07db"
hook:
http:
endpoint: "http://127.0.0.1:2965/task/status"
method: PUT
headers:
X-LASTBACKEND-AUTH: "11c9ae503b8a46c6abba315c3f5e07db"
task:
runtime:
# services: [dind]
services: []
tasks:
# - name: "build"
# container: "git"
# commands:
# - command: "docker build -t index.lstbknd.net/undassa/alpine github.com/undassa/alpine"
# - name: "push"
# container: "git"
# commands:
# - command: "docker push index.lstbknd.net/undassa/alpine"
template:
# containers:
# - name: dind
# image:
# name: docker:18.09.1-dind
# restart:
# policy: always
# security:
# privileged: true
# - name: git
# image:
# name: docker:18.09.1-git
# env:
# - name: DOCKER_HOST
# value: "tcp://127.0.0.1:2375"