You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@yunikorn.apache.org by GitBox <gi...@apache.org> on 2022/02/16 02:30:24 UTC

[GitHub] [incubator-yunikorn-core] wilfred-s edited a comment on pull request #372: [YUNIKORN-961] Expose build and version information in a REST call

wilfred-s edited a comment on pull request #372:
URL: https://github.com/apache/incubator-yunikorn-core/pull/372#issuecomment-1041029831


   The go.mod file needs an update to pick up the latest version of the scheduler interface. Please follow these steps to pick up the new scheduler interface changes:
   
   1. Make sure you are in the directory where the scheduler interface code is located.
   2. Update the local checked out code of the scheduler interface for the master branch to get the latest commit:
   ```git checkout master; git pull; git status```
   The status should show up to date with the origin from where it was cloned.
   1. Run the following command to get the pseudo version:
   ```TZ=UTC git --no-pager show --quiet --abbrev=12 --date='format-local:%Y%m%d%H%M%S'  --format="v0.0.0-%cd-%h"```
   This command will print a line like this:
   ```v0.0.0-20220214023648-0de002ac41d3```
   1. Update the go.mod file for the core repository
         -   Copy the whole generated version reference
         -   Open the go.mod file
         -   Replace the scheduler interface version reference with the one generated in step 3.
   
   Save the go.mod file and commit/push the change to add it to this PR.


-- 
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: reviews-unsubscribe@yunikorn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org