Compare commits

...

3 Commits

Author SHA1 Message Date
oleg 969360642a debugging crypto_md_day 2024-08-08 20:51:45 -04:00
oleg 939cc0197d progress: build script 2024-08-08 18:17:00 -04:00
oleg 0766a07b79 fix 2024-08-08 13:04:16 -04:00
4 changed files with 11 additions and 8 deletions
+2 -1
View File
@@ -14,11 +14,12 @@ Cmd="docker run"
Cmd="${Cmd} --pull=always"
Cmd="${Cmd} --network=host"
Cmd="${Cmd} --name=crypto_md_day.${host}.${date}"
Cmd="${Cmd} --rm"
# Cmd="${Cmd} --rm"
Cmd="${Cmd} ${DockerImage}"
Cmd="${Cmd} -h ${host}"
Cmd="${Cmd} -d ${date}"
Cmd="${Cmd} -s coinbase,bnbspot,bnbfut"
# Cmd="${Cmd} -s coinbase,bnbspot"
echo $Cmd
eval $Cmd
+1 -1
View File
@@ -1 +1 @@
1.3.6
1.3.9,debugging crypto_md_day
+4 -4
View File
@@ -7,7 +7,8 @@ usage() {
is_valid() {
local inst=$1
local valid_instances=$2
shift
local valid_instances=("$@")
for valid_inst in "${valid_instances[@]}";
do
@@ -52,17 +53,16 @@ echo "$date $host $source"
valid_hosts=('homestore' 'cloud21')
if ! is_valid "${host}" "${valid_hosts[@]}" ; then
echo h
echo "Host '${host}' is not valid"
usage
fi
valid_sources=('cloud21' 'cvttdata')
if ! is_valid ${source} ${valid_sources[@]} ; then
echo s
echo "Source '${source}' is not valid"
usage
fi
if [ "${host}" == "cloud21" ] ; then
SourceHost=cloud21.cvtt.vpn
SourceUser=cvtt
+4 -2
View File
@@ -127,7 +127,8 @@ if [ "${?}" != "0" ]; then
fi
release_version=$(cat release_version.txt)
release_version=$(cat release_version.txt | awk -F',' '{print $1}')
whats_new=$(cat release_version.txt | awk -F',' '{print $2}')
echo "--------------------------------"
@@ -136,7 +137,7 @@ echo "Release version: ${release_version}"
confirm
version_tag="v${release_version}"
version_comment="${version_tag}_${project}_${branch}_$(date +%Y%m%d)"
version_comment="'${version_tag} ${project} ${branch} $(date +%Y-%m-%d)\n${whats_new}'"
cmd_arr=()
Cmd="git tag -a ${version_tag} -m ${version_comment}"
@@ -178,4 +179,5 @@ do
pwd && echo ${cmd} && eval ${cmd}
done
echo "PROJECT ${project} **** P U L L N E W T A G S F R O M o r i g i n ****"
echo "$0 Done ${project} ${release_version}"