Skip to content

Commit a9046c1

Browse files
committed
Force hard reset on the grep refresh
1 parent f3b60f7 commit a9046c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/grep/base/cronjob.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- -c
2222
- |-
2323
[ -f /shared/metacpan_git/.init_complete ] \
24-
&& cd /shared/metacpan_git && git pull origin master
24+
&& cd /shared/metacpan_git && git fetch origin && git reset --hard origin/master
2525
imagePullPolicy: IfNotPresent
2626
volumes:
2727
- name: gitrepo

0 commit comments

Comments
 (0)