-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.sh
25 lines (21 loc) · 1004 Bytes
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
# Description: A wrapper script used to stop/start another script.
#--------------------------------------
# Define Global Environment Settings:
#--------------------------------------
cvsUsername='NidhiU'
cvsPassword='cvsPassword'
cvsAppName='project1'
gitRepoName='project1'
gitRemoteURL='https://NidhiUdev.azure.com/NidhiU/TestProjectForConversion/_git/project1'
gitPassword='gitPasswordHash'
#---------------------------------------------------------------------------------
# Define Files(+ its history) you want to remove from repository in conversion.sh
#---------------------------------------------------------------------------------
#--------------------------------------------------
# Script does following:
# 1) Convert cvs to git
# 2) Remove secret files from git using bfg
# 3) Push git repo to git remote using gitRemoteURL
#--------------------------------------------------
./conversion.sh ${cvsUsername} ${cvsPassword} ${cvsAppName} ${gitRepoName} ${gitRemoteURL}