Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 4 additions & 21 deletions codefresh.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,19 @@
# More examples of Codefresh YAML can be found at
# https://codefresh.io/docs/docs/yaml-examples/examples/
# https://codefresh.io/docs/docs/yaml-examples/examples/asdasd

version: "1.0"
# Stages can help you organize your steps in stages
# Stages can help you organize your steps in stages bla 1234
stages:
- "clone"
- "build"
- "test"
- "push"

steps:
clone:
title: "Cloning repository"
type: "git-clone"
repo: "https://github.com/roi-codefresh/stresser"
# CF_BRANCH value is auto set when pipeline is triggered
# Learn more at codefresh.io/docs/docs/codefresh-yaml/variables/
revision: "${{CF_BRANCH}}"
repo: "roi-codefresh/stresser"
stage: "clone"
credentials:
username: github
password: '${{GITHUB_PASSWORD}}'

build:
title: "Building Docker image"
type: "build"
image_name: "roi-codefresh/stresser"
working_directory: "${{clone}}"
tag: "${{CF_BRANCH_TAG_NORMALIZED}}"
dockerfile: "Dockerfile"
disable_push: true
stage: "build"
git: github-bf

test:
title: "Running test"
Expand Down