-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding git pull command to nightly docker to ensure latest commit #617
Conversation
Click to view CI ResultsGitHub pull request #617 of commit 8d614fd96cd9ce0824c906eddd2241fe35c1fcc0, no merge conflicts. Running as SYSTEM Setting status of 8d614fd96cd9ce0824c906eddd2241fe35c1fcc0 to PENDING with url https://10.20.13.93:8080/job/merlin_merlin/428/console and message: 'Pending' Using context: Jenkins Building on master in workspace /var/jenkins_home/workspace/merlin_merlin using credential systems-login > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/NVIDIA-Merlin/Merlin # timeout=10 Fetching upstream changes from https://github.com/NVIDIA-Merlin/Merlin > git --version # timeout=10 using GIT_ASKPASS to set credentials login for merlin-systems > git fetch --tags --force --progress -- https://github.com/NVIDIA-Merlin/Merlin +refs/pull/617/*:refs/remotes/origin/pr/617/* # timeout=10 > git rev-parse 8d614fd96cd9ce0824c906eddd2241fe35c1fcc0^{commit} # timeout=10 Checking out Revision 8d614fd96cd9ce0824c906eddd2241fe35c1fcc0 (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d614fd96cd9ce0824c906eddd2241fe35c1fcc0 # timeout=10 Commit message: "Adding git pull command to nightly docker to ensure latest commit" > git rev-list --no-walk 6e0463bcd40065bd86ae2703de72bdbf12edee60 # timeout=10 [merlin_merlin] $ /bin/bash /tmp/jenkins1781436878280444935.sh ============================= test session starts ============================== platform linux -- Python 3.8.10, pytest-7.1.2, pluggy-1.0.0 rootdir: /var/jenkins_home/workspace/merlin_merlin/merlin plugins: anyio-3.6.1, xdist-2.5.0, forked-1.4.0, cov-3.0.0 collected 3 items |
Documentation preview |
I think that should be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either git fetch && git checkout origin/main
or git pull origin main
could work here, but you don't need both
Click to view CI ResultsGitHub pull request #617 of commit 98b43a49588ad9c986124f670edb7d7663e2e251, no merge conflicts. Running as SYSTEM Setting status of 98b43a49588ad9c986124f670edb7d7663e2e251 to PENDING with url https://10.20.13.93:8080/job/merlin_merlin/429/console and message: 'Pending' Using context: Jenkins Building on master in workspace /var/jenkins_home/workspace/merlin_merlin using credential systems-login > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/NVIDIA-Merlin/Merlin # timeout=10 Fetching upstream changes from https://github.com/NVIDIA-Merlin/Merlin > git --version # timeout=10 using GIT_ASKPASS to set credentials login for merlin-systems > git fetch --tags --force --progress -- https://github.com/NVIDIA-Merlin/Merlin +refs/pull/617/*:refs/remotes/origin/pr/617/* # timeout=10 > git rev-parse 98b43a49588ad9c986124f670edb7d7663e2e251^{commit} # timeout=10 Checking out Revision 98b43a49588ad9c986124f670edb7d7663e2e251 (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 98b43a49588ad9c986124f670edb7d7663e2e251 # timeout=10 Commit message: "remove unnecessary git fetch call" > git rev-list --no-walk 8d614fd96cd9ce0824c906eddd2241fe35c1fcc0 # timeout=10 [merlin_merlin] $ /bin/bash /tmp/jenkins13883017085380150816.sh ============================= test session starts ============================== platform linux -- Python 3.8.10, pytest-7.1.2, pluggy-1.0.0 rootdir: /var/jenkins_home/workspace/merlin_merlin/merlin plugins: anyio-3.6.1, xdist-2.5.0, forked-1.4.0, cov-3.0.0 collected 3 items |
Current setup does not pull in latest code because the container is based on a release version where those commits don't show up in the git history. The problem looks like this:
This adds the git pull command to update the local branch.