github.com/argoproj/argo-cd@v1.8.7/docs/developer-guide/dependencies.md (about) 1 # Managing Dependencies 2 3 ## GitOps Engine (`github.com/argoproj/gitops-engine`) 4 5 ### Repository 6 7 https://github.com/argoproj/gitops-engine 8 9 ### Pulling changes from `gitops-engine` 10 11 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: 12 13 * Retrieve the SHA hash for your commit. You will use this in the next step. 14 * From the `argo-cd` folder, run the following command 15 16 `go get github.com/argoproj/gitops-engine@<git-commit-sha>` 17 18 If you get an error message `invalid version: unknown revision` then you got the wrong SHA hash 19 20 * Run: 21 22 `go mod tidy` 23 24 * The following files are changed: 25 26 - `go.mod` 27 - `go.sum` 28 29 * Create an ArgoCD PR with a `refactor:` type in its title for the two file changes. 30 31 ### Tips: 32 * See https://github.com/argoproj/argo-cd/pull/4434 as an example 33 * The PR might require additional, dependent changes in ArgoCD that are directly impacted by the changes made in the engine. 34 35 ## Argo UI Components 36 37 ### Repository 38 39 https://github.com/argoproj/argo-ui 40 41 ### Pulling changes from Argo UI into Argo CD 42 43 If you make changes to the Argo UI component, and your Argo CD changes depend on those changes, follow these steps: 44 45 1. Make changes to Argo UI and submit the PR request. 46 2. Also, prepare your Argo CD changes, but don't create the PR just yet. 47 3. **After** the Argo UI PR has been merged to master, then as part of your Argo CD changes: 48 - Run `yarn add https://github.com/argoproj/argo-ui.git`, and then, 49 - Check in the regenerated yarn.lock file as part of your Argo CD commit 50 4. Create the Argo CD PR when you are ready. The PR build and test checks should pass. 51 52 If your Argo UI change is a 'stand-alone' fix, and you simply want Argo CD to pull in your change, then simply create an Argo CD PR with the yarn.lock file change. 53 54