Skip to content

Commit 60981d3

Browse files
parent pages for example catalog
1 parent 2de0f1c commit 60981d3

File tree

7 files changed

+49
-45
lines changed

7 files changed

+49
-45
lines changed

_data/home-content.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,10 @@
136136
icon: images/home-icons/tutorial.svg
137137
url: ''
138138
links:
139-
- title: CI/CD examples
140-
localurl: /docs/example-catalog/examples/
141-
139+
- title: CI examples
140+
localurl: /docs/example-catalog/ci-examples/
141+
- title: CD examples
142+
localurl: /docs/example-catalog/cd-examples/
142143

143144
- title: Pipelines
144145
icon: images/home-icons/pipeline.svg

_data/nav.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@
9595
- title: Example catalog
9696
url: "/example-catalog"
9797
pages:
98-
- title: CI/CD examples
99-
url: "/examples"
10098
- title: CI examples
10199
url: "/ci-examples"
102100
sub-pages:

_docs/example-catalog/cd-examples.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: "CD example catalog"
3+
description: "A collection of CD examples for Codefresh pipelines"
4+
group: example-catalog
5+
toc: true
6+
---
7+
8+
Continuous Delivery/Deployment ideally includes already
9+
Continuous Integration and builds upon it.
10+
11+
12+
### Preview environment examples
13+
14+
Codefresh can automatically launch environments (powered by Docker swarm) to [preview a Pull Request or feature]({{site.baseurl}}/docs/quick-start/ci-quick-start/on-demand-environments/). The definition of the environment can come from an [existing composition]({{site.baseurl}}/docs/testing/create-composition/), a docker-compose file or an inline YAML. Preview environments can be launched manually or [automatically from pipelines]({{site.baseurl}}/docs/pipelines/steps/launch-composition/).
15+
16+
- [NGINX Basic Auth]({{site.baseurl}}/docs/example-catalog/cd-examples/secure-a-docker-container-using-http-basic-auth/)
17+
- [Spring Boot + Kafka + Zookeeper]({{site.baseurl}}/docs/example-catalog/cd-examples/spring-boot-kafka-zookeeper/)
18+
- [Web terminal]({{site.baseurl}}/docs/example-catalog/cd-examples/web-terminal/)
19+
20+
### Deployment examples
21+
22+
Codefresh can deploy to any platform such as VMs, FTP/SSH/S3 sites, app servers, but of course it has great support for [Kubernetes clusters]({{site.baseurl}}/docs/deployments/kubernetes/deployment-options-to-kubernetes/) and [Helm releases]({{site.baseurl}}/docs/deployments/helm/helm-releases-management/):
23+
24+
- [Deploy to a VM with packer]({{site.baseurl}}/docs/example-catalog/cd-examples/packer-gcloud/)
25+
- [Deploy to a VM with FTP]({{site.baseurl}}/docs/example-catalog/cd-examples/transferring-php-ftp)
26+
- [Deploy to Tomcat using SCP]({{site.baseurl}}/docs/example-catalog/cd-examples/deploy-to-tomcat-via-scp)
27+
- [Use kubectl as part of freestyle step]({{site.baseurl}}/docs/example-catalog/cd-examples/use-kubectl-as-part-of-freestyle-step)
28+
- [Deploy with Kustomize]({{site.baseurl}}/docs/example-catalog/cd-examples/deploy-with-kustomize)
29+
- [Deploy with Helm]({{site.baseurl}}/docs/example-catalog/cd-examples/helm)
30+
- [Deploy with Terraform]({{site.baseurl}}/docs/example-catalog/cd-examples/terraform)
31+
- [Deploy with Pulumi]({{site.baseurl}}/docs/example-catalog/cd-examples/pulumi)
32+
- [Deploy to Nomad]({{site.baseurl}}/docs/example-catalog/cd-examples/nomad)
33+
- [Deploy to Heroku]({{site.baseurl}}/docs/example-catalog/cd-examples/deploy-to-heroku/)
34+
- [Deploy to Docker swarm]({{site.baseurl}}/docs/example-catalog/cd-examples/docker-swarm/)
35+
- [Deploy to Elastic Beanstalk]({{site.baseurl}}/docs/example-catalog/cd-examples/elastic-beanstalk/)
36+
- [Deploy to Amazon ECS/Fargate]({{site.baseurl}}/docs/example-catalog/cd-examples/amazon-ecs/)
37+
38+
39+
### Secrets examples
40+
41+
Codefresh can automatically export secret key-value pairs using the Vault plugin from the [Step Marketplace](https://codefresh.io/steps/step/vault){:target="\_blank"}.
42+
- [GitOps with Bitnami sealed secrets]({{site.baseurl}}/docs/example-catalog/cd-examples/gitops-secrets)

_docs/example-catalog/examples.md renamed to _docs/example-catalog/ci-examples.md

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "CI/CD examples"
3-
description: "A collection of examples for Codefresh pipelines"
2+
title: "CI Example catalog"
3+
description: "A collection of CI examples for Codefresh pipelines"
44
group: example-catalog
55
redirect_from:
66
- /docs/yaml-examples/examples/
@@ -21,8 +21,6 @@ toc: true
2121
---
2222
Codefresh enables you to define the steps of your pipeline in a [YAML file]({{site.baseurl}}/docs/pipelines/what-is-the-codefresh-yaml/). By default, the file is named `codefresh.yml`, and is located in the root directory of the repository.
2323

24-
## CI examples
25-
2624
### Programming-language specific examples
2725

2826
Codefresh is agnostic as far as programming languages are concerned. All major programming languages are supported:
@@ -63,7 +61,6 @@ You can also compile traditional applications that are not Dockerized yet.
6361
- [Get Short SHA ID and use it in a CI process]({{site.baseurl}}/docs/example-catalog/ci-examples/get-short-sha-id-and-use-it-in-a-ci-process)
6462
- [Call a CD pipeline from a CI pipeline]({{site.baseurl}}/docs/example-catalog/ci-examples/call-child-pipelines)
6563

66-
<!--ask Kostis about these -->
6764
### Unit and integration test examples
6865

6966
Codefresh has support for both [unit]({{site.baseurl}}/docs/testing/unit-tests/) and [integration]({{site.baseurl}}/docs/testing/integration-tests/) tests, as well as [test reporting]({{site.baseurl}}/docs/testing/test-reports/).
@@ -100,36 +97,3 @@ Codefresh can automatically export secret key-value pairs using the Vault plugin
10097
- [Send notification to Jira]({{site.baseurl}}/docs/example-catalog/ci-examples/sending-the-notification-to-jira)
10198

10299

103-
## CD examples
104-
105-
### Preview environment examples
106-
107-
Codefresh can automatically launch environments (powered by Docker swarm) to [preview a Pull Request or feature]({{site.baseurl}}/docs/quick-start/ci-quick-start/on-demand-environments/). The definition of the environment can come from an [existing composition]({{site.baseurl}}/docs/testing/create-composition/), a docker-compose file or an inline YAML. Preview environments can be launched manually or [automatically from pipelines]({{site.baseurl}}/docs/pipelines/steps/launch-composition/).
108-
109-
- [NGINX Basic Auth]({{site.baseurl}}/docs/example-catalog/cd-examples/secure-a-docker-container-using-http-basic-auth/)
110-
- [Spring Boot + Kafka + Zookeeper]({{site.baseurl}}/docs/example-catalog/cd-examples/spring-boot-kafka-zookeeper/)
111-
- [Web terminal]({{site.baseurl}}/docs/example-catalog/cd-examples/web-terminal/)
112-
113-
### Deployment examples
114-
115-
Codefresh can deploy to any platform such as VMs, FTP/SSH/S3 sites, app servers, but of course it has great support for [Kubernetes clusters]({{site.baseurl}}/docs/deployments/kubernetes/deployment-options-to-kubernetes/) and [Helm releases]({{site.baseurl}}/docs/deployments/helm/helm-releases-management/):
116-
117-
- [Deploy to a VM with packer]({{site.baseurl}}/docs/example-catalog/cd-examples/packer-gcloud/)
118-
- [Deploy to a VM with FTP]({{site.baseurl}}/docs/example-catalog/cd-examples/transferring-php-ftp)
119-
- [Deploy to Tomcat using SCP]({{site.baseurl}}/docs/example-catalog/cd-examples/deploy-to-tomcat-via-scp)
120-
- [Use kubectl as part of freestyle step]({{site.baseurl}}/docs/example-catalog/cd-examples/use-kubectl-as-part-of-freestyle-step)
121-
- [Deploy with Kustomize]({{site.baseurl}}/docs/example-catalog/cd-examples/deploy-with-kustomize)
122-
- [Deploy with Helm]({{site.baseurl}}/docs/example-catalog/cd-examples/helm)
123-
- [Deploy with Terraform]({{site.baseurl}}/docs/example-catalog/cd-examples/terraform)
124-
- [Deploy with Pulumi]({{site.baseurl}}/docs/example-catalog/cd-examples/pulumi)
125-
- [Deploy to Nomad]({{site.baseurl}}/docs/example-catalog/cd-examples/nomad)
126-
- [Deploy to Heroku]({{site.baseurl}}/docs/example-catalog/cd-examples/deploy-to-heroku/)
127-
- [Deploy to Docker swarm]({{site.baseurl}}/docs/example-catalog/cd-examples/docker-swarm/)
128-
- [Deploy to Elastic Beanstalk]({{site.baseurl}}/docs/example-catalog/cd-examples/elastic-beanstalk/)
129-
- [Deploy to Amazon ECS/Fargate]({{site.baseurl}}/docs/example-catalog/cd-examples/amazon-ecs/)
130-
131-
132-
### Secrets examples
133-
134-
Codefresh can automatically export secret key-value pairs using the Vault plugin from the [Step Marketplace](https://codefresh.io/steps/step/vault){:target="\_blank"}.
135-
- [GitOps with Bitnami sealed secrets]({{site.baseurl}}/docs/example-catalog/cd-examples/gitops-secrets)

_docs/example-catalog/ci-examples/general.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ links not available in base documentation
1313
- [How to run composition using cf-cli](doc:how-to-run-composition-using-cf-cli-1)
1414
- [How to spin up image using cf-cli](doc:how-to-spin-up-image-using-cf-cli)
1515
{% endcomment %}
16-
- [Selenium test]({{site.baseurl}}/docs/learn-by-example/general/selenium-test/)

_docs/example-catalog/ci-examples/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ redirect_from:
77
toc: true
88
---
99
This section contains Codefresh examples based on Python.
10-
- [Voting app]({{ site.baseurl }}/docs/learn-by-example/python/voting-app/)
10+
- [Voting app]({{ site.baseurl }}/docs/example-catalog/ci-examples/voting-app/)
1111
- [Django]({{ site.baseurl }}/docs/learn-by-example/python/django/)
File renamed without changes.

0 commit comments

Comments
 (0)