-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodefresh.yml
More file actions
55 lines (48 loc) · 1.12 KB
/
codefresh.yml
File metadata and controls
55 lines (48 loc) · 1.12 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
version: "1.0"
steps:
e2e-test-image:
type: build
dockerfile: docker-e2e/Dockerfile
image-name: angular2-e2e-runner
tag: ${{CF_REVISON}}
install:
image: node
working-directory: ${{initial-clone}}
commands:
- npm install
unit-test:
image: huli/karma
working-directory: ${{install}}
commands:
- npm test -- --browsers PhantomJS
dist:
image: node
working-directory: ${{install}}
commands:
- npm run dist
build-image:
type: build
working-directory: ${{dist}}
dockerfile: docker-dist/Dockerfile
image-name: roycodefresh/angular2
# e2e-test:
# type: composition
# working-directory: ${{install}}
# composition:
# version: '2'
# services:
# application:
# image: ${{build-image}}
# selenium:
# image: selenium/standalone-chrome
# volumes:
# ${{CF_VOLUME}}:
# external: true
# composition-candidates:
# test-service:
# image: ${{e2e-test-image}}
# volumes:
# - ${{CF_VOLUME}}:/src/
# depends_on:
# - selenium
# - application