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
We need to remove the local cache between requests. See https://github.com/rhd-gitops-example/services/issues/20. Until then, add `rm -rf ~/.promotion/cache;` before subsequent requests.
63
+
At a high level the servicescommand currently:
64
64
65
-
New pull requests need new branches. Add `--branch [unique branch name]` before submitting further promotion PRs. See https://github.com/rhd-gitops-example/services/issues/21.
65
+
- git clones the source and target repositories into ~/.promotion/cache
66
+
- creates a branch (as per the given --branch-name)
67
+
- checks out the branch
68
+
- copies the relevant files from the cloned source into the cloned target
69
+
- pushes the cloned target
70
+
- creates a PR from the new branch in the target to master in the target
66
71
67
-
See https://github.com/rhd-gitops-example/services/issues/19 for an issue related to problems 'promoting' config from a source repo into a gitops repo.
72
+
Important Notes:
73
+
74
+
- We need to remove the local cache between requests. See https://github.com/rhd-gitops-example/services/issues/20. Until then, add `rm -rf ~/.promotion/cache;` before subsequent requests.
75
+
- New pull requests need new branches (i.e you cannot run the same command twice). Add `--branch [unique branch name]` before submitting further promotion PRs. See https://github.com/rhd-gitops-example/services/issues/21.
76
+
- See https://github.com/rhd-gitops-example/services/issues/19 for an issue related to problems 'promoting' config from a source repo into a gitops repo.
0 commit comments