We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba1cd68 commit 30176daCopy full SHA for 30176da
codefresh.yml
@@ -0,0 +1,26 @@
1
+version: '1.0'
2
+stages:
3
+ - prepare
4
+ - build
5
+ - test
6
+steps:
7
+ main_clone:
8
+ title: Cloning main repository...
9
+ type: git-clone
10
+ repo: '${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}'
11
+ revision: '${{CF_REVISION}}'
12
+ stage: prepare
13
+ MyAppDockerImage:
14
+ title: Building Docker Image
15
+ type: build
16
+ stage: build
17
+ image_name: my-app-image
18
+ working_directory: ./
19
+ tag: '${{CF_BRANCH_TAG_NORMALIZED}}'
20
+ dockerfile: Dockerfile
21
+ MyUnitTests:
22
+ title: Running Unit tests
23
+ stage: test
24
+ image: '${{MyAppDockerImage}}'
25
+ commands:
26
+ - python setup.py test
0 commit comments