Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitffa9c9d

Browse files
CI for Codefresh review
1 parent8ce3246 commitffa9c9d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

‎_docs/getting-started/ci-codefresh.md‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,8 @@ group: getting-started
55
toc:true
66
---
77

8-
<!--Focus on:
9-
Building Docker images
10-
Compiling code
11-
Running unit tests
12-
Running integration tests
13-
Security scans
14-
Code quality-->
15-
168
Codefresh is a Continuous Integration/Delivery solution. This article reviews main concepts around CI, and how Codefresh supports and implements them.
9+
1710
For a review of CD concepts, see[Codefresh for CD]({{site.baseurl}}docs/getting-started/cd-codefresh/).
1811

1912

@@ -24,7 +17,10 @@ The basic function of a CI system is to compile/package source code. Codefresh i
2417

2518
The only requirement is that you either use an existing Docker image as a step in your pipeline or create your own with the exact versions of tools that you need.
2619

20+
You can find several Docker images for all popular programming languages or you can create your own if you use an exotic programming language.
21+
2722
##Docker images
23+
2824
Building a Docker image from the source code is probably the most common and basic requirement for a CI pipeline. In Codefresh, you can build, push, and promote Docker images, using declarative YAML and credentials that are defined once and stored centrally for reuse.
2925

3026
**Build and push image**
@@ -63,12 +59,13 @@ See:
6359

6460
##Integration testing
6561
Compared to unit tests that run on the source code, integration tests run on the application itself. You need to either launch the application itself, or one or more external services such as a database.
62+
6663
In Codefresh, you can launch these sidecar containers within the pipeline through compositions and service containers.
6764

6865

6966
See[Run integration tests example]({{site.baseurl}}/docs/example-catalog/ci-examples/run-integrations-tests/).
7067

71-
##Code qualitycoverage
68+
##Code quality/coverage
7269
Good quality code is central to any CI platform or tool. Codefresh integrates with the top code quality platforms/tools in the market to track code coverage, inspect code quality, and generate code-coverage analysis reports.
7370

7471
Implement code quality coverage in Codefresh pipelines through these steps:
@@ -80,7 +77,9 @@ See [Code coverage examples]({{site.baseurl}}/docs/example-catalog/examples/#cod
8077

8178
##Linting/validating
8279

83-
Linting and validation tools which perform static analysis on source code or other resources are also integral parts of pipelines. Codefresh pipelines can use any linter tool that is bundled with a Docker image. Codefresh can also validate files that are not source-code, such as markup-language files (XML/YAML/JSON), and infrastructure files (Terraform, or Kubernetes resource files).
80+
Linting and validation tools which perform static analysis on source code or other resources are also integral parts of pipelines. Codefresh pipelines can use any linter tool that is bundled with a Docker image.
81+
82+
Codefresh can also validate files that are not source-code, such as markup-language files (XML/YAML/JSON), and infrastructure files (Terraform, or Kubernetes resource files).
8483

8584
As most static analysis tools are CLI-based, they can be easily used in a Codefresh pipeline.
8685

@@ -90,11 +89,11 @@ Security scans are critical to deploying quality code. Codefresh allows you to a
9089
**Security scan platforms**
9190
Codefresh can integrate with any security scanning platform that scans source code or Docker images for vulnerabilities. We already have ready-to-use Docker images for several security platforms such as Anchore, Aqua Security, Clair, Twistlock and WhiteSource. For the full list, visit our[Plug-ins library](https://codefresh.io/steps/){:target="\_blank"}.
9291

93-
**Scantiming in pipeline step**
92+
**Scanat any point**
9493
The security scan is implemented through a`freestyle` step, inserted anywhere in the pipeline. The fact that you can insert the step anywhere in the pipeline allows you to control when the scan is executed, for example, before the source code is packaged in a container, or before the container is stored in a registry or deployed to production, or any combination of the two.
9594

9695
**View scan results**
97-
As with any scan, the final step is viewing the scan results. Attaching analysis reports to the pipeline build makes the scan results available in Codefresh release dashboards (Test Report button).
96+
As with any scan, the final step is viewing the scan results. Attaching analysis reports to the pipeline build makes the scan results available in Codefresh release dashboards.
9897

9998
**Security annotations**
10099
Correlate the Docker images in Codefresh with the results of the security scanning platform by adding annotations for custom metadata. For example, you can add annotations such as the number of issues or the URL of the full report.
@@ -120,6 +119,7 @@ See [Slack notifications in Codefresh]({{site.baseurl}}/docs/integrations/notifi
120119
**Jira notifications**
121120
Codefresh integrates with Jira in several ways:
122121
The standard integration provides the highest visibility into your GitOps deployments. Referencing the integration in your pipeline pulls in all the Jira information and enriches the image with the issue-tracking information.
122+
123123
Our versatile[Jira Issue Manager](https://codefresh.io/steps/step/jira-issue-manager){:target="\_blank"} step can be used to create Jira issues, comment on existing Jira issues, change the status of an issue, and even add a description to your issue.
124124

125125

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp