Project

General

Profile

action #37009

openqa-scripts repo sync on OSD disabled and tainted

Added by michalnowak over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Support
Target version:
Start date:
2018-06-08
Due date:
% Done:

0%

Estimated time:
Difficulty:
easy

Description

Update of openqa-scripts in cron is disabled:

mnowak@openqa:~> tail -n1 /etc/cron.d/SLES.CRON 
#*/5    * * * *   root     cd /opt/openqa-scripts && git fetch --all && git checkout --force "origin/master"

coolo says the repo has some changes backed-out.

Make the repo sync again automatically. I need SLES 12 SP4 JeOS images synced to OSD.

History

#1 Updated by coolo over 2 years ago

I said "443ea63 is checked out, not master". And I can't say if this was reverted on purpose or just left stale. The disabled cron job has no comment.

So I'd suggest just to reenable the cron. But a little suggestion: git checkout --force is what created this situation. It would be better to stay on master and use git reset --hard origin/master

#2 Updated by okurz over 2 years ago

coolo wrote:

But a little suggestion: git checkout --force is what created this situation.

Then it definitely wasn't me as I never used that ;) I always use git reset --hard …

#3 Updated by szarate over 2 years ago

  • Status changed from New to Resolved
  • Assignee set to szarate
  • Target version set to Current Sprint
  • Difficulty set to easy

#4 Updated by okurz over 2 years ago

  • Status changed from Resolved to In Progress

still tainted:

# git status
HEAD detached at origin/master
You are currently bisecting, started from branch '443ea63'.
  (use "git bisect reset" to get back to the original branch)

#5 Updated by okurz over 2 years ago

  • Status changed from In Progress to Resolved

I fixed that

#6 Updated by szarate over 2 years ago

  • Target version changed from Current Sprint to Done

Also available in: Atom PDF