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

added Use YAML from Repository to this doc#280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kostis-codefresh merged 1 commit intomasterfromuse-yaml-from-repo
Jun 8, 2021
Merged
Changes fromall 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
22 changes: 11 additions & 11 deletions_docs/configure-ci-cd-pipeline/pipelines.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
---
title: "Creatingpipelines"
description: "How to definepipelines in Codefresh"
title: "CreatingPipelines"
description: "How to definePipelines in Codefresh"
group: configure-ci-cd-pipeline
redirect_from:
- /docs/pipeline
Expand DownExpand Up@@ -49,7 +49,7 @@ With these basic building blocks, you can define many complex workflows. In part
Of course, it also possible to have a simpler scenario where the trigger, the pipeline steps and the source code of the application are all defined for the same GIT repository.


## Creatingnew pipelines
## CreatingNew Pipelines

You can create new projects by clicking on *Projects* in the left sidebar and then selecting the *New Project* button on the top right corner. A dialog will appear that will ask you for the project name and optional tags that you can use for [access control]({{site.baseurl}}/docs/enterprise/access-control/).

Expand DownExpand Up@@ -80,7 +80,7 @@ or by copying an existing one from the same project or a completely different pr



### Using theinline pipeline editor
### Using theInline Pipeline Editor

When first creating a pipeline you will see an inline editor that allows you to define the [pipeline yml]({{site.baseurl}}/docs/codefresh-yaml/what-is-the-codefresh-yaml/) right there in the Codefresh UI. This is great when you are starting a new project because it offers you really quick feedback. You can edit the yml steps, run a build, edit again, run a build and so on.

Expand DownExpand Up@@ -109,11 +109,11 @@ Notice that in the editor you can expand/collapse individual yaml blocks using t
> You can also see the suggested Codefresh pipeline for any public git repository by using the [analyze option](https://codefresh-io.github.io/cli/analyzer/) of the Codefresh CLI.


## Loading codefresh.yml fromversion control
## Loading codefresh.yml fromVersion Control

Working with the inline editor is very convenient in the beginning, but it makes your pipeline definition only exist within the Codefresh UI and therefore goes against the basic principles of [infrastructure as code](https://en.wikipedia.org/wiki/Infrastructure_as_Code). Once you are happy with how your pipeline works you should commit it to a Git repository (which can be the same one that has the source code of the application or a completely different one).

You can click on the *Inline YAML* header and switch it to *Use YAML from URL*.
You can click on the *Inline YAML* header and switch it to *Use YAML from URL* or *Use YAML from Repository*.

{% include
image.html
Expand All@@ -129,7 +129,7 @@ You can then copy and paste a URL to a raw Codefresh YAML file. This will allow

As an example, instead of using `https://github.com/codefresh-contrib/example-voting-app/blob/master/codefresh.yml` you should enter `https://raw.githubusercontent.com/codefresh-contrib/example-voting-app/master/codefresh.yml`

## Pipelinesettings
## PipelineSettings

Once you create your pipeline you can also click on the top tab called *Settings* for some extra parameters.

Expand DownExpand Up@@ -198,7 +198,7 @@ caption="Bringing external resources into a pipeline"
max-width="80%"
%}

Currently Codefresh supports the automatic fetching of files or folders from another Git repository. To create an external resource click the *Add Resource* button and choose
Currently Codefresh supports the automatic fetching of files or folders from another Git repository. To create an external resource click the *Add Resource* button and choose:

* The Git repository that contains the files/folder you wish to bring in the pipeline workspace
* The branch from the Git repository that contains the files/folders you wish to bring in the pipeline workspace
Expand All@@ -210,14 +210,14 @@ You can define multiple external resources in a single pipeline.

### Runtime

- **Runtime Environment**: (by default this is set toSAAS)
- **Runtime Environment**: (by default this is set toSaaS)
- **Runtime OS**: (by default this is set to Linux)
- **Resources Size**:
- Small (recommended for 1-2 concurrent steps))
- Small (recommended for 1-2 concurrent steps)
- Medium (recommended 3-4 steps)
- Large (recommended 5-6 steps)

## Using Pipelinetemplates
## Using PipelineTemplates

Codefresh also supports the creation of pipeline "templates" which are blueprints for creating new pipelines. To enable the creation of pipelines from templates first visit the global pipeline configuration at [https://g.codefresh.io/account-admin/account-conf/pipeline-settings](https://g.codefresh.io/account-admin/account-conf/pipeline-settings) and toggle the *Enable Pipeline Templates* button.

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp