Project

General

Profile

Task #8906

Sync Vulcan code in GIT and in deployment

Added by Chih-Hao Huang over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Start date:
05/26/2015
Due date:
06/02/2015
% Done:

100%

Estimated time:
4.00 h
Spent time:
Duration: 8

Description

This used to be a manual process. Write script to do the followings:
[1] check all files in GIT against the current installation.
[2] check all files in current installation and see if any orphan needs to be committed to GIT


Related issues

Precedes (1 day) Vulcan - Task #8887: Make mail sender configurableClosed06/04/201506/10/2015

Precedes Vulcan - Task #8960: Decommission and Shutdown cmsrocks1Assigned07/07/201507/14/2015

History

#1 Updated by Chih-Hao Huang over 4 years ago

  • Due date set to 06/02/2015
  • Start date set to 05/26/2015
  • Estimated time set to 4.00 h

A script is written to check all files in cmsrocks1:/opt/git/vulcan against cmsrocks1:/opt/vulcan.
The script ignores the obvious.

#2 Updated by Chih-Hao Huang over 4 years ago

cmsrocks1:/opt/git/vulcan is pretty outdated. It is quite different from the deployed are and also behind that in git repository.

#3 Updated by Chih-Hao Huang over 4 years ago

  • % Done changed from 0 to 20

#4 Updated by Chih-Hao Huang over 4 years ago

  • Precedes Task #8887: Make mail sender configurable added

#5 Updated by Gerard Bernabeu Altayo over 4 years ago

  • Precedes Task #8960: Decommission and Shutdown cmsrocks1 added

#6 Updated by Chih-Hao Huang over 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 20 to 100

On cmsrocks1: /opt/git/vulcan is out of sync with remote repository and deployed area.
[1] move /opt/git/vulcan to /opt/git-old/vulcan
[2] git clone :vulcan # saved to /opt/git/vulcan
[3] compare every file in /opt/git/vulcan against that in /opt/vulcan, if differs, copy file in /opt/vulcan to /opt/gif/vulcan then commit.
[4] git push /opt/git/vulcan back to remote repository.

For now, every file in /opt/git/vulcan is consistent with its counter part in /opt/vulcan.



Also available in: Atom PDF