You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/clients/upgrade-gitops-cli.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
---
2
-
title:"Download/upgradeCodefresh CLI"
3
-
description:"Have the latest version of theCodefresh CLI forGitOpsruntimes"
2
+
title:"Download/upgradeGitOps CLI"
3
+
description:"Have the latest version of the GitOpsCLI"
4
4
group:installation
5
+
sub_group:gitops
5
6
toc:true
6
7
---
7
8
@@ -11,7 +12,7 @@ When newer versions are available, the CLI automatically notifies you through a
11
12
12
13
13
14
##GitOps CLI installation modes
14
-
The table lists the modes available to install theCodefresh CLI.
15
+
The table lists the modes available to install theGitOps CLI.
15
16
16
17
{: .table .table-bordered .table-hover}
17
18
| Install mode| OS| Commands|
@@ -23,7 +24,7 @@ The table lists the modes available to install the Codefresh CLI.
23
24
|`brew` | N/A|`brew tap codefresh-io/cli && brew install cf2`|````
24
25
25
26
##Install the GitOps CLI
26
-
Install theCodefresh CLI using the option that best suits you:`curl`,`brew`, or standard download.
27
+
Install theGitOps CLI using the option that best suits you:`curl`,`brew`, or standard download.
27
28
If you are not sure which OS to select for`curl`, simply select one, and Codefresh automatically identifies and selects the right OS for CLI installation.
28
29
29
30
1. Do one of the following:
@@ -83,5 +84,5 @@ You can upgrade to a specific version if you so require, or download the latest
83
84
*`<output-file>` is the path to the destination file, for example,`/cli-download`.
A Git Source is the equivalent of an Argo CD application that tracks a Git repository and syncs the desired state of the repo to the destination K8s cluster. In addition to application resources, the Git Source can store resources for GitOps Runtimes, and CI/CD entities such as delivery pipelines, Workflow Templates, workflows, and applications.
10
11
11
-
Provisioning a Runtime automatically creates a Git Source that stores resources for the Runtime and for the demo CI pipelines that are optionally installed with the Runtime. Every Git Source is associated with a Runtime. You can add Git Sources at any time, to the same or to different Runtimes.
12
+
Provisioning aGitOpsRuntime automatically creates a Git Source that stores resources for the Runtime and for the demo CI pipelines that are optionally installed with the Runtime. Every Git Source is associated with aGitOpsRuntime. You can add more Git Sources at any time, to the same or to different Runtimes.
12
13
13
-
Once you create a Git Source for a Runtime, you can store resources for CI/CD entities associated with it. For example, when creating pipelines or applications, you can select the Git Source to which to store manifest definitions.
14
+
Once you create a Git Source for aGitOpsRuntime, you can store resources for CI/CD entities associated with it. For example, when creating pipelines or applications, you can select the Git Source to which to store manifest definitions.
14
15
15
16
16
-
###View Git Sources and definitions
17
+
##View Git Sources and definitions
17
18
Drill down on a runtime in List View to see its Git Sources.
18
19
19
20
1. In the Codefresh UI, go to the[GitOps Runtimes](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"} page.
@@ -26,14 +27,14 @@ Drill down on a runtime in List View to see its Git Sources.
26
27
url="/images/runtime/git-source-list.png"
27
28
alt="Git Sources in runtime"
28
29
caption="Git Sources in runtime"
29
-
max-width="30%"
30
+
max-width="60%"
30
31
%}
31
32
32
33
{:start="3"}
33
34
1. To go to the repo tracked by the Git Source, in the Repo column, mouse over the repo name and select**Go to Git repo**.
34
35
1. To see the definitions for the Git Source, select the three dots at the end of the row.
35
36
36
-
###Create a Git Source
37
+
##Create a Git Source
37
38
Create Git Sources for any provisioned Runtime. The Git Sources are available to store resources for pipelines or applications when you create them.
38
39
39
40
>Make sure you are in the List View to create Git Sources.
@@ -49,7 +50,7 @@ Create Git Sources for any provisioned Runtime. The Git Sources are available t
49
50
url="/images/runtime/create-git-source.png"
50
51
alt="Create Git Source"
51
52
caption="Create Git Source"
52
-
max-width="30%"
53
+
max-width="60%"
53
54
%}
54
55
55
56
***Git Source Name**: The name of the Git Source, which must be unique within the cluster.
@@ -69,7 +70,7 @@ Create Git Sources for any provisioned Runtime. The Git Sources are available t
69
70
{:start="4"}
70
71
1. Select**+ Create Git Source**.
71
72
72
-
###Edit Git Source definitions
73
+
##Edit Git Source definitions
73
74
Edit an existing Git Source by changing the source and destination definitions.
74
75
>You cannot change the name of the Git Source.
75
76
@@ -89,7 +90,7 @@ Edit an existing Git Source by changing the source and destination definitions.
89
90
{:start="4"}
90
91
1. Change the**Source** and**Destination** definitions for the Git Source, and select**Save**.
91
92
92
-
###View/download logs for a Git Source
93
+
##View/download logs for a Git Source
93
94
View online logs for any Git Source associated with a Runtime, and if needed, download the log file for offline viewing and analysis.
94
95
Online logs show up to 1000 of the most recent events (lines), updated in real time. Downloaded logs include all the events, from the application launch to the date and time of download.
95
96
@@ -104,7 +105,7 @@ Online logs show up to 1000 of the most recent events (lines), updated in real t
104
105
url="/images/runtime/git-source-view-logs.png"
105
106
alt="Edit Git Source"
106
107
caption="Edit Git Source"
107
-
max-width="30%"
108
+
max-width="60%"
108
109
%}
109
110
110
111
{:start="4"}
@@ -126,8 +127,8 @@ Online logs show up to 1000 of the most recent events (lines), updated in real t
Copy file name to clipboardExpand all lines: _docs/installation/gitops/hosted-runtime.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,13 @@
2
2
title:"Hosted GitOps Runtime setup"
3
3
description:"Provision Hosted GitOps environment"
4
4
group:installation
5
+
sub_group:gitops
5
6
toc:true
6
7
---
7
8
8
9
9
10
10
-
Set up yourhostedenvironment with the Hosted GitOps Runtime to leverage extensive CD capabilities.
11
+
Set up your environment with the Hosted GitOps Runtime to leverage extensive CD capabilities.
11
12
<!---Read about [Hosted GitOps]({{site.baseurl}}/docs/incubation/intro-hosted-runtime/).-->
12
13
13
14
##System requirements for Hosted GitOps Runtimes
@@ -132,10 +133,10 @@ max-width="70%"
132
133
where:
133
134
`hosted-codefresh` is the name of your Hosted GitOps Runtime, automatically assigned by Codefresh.
134
135
1. In the Codefresh UI, return to Codefresh[Home](https://g.codefresh.io/2.0/?time=LAST_7_DAYS){:target="\_blank"}.
135
-
1. Refresh the page and start with_1. Provision hosted runtime_ above.
136
+
1. Refresh the page and start with[Step 1: Install Hosted GitOps Runtime](#step-1-install-hosted-gitops-runtime).
136
137
137
138
138
-
###Step 2: Connect Git provider
139
+
##Step 2: Connect Git provider
139
140
Connect your Hosted GitOps Runtime to a Git provider for Codefresh to create the required Git repos. First authorize access to your Git provider through an OAuth token, and then select the Git organizations or accounts in which to create the required Git repos.
140
141
141
142
>Only authorized organizations are displayed in the list. To authorize organizations for the Codefresh application in GitHub, see[Authorize organizations/projects]({{site.baseurl}}/docs/administration/hosted-authorize-orgs/).
@@ -240,10 +241,10 @@ max-width="80%"
240
241
%}
241
242
242
243
243
-
###3. Connect a Kubernetes cluster
244
+
##3. Connect a Kubernetes cluster
244
245
245
246
Connect a destination cluster to the Hosted GitOps Runtime and register it as a managed cluster. Deploy applications and configuration to the cluster.
246
-
For managed cluster information and installing Argo Rollouts, see[Add and manage external clusters]({{site.baseurl}}/docs/runtime/managed-cluster/).
247
+
For managed cluster information and installing Argo Rollouts, see[Add and manage external clusters]({{site.baseurl}}/docs/installation/gitops/managed-cluster/).
247
248
248
249
249
250
{% include
@@ -292,10 +293,7 @@ max-width="70%"
292
293
1. Configure access to the IP addresses required. See[Codefresh IP addresses]({{site.baseurl}}/docs/administration/platform-ip-addresses/).
293
294
294
295
If you could not connect a cluster, you may not have the latest version of the CLI:
295
-
* If you have installed the Codefresh CLI already, make sure you have the latest version:
296
-
`cf version`
297
-
To compare with the latest version from Codefresh,[click here](https://github.com/codefresh-io/cli-v2/releases){:target="\_blank"}.
298
-
*[Download the CLI]({{site.baseurl}}/docs/clients/csdp-cli/).
296
+
[Upgrade the GitOps CLI]({{site.baseurl}}/docs/clients/upgrade-gitops-cli/).
299
297
300
298
You have completed setting up your Hosted GitOps Runtime. You are ready to create applications, and connect third-party CI tools for image enrichment.
301
299
@@ -309,15 +307,15 @@ Optional. Create an application in Codefresh, deploy it to the cluster, and trac
309
307
{:start="2"}
310
308
2. In the Codefresh UI, view your application in the[Applications dashboard](https://g.codefresh.io/2.0/applications-dashboard){:target="\_blank"}.
311
309
312
-
###(Optional) Connect CI
310
+
##(Optional) Connect CI
313
311
Optional. Integrate Codefresh with the third-party tools you use for CI to enrich image information in deployments.
314
312
315
313
[Image enrichment with integrations]({{site.baseurl}}/docs/integrations/image-enrichment-overview/)