-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcodefresh.yml
More file actions
51 lines (38 loc) · 913 Bytes
/
codefresh.yml
File metadata and controls
51 lines (38 loc) · 913 Bytes
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
version: '1.0'
steps:
build_step_name:
type: build
dockerfile: DockerfileDist
image-name: bencodefresh/small
tag: latest
metadata:
set:
- qa: mytag
# pushstuff:
# type: push
# candidate: ${{build_step_name}}
# candidate: bencodefresh/small:latest
# tag: latest
middle:
working_directory: ${{main_clone}}
image: ubuntu
commands:
- echo ${{CF_BRANCH}}
compose:
type: composition
composition_candidates:
web2:
command: sh -c 'sleep 90 && echo done_first'
web3:
command: sh -c 'sleep 30 && echo done_second'
composition: docker-compose.yml
# dockerfile:
# content: |
# FROM busybox
# RUN echo $arg
# nothing:
# image: ubuntu:12.04
# commands:
# - echo sleeping...
# - sleep 2
# - echo finsih sleepingd