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

Commit4494e9c

Browse files
added level of access for for cloning a repo
1 parentbcb3d33 commit4494e9c

File tree

1 file changed

+27
-26
lines changed

1 file changed

+27
-26
lines changed

‎_docs/integrations/git-providers.md‎

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Creating an account with Codefresh using one of the supported Git providers (Git
1414

1515
You can add repositories from the other git providers regardless of the one that you used for sign-up. For example, you can use GitLab to sign up with Codefresh, but still build repositories that exist in Bitbucket.
1616

17-
You can even add multiple accounts from each Git provider (if you have more than one) allowing you to use Codefresh as a central CI/CD solution that can access all yourgit repositories regardless of the backinggit provider.
17+
You can even add multiple accounts from each Git provider (if you have more than one) allowing you to use Codefresh as a central CI/CD solution that can access all yourGit repositories regardless of the backingGit provider.
1818

1919
Currently Codefresh supports:
2020

@@ -27,31 +27,31 @@ Currently Codefresh supports:
2727
* Atlassian Stash (old version of Bibucket Server)
2828
* Bitbucket Server (new version of Stash)
2929

30-
Atlassian Stash/Bitbucket server as well as the on-premises version ofGiTlab and GitHub are only available to Codefresh enterprise customers.
30+
Atlassian Stash/Bitbucket server as well as the on-premises version ofGitLab and GitHub are only available to Codefresh enterprise customers.
3131

3232

33-
##Adding moreGIT providers to your Codefresh Account
33+
##Adding moreGit providers to your Codefresh Account
3434

35-
By default, you have direct access togit repositories that exist in theGIT provider that you used while signing up for Codefresh. You can easily create Codefresh projects that checkout code from thatGIT provider without any extra configurations.
35+
By default, you have direct access toGit repositories that exist in theGit provider that you used while signing up for Codefresh. You can easily create Codefresh projects that checkout code from thatGit provider without any extra configurations.
3636

37-
To add additionalGIT providers, go to your Account Configuration, by clicking on*Account Settings* on the left sidebar. On the first section called*Integrations* click the*Configure* button next to*Git providers*.
37+
To add additionalGit providers, go to your Account Configuration, by clicking on*Account Settings* on the left sidebar. On the first section called*Integrations* click the*Configure* button next to*Git providers*.
3838

3939
{% include image.html lightbox="true" file="/images/integrations/codefresh-integrations.png" url="/images/integrations/codefresh-integrations.png" alt="Codefresh Account Integration" max-width="80%" %}
4040

41-
You can add a newgit provider using the*Add Git provider* drop-down.
41+
You can add a newGit provider using the*Add Git provider* drop-down.
4242

4343
{% include image.html
4444
lightbox="true"
4545
file="/images/integrations/git/git-provider-menu.png"
4646
url="/images/integrations/git/git-provider-menu.png"
4747
max-width="60%"
48-
caption="AddGIT provider"
49-
alt="AddGIT provider"
48+
caption="AddGit provider"
49+
alt="AddGit provider"
5050
%}
5151

52-
For eachgit provider you need to setup authentication, so Codefresh can get access to the public and private repositories of the respective platform.
52+
For eachGit provider you need to setup authentication, so Codefresh can get access to the public and private repositories of the respective platform.
5353

54-
The easiest way to setup authentication is with OAuth2 if supported by thegit provider. You only need to name your integration
54+
The easiest way to setup authentication is with OAuth2 if supported by theGit provider. You only need to name your integration
5555
and Codefresh will automatically set it up once you accept the permissions required. If you have problems with OAuth2
5656
or the provider does not support it, you need to manually create credentials by yourself in your git account and then enter them into Codefresh.
5757

@@ -87,7 +87,7 @@ you used GitHub when you [created your Codefresh account]({{site.baseurl}}/docs/
8787

8888
For the**Access Token** method you need
8989

90-
* A friendly name for thegit context (it can be anything you want)
90+
* A friendly name for theGit context (it can be anything you want)
9191
* An access token
9292

9393
>Note that the access token for an organization should be created by somebody who has**Owner** role and not just**Member** role.
@@ -97,7 +97,7 @@ sidebar. Then select *Personal access tokens* from the left menu.
9797
For more information see the[GitHub Documentation page](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/){:target="_blank"}
9898

9999
The "token description" you enter in your GitHub account in order to create the token is completely arbitrary (use "Codefresh" for an example). Once you have the token, paste it in the Codefresh UI and click*Test connection*. If everything is OK, you can
100-
now save thegit integration.
100+
now save theGit integration.
101101

102102
The minimum permissions for the token are:
103103
-`repo.*`
@@ -127,8 +127,9 @@ For example if you already have a `token` on a resource call `git-credentials` y
127127
When the admin clicks off "Allow access to all users" another toggle appears; “Allow these credentials to be shared within a pipeline for cloning a repository“
128128
1. When its turned on, the user that runs a pipeline will be able to clone the repo.
129129
2. When its turned off, the user that runs a pipeline cannot use this integration.
130-
In both cases, the user cannot decrypt the token used in git integration with CLI or API.
131-
Important note: The credentials will be shared only to clone repo using an official git-clone step
130+
In both cases, the user cannot decrypt the token used in Git integration with CLI or API.
131+
132+
>Important note: The credentials will be shared only to clone repos using an official git-clone step
132133
133134
##GitHub-App
134135

@@ -162,7 +163,7 @@ Also from the URL of the browser note the ending number (this is your installati
162163
For the required fields use:
163164

164165
***Installation id** - found in step 5
165-
***Appid** - found in step 3
166+
***AppID** - found in step 3
166167
***Private key** - the contents of the file your created in step 3 (but convert it to base64 first)
167168

168169
Click*Test connection* to verify your integration and apply your changes with the*Save* button. If enabled in your account you can setup[Pipeline definition restrictions]({{site.baseurl}}/docs/administration/access-control/#pipeline-definition-restrictions) by expanding the*YAML Options* segment.
@@ -175,7 +176,7 @@ you used GitLab when you [created your Codefresh account]({{site.baseurl}}/docs/
175176

176177
For the**Access Key** method you need:
177178

178-
* A friendly name for thegit context (it can be anything you want.)
179+
* A friendly name for theGit context (it can be anything you want.)
179180
* An access token/key
180181

181182

@@ -185,7 +186,7 @@ For more information see the [GitLab Documentation page](https://docs.gitlab.com
185186
The name you enter in order to create the token in the GitLab UI is completely arbitrary (use "Codefresh" for an example)
186187

187188
Once you have the token, paste it in the Codefresh UI and click*Test connection*. If everything is OK can
188-
now save thegit integration.
189+
now save theGit integration.
189190

190191
For GitLab on-premises you also need to provide the URL of the GitLab server in your organization. If enabled in your account you can setup[Pipeline definition restrictions]({{site.baseurl}}/docs/administration/access-control/#pipeline-definition-restrictions) by expanding the*YAML Options* segment.
191192

@@ -204,7 +205,7 @@ you used Bitbucket when you [created your Codefresh account]({{site.baseurl}}/do
204205

205206
For the**Application Password** method you need:
206207

207-
* A friendly name for thegit context (It can be anything you want.)
208+
* A friendly name for theGit context (It can be anything you want.)
208209
* The name of your Bitbucket account/email address
209210
* A Bitbucket application password
210211

@@ -223,7 +224,7 @@ alt="Bitbucket permissions"
223224
%}
224225

225226
The "label" you enter in your Bitbucket account in order to create the application password is completely arbitrary (use "Codefresh" for an example). Once you have the token, paste it in the Codefresh UI and click*Test connection*. If everything is OK you can
226-
now save thegit integration.
227+
now save theGit integration.
227228

228229
If enabled in your account you can setup[Pipeline definition restrictions]({{site.baseurl}}/docs/administration/access-control/#pipeline-definition-restrictions) by expanding the*YAML Options* segment.
229230

@@ -247,7 +248,7 @@ On the screen that will appear click the *New token* Button. Enter an arbitrary
247248
Select an expiration date for your token
248249

249250
>At the time of writing Azure DevOps does not have the option to create a token that is valid for ever. Choose a large
250-
time period and make sure that you have a policy in place for renewing your tokens so that Codefresh can continue to read yourGIT repo.
251+
time period and make sure that you have a policy in place for renewing your tokens so that Codefresh can continue to read yourGit repo.
251252

252253
{% include image.html
253254
lightbox="true"
@@ -320,24 +321,24 @@ with the same syntax [shown in pipelines]({{site.baseurl}}/docs/configure-ci-cd-
320321
For example if you already have a`token` on a resource call`git-credentials` you can put in the token field the expression {% raw %}`${{secrets.git-credentials@token}}`{% endraw %}.
321322

322323

323-
##Using yourgit provider
324+
##Using yourGit provider
324325

325-
Once your provider is active, you can add a new project into Codefresh and then during the[repository selection screen]({{site.baseurl}}/docs/getting-started/create-a-basic-pipeline/) you will have access to the additionalgit providers.
326+
Once your provider is active, you can add a new project into Codefresh and then during the[repository selection screen]({{site.baseurl}}/docs/getting-started/create-a-basic-pipeline/) you will have access to the additionalGit providers.
326327

327328
{% include image.html
328329
lightbox="true"
329330
file="/images/integrations/git/select-git.png"
330331
url="/images/integrations/git/select-git.png"
331332
max-width="60%"
332-
caption="SelectGIT provider"
333-
alt="SelectGIT provider"
333+
caption="SelectGit provider"
334+
alt="SelectGit provider"
334335
%}
335336

336337
>Notice that for all supported Git providers Codefresh will automatically create all the webhooks needed for
337338
triggering pipelines when a commit (or another event) happens.
338339

339-
After adding the repository Codefresh will behave exactly the same, regardless of the selectedgit provider.
340-
You will be able to[create pipelines]({{site.baseurl}}/docs/configure-ci-cd-pipeline/pipelines/) for differentgit providers in exactly the same manner.
340+
After adding the repository Codefresh will behave exactly the same, regardless of the selectedGit provider.
341+
You will be able to[create pipelines]({{site.baseurl}}/docs/configure-ci-cd-pipeline/pipelines/) for differentGit providers in exactly the same manner.
341342

342343
##What to read next
343344

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp