michalvavrik opened a new pull request, #6290:
URL: https://github.com/apache/camel-k/pull/6290

   closes: https://github.com/apache/camel-k/issues/6137
   
   Changes:
   
   - introduce `--push-gitops-dir` flag which tells the promote command to 
commit the base overlay to the gitops export dir, push it to the origin remote 
and open new GitHub PR
   
   How I tested that the feature opens GitHub PR:
   
   1. used GH CLI to authentication and get token
   2. set `GITHUB_TOKEN`
   3. created directory with git repository that cloned 
https://github.com/michalvavrik/camel-k-gitops-pr-creation-test
   4. run the promote command (frankly I tweaked test to create the command for 
me and used the test to run it)
   5. result:
     - for `[email protected]:michalvavrik/camel-k-gitops-pr-creation-test.git` I 
got:
       -  https://github.com/michalvavrik/camel-k-gitops-pr-creation-test/pull/5
       - https://github.com/michalvavrik/camel-k-gitops-pr-creation-test/pull/6
     - for 
`https://github.com/michalvavrik/camel-k-gitops-pr-creation-test.git` I got: 
       - https://github.com/michalvavrik/camel-k-gitops-pr-creation-test/pull/7
       - https://github.com/michalvavrik/camel-k-gitops-pr-creation-test/pull/8
   
   
   **Release Note**
   ```release-note
   NONE
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to