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

Gerrit integration#736

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
NimRegev merged 27 commits intomasterfromgerrit-integration
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
27 commits
Select commitHold shift + click to select a range
b7dea4e
Update git triggers
NimRegevMay 4, 2023
a6e7be4
Update git triggers and git provider integration
NimRegevMay 8, 2023
697cb4a
Update git-triggers.md
NimRegevMay 8, 2023
6cd3092
Merge branch 'master' into gerrit-integration
NimRegevMay 8, 2023
63f9c04
Update with feedback
NimRegevMay 9, 2023
9ea68ff
Merge branch 'gerrit-integration' of https://github.com/codefresh-io/…
NimRegevMay 9, 2023
0611f92
Update git-triggers.md
NimRegevMay 9, 2023
c3db892
Update git-triggers.md
NimRegevMay 9, 2023
c05034c
Update content for gerrit
NimRegevJun 7, 2023
ae59fa8
Merge branch 'master' into gerrit-integration
NimRegevJun 12, 2023
9337cb0
Add Gerrit to GitOps
NimRegevJun 12, 2023
5056d53
Update hosted runtime for Gerrit
NimRegevJun 12, 2023
22dd9fd
Update with review feedback
NimRegevJun 13, 2023
53fd1c0
Update Gerrit integration reqs for GitOps
NimRegevJun 13, 2023
27e5401
Update images for gerrit permissions
NimRegevJun 14, 2023
97ad9d5
Update gerrit-integration.md
NimRegevJun 14, 2023
6c3d9b0
Add gerrit enrichers to ci-integrations
NimRegevJun 14, 2023
d9a94d2
Add gerrit enricher arguments to all CI integrations
NimRegevJun 14, 2023
f98f4fc
Update Gerrit requirements
NimRegevJun 14, 2023
1ab4033
Add use gerrit in codefresh
NimRegevJun 14, 2023
8a7528c
Update gerrit-integration.md
NimRegevJun 14, 2023
e7c5f67
Update content for gerrit integration topics
NimRegevJun 14, 2023
1d19bc9
Update monitor-manage-runtimes.md
NimRegevJun 19, 2023
c08cee2
Merge branch 'master' into gerrit-integration
NimRegevJun 19, 2023
15dc9a6
Updated permission set for Gerrit
NimRegevJun 20, 2023
66fca6f
Update gerrit ssh link
NimRegevJun 20, 2023
c75f003
Update git-providers.md
NimRegevJun 20, 2023
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
1 change: 1 addition & 0 deletions_docs/installation/gitops/hosted-runtime.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -158,6 +158,7 @@ Once you authorize access, Codefresh creates two Git repositories, one to store
The Shared Configuration Repository is a centralized Git repository that stores configuration settings for the Hosted GitOps Runtime. Additional Hybrid runtimes provisioned for the account can point to this repo to retrieve and reuse the configuration.
Read about [Shared Configuration Repositories]({{site.baseurl}}/docs/installation/gitops/shared-configuration/).


* Git Source application repo
Codefresh creates a Git Source application repo for every Hosted GitOps Runtime.
Read about [Git sources]({{site.baseurl}}/docs/installation/gitops/git-sources/).
Expand Down
4 changes: 3 additions & 1 deletion_docs/installation/gitops/monitor-manage-runtimes.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -111,14 +111,16 @@ Here is a description of the information in the Topology view.
## Configure SSH for GitOps Runtimes
By default, Git repositories use the HTTPS protocol. You can also use SSH to connect Git repositories by entering the SSH private key.

>When SSH is configured for a runtime, when creating/editing Git-Source applications, you can select HTTPS OR SSH as the protocol to connect to the Git repository. See [Repository URL in Application Source definitions]({{site.baseurl}}/docs/deployments/gitops/create-application/#source).
>**NOTE**:
When SSH is configured for a GitOps Runtime, when creating/editing Git-Source applications, you can select HTTPS OR SSH as the protocol to connect to the Git repository. See [Repository URL in Application Source definitions]({{site.baseurl}}/docs/deployments/gitops/create-application/#source).

**SSH keys**
For more information on generating SSH private keys, see the official documentation:
* [GitHub](https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent){:target="\_blank"}
* [GitLab](https://docs.gitlab.com/ee/ssh/#generating-a-new-ssh-key-pair){:target="\_blank"}
* [Bitbucket](https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html){:target="\_blank"}
* [Azure](https://docs.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops&tabs=current-page){:target="\_blank"}
* [Gerrit](http://ec2-52-87-125-161.compute-1.amazonaws.com:8080/Documentation/user-upload.html#configure_ssh_public_keys){:target="\_blank"}

**Before you begin**
Copy the SSH private key for your Git provider
Expand Down
19 changes: 15 additions & 4 deletions_docs/integrations/git-providers.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,6 +26,8 @@ Currently Codefresh supports:
* GitLab On-premises
* Azure DevOps Git
* Atlassian Stash (old version of Bibucket Server)
* Gerrit



Atlassian Stash/Bitbucket server, as well as the on-premises version of GitLab and GitHub, are only available to Codefresh enterprise customers.
Expand DownExpand Up@@ -88,6 +90,7 @@ For more information on generating SSH keys and adding your public key to your V
*[GitLab documentation](https://docs.gitlab.com/ee/ssh/#generating-a-new-ssh-key-pair){:target="\_blank"}
*[Bitbucket documentation](https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html){:target="\_blank"}
*[Azure documentation](https://docs.microsoft.com/en-us/azure/devops/repos/git/use-ssh-keys-to-authenticate?view=azure-devops&tabs=current-page){:target="\_blank"}
*[Gerrit documentation](http://ec2-52-87-125-161.compute-1.amazonaws.com:8080/Documentation/user-upload.html#configure_ssh_public_keys){:target="\_blank"}

##GitHub

Expand DownExpand Up@@ -360,12 +363,20 @@ Gerrit has a special **Service Users** access-group for CI systems and other bot
1. Click the**Members** tab, and click**Add Members**.
1. Type the email address of the Codefresh user, and select the user from the search results.
1. Click**Add**.
1. Browse to**Repositories** and select the repository for which to set permissions.
1. Browse to**Repositories** and select the repository for which to set permissions, and do the following:
1. Select**Access > Edit**, and set the following permissions:
***Reference**: Set to**refs/***
***Read**:**ALLOW** for Service Users
***Owner**:**ALLOW** for Service Users as`webhooks.config` in`refs/meta/config` requires[owner-level permissions](https://gerrit-review.googlesource.com/Documentation/access-control.html#category_submit){:target="\_blank"}.
***Label Verified**:**-1**,**+1** for Service Users. Gives permission to apply the`Verified` label with either a`-1` or`+1` value.
***Read**:**ALLOW** for Service Users to read branches.
Note that you can also set this permission at the level of**All projects**.

***Owner**:**ALLOW** for Service Users to create webhooks for pipeline triggers.
`webhooks.config` in`refs/meta/config` requires[owner-level permissions](https://gerrit-review.googlesource.com/Documentation/access-control.html#category_submit){:target="\_blank"}.
Note that this permission must be set only at the_repository-level_.

***Label Verified**:**-1**,**+1** for Service Users.
Gives permission to apply the`Verified` label, which is the typical label for CI, with either a`-1` or`+1` value.
Note that you can also set this permission at the level of**All projects**.

1. Continue with[Step 2: Generate password for user in Gerrit](#step-2-generate-password-for-user-in-gerrit).

###Step 2: Generate password for user in Gerrit
Expand Down
2 changes: 2 additions & 0 deletions_docs/pipelines/variables.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -207,8 +207,10 @@ When a pull request is closed in GitHub, the following variables are also availa

## Gerrit changeId & change message variables


Gerrit has no explicit concept of pull requests, as in other version control systems, to map trigger event payloads to builds. Instead, Gerrit uses `Changes` which serves a similar purpose and functionality as pull requests. You can achieve the same functionality in Codefresh with our `CF_PULL_REQUEST` group of environment variables.


{: .table .table-bordered .table-hover}
| Variable | Description |
| --------------- | ------------------------------------------------------ |
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp