forked from AviSchneider/djanga
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcodefresh.yml
More file actions
40 lines (32 loc) · 745 Bytes
/
codefresh.yml
File metadata and controls
40 lines (32 loc) · 745 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
version: '1.0'
steps:
clone-prj:
type: git-clone
repo: https://github.com/nCodefresh/docker-spring-boot.git
unit-test:
image: python:2-alpine
commands:
- exit 0
environment:
- JIM=BOB
- PORT=9000
# Not implemented yet
#integration-tests:
# type: composition
# image: alpine
# working-directory: ${{clone-jim}}
# composition-file: integ-test-composition.yml
# commands:
# - tests/exec.sh
build-djanga:
type: build
description: It builds the Djanga Service
dockerfile: Dockerfile
image-name: noamt/djanga
tag: nicetag
#build-arguments:
# - FOO=BAR
push-dockerhub:
type: push
candidate: ${{build-djanga}}
tag: awesomeness