@codefresh-io/yaml-validator
Version:
An NPM module/CLI for validating the Codefresh YAML
30 lines (29 loc) • 691 B
YAML
version: "1.0"
steps:
main_clone:
type: "git-clone"
description: "Cloning main repository..."
repo: "codefresh/test"
revision: "${{CF_BRANCH}}"
git: "github"
push:
title: "Pushing image to cfcr"
type: "push"
image_name: "codefresh/test"
registry: "cfcr"
candidate: "${{build}}"
tags:
- "${{CF_BRANCH_TAG_NORMALIZED}}"
- "${{CF_REVISION}}"
deploy:
title: "deploying to cluster"
type: "deploy"
kind: "kubernetes"
service: "kubernetes"
cluster: "test-cluster"
namespace: "default"
arguments:
image: "${{build}}"
registry: "cfcr"
commands:
- /cf-deploy-kubernetes deployment.yml