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
-Fork the repositoryhttps://github.com/rhd-gitops-example/gitops-example-dev
54
+
-Fork the repositoryhttps://github.com/rhd-gitops-example/gitops-example-staging
55
+
-Inside the services folder build the code: `go build ./cmd/services`
56
56
- export GITHUB_TOKEN=[your token]
57
57
- Substitute your repository URLs for those in square brackets:
58
58
@@ -63,7 +63,7 @@ This section is temporary. To create a sample promotion Pull Request, until http
63
63
At a high level the services command currently:
64
64
65
65
- git clones the source and target repositories into ~/.promotion/cache
66
-
- creates a branch (as per the given --branch-name)
66
+
- creates a branch
67
67
- checks out the branch
68
68
- copies the relevant files from the cloned source into the cloned target
69
69
- pushes the cloned target
@@ -72,7 +72,6 @@ At a high level the services command currently:
72
72
## Important notes:
73
73
74
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
75
- 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