Skip to content

Commit 6ca3110

Browse files
Added pipelines
1 parent 201fcc3 commit 6ca3110

File tree

3 files changed

+96
-0
lines changed

3 files changed

+96
-0
lines changed

source-code-canary/canary.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# More examples of Codefresh YAML can be found at
2+
# https://codefresh.io/docs/docs/yaml-examples/examples/
3+
4+
version: "1.0"
5+
# Stages can help you organize your steps in stages
6+
stages:
7+
- "clone"
8+
- "build"
9+
10+
steps:
11+
clone:
12+
title: "Cloning repository"
13+
type: "git-clone"
14+
repo: "codefresh-contrib/gitops-certification-examples"
15+
revision: "main"
16+
stage: "clone"
17+
18+
build:
19+
title: "Building Docker image"
20+
type: "build"
21+
image_name: "kostiscodefresh/gitops-canary-app"
22+
working_directory: "${{clone}}/source-code-canary"
23+
tag: main
24+
tags:
25+
- "latest"
26+
- "v1.0"
27+
dockerfile: "Dockerfile"
28+
stage: "build"
29+
registry: dockerhub
30+
31+
32+

source-code-secrets/codefresh.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# More examples of Codefresh YAML can be found at
2+
# https://codefresh.io/docs/docs/yaml-examples/examples/
3+
4+
version: "1.0"
5+
# Stages can help you organize your steps in stages
6+
stages:
7+
- "clone"
8+
- "build"
9+
10+
steps:
11+
clone:
12+
title: "Cloning repository"
13+
type: "git-clone"
14+
repo: "codefresh-contrib/gitops-certification-examples"
15+
revision: "main"
16+
stage: "clone"
17+
18+
build:
19+
title: "Building Docker image"
20+
type: "build"
21+
image_name: "kostiscodefresh/gitops-secret-app"
22+
working_directory: "${{clone}}/source-code-secrets"
23+
tag: main
24+
tags:
25+
- "latest"
26+
- "v1.0"
27+
dockerfile: "Dockerfile"
28+
stage: "build"
29+
registry: dockerhub
30+
31+
32+

source-code/codefresh.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# More examples of Codefresh YAML can be found at
2+
# https://codefresh.io/docs/docs/yaml-examples/examples/
3+
4+
version: "1.0"
5+
# Stages can help you organize your steps in stages
6+
stages:
7+
- "clone"
8+
- "build"
9+
10+
steps:
11+
clone:
12+
title: "Cloning repository"
13+
type: "git-clone"
14+
repo: "codefresh-contrib/gitops-certification-examples"
15+
revision: "main"
16+
stage: "clone"
17+
18+
build:
19+
title: "Building Docker image"
20+
type: "build"
21+
image_name: "kostiscodefresh/gitops-simple-app"
22+
working_directory: "${{clone}}/source-code"
23+
tag: main
24+
tags:
25+
- "latest"
26+
- "v1.0"
27+
dockerfile: "Dockerfile"
28+
stage: "build"
29+
registry: dockerhub
30+
31+
32+

0 commit comments

Comments
 (0)