Skip to content

Commit

Permalink
docs: Format issue in documentation site for dependencies.md (#4491) (#…
Browse files Browse the repository at this point in the history
…4496)

Signed-off-by: Keith Chong <kykchong@redhat.com>
  • Loading branch information
keithchong authored Oct 6, 2020
1 parent 4534bd2 commit 7af7f30
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions docs/developer-guide/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,23 @@ https://github.com/argoproj/gitops-engine

After your GitOps Engine PR has been merged, ArgoCD needs to be updated to pull in the version of the GitOps engine that contains your change. Here are the steps:

1. Retrieve the SHA hash for your commit. You will use this in the next step.
2. From the `argo-cd` folder, run the following command
* Retrieve the SHA hash for your commit. You will use this in the next step.
* From the `argo-cd` folder, run the following command

`go get github.com/argoproj/gitops-engine@<git-commit-sha>`

If you get an error message `invalid version: unknown revision` then you got the wrong SHA hash
3. Run:
`go get github.com/argoproj/gitops-engine@<git-commit-sha>`

`go mod tidy`

4. The following files are changed:
If you get an error message `invalid version: unknown revision` then you got the wrong SHA hash

- `go.mod`
- `go.sum`
5. Create an ArgoCD PR with a `refactor:` type in its title for the two file changes.
* Run:

`go mod tidy`

* The following files are changed:

- `go.mod`
- `go.sum`

* Create an ArgoCD PR with a `refactor:` type in its title for the two file changes.

### Tips:
* See https://github.com/argoproj/argo-cd/pull/4434 as an example
Expand Down

0 comments on commit 7af7f30

Please sign in to comment.