Browse Source

Обновить 'keygen.sh'

Vladimir Tomishinets 6 years ago
parent
commit
7749328645
1 changed files with 3 additions and 13 deletions
  1. 3 13
      keygen.sh

+ 3 - 13
keygen.sh

@@ -1,14 +1,11 @@
 #!/bin/bash
-git_url_pki="ssh://git@git.sdsys.ru:8022/iru/openvpn-pki.git"
-git_url_ovpn="ssh://git@git.sdsys.ru:8022/iru/openvpn.git"
-git_dir_pki="openvpn-pki"
-git_dir_ovpn="openvpn"
+#git_url_pki="ssh://git@git.sdsys.ru:8022/iru/openvpn-pki.git"
+#git_dir_pki="openvpn-pki"
+
 JENKINS_MAIL="jenkins.dev@sdsys.ru"
 cd /
 GIT_SSH_COMMAND='ssh -i /tmp/keyfile -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git clone ${git_url_pki}
 cd /${git_dir_pki} && git checkout $2
-GIT_SSH_COMMAND='ssh -i /tmp/keyfile -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git clone ${git_url_ovpn}
-cd /${git_dir_ovpn} && git checkout $2
 
 stonevpn -f $1 -n "$1" -z
 
@@ -22,10 +19,3 @@ git config --global user.name "Jenkins"
 git commit -F /tmp/commit.txt
 GIT_SSH_COMMAND='ssh -i /tmp/keyfile -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git push origin $2
 
-#cd ${git_dir_ovpn}
-
-#git add -A
-#git config --global user.email "${JENKINS_MAIL}"
-#git config --global user.name "Jenkins"
-#git commit -F /tmp/commit.txt
-#GIT_SSH_COMMAND='ssh -i /tmp/keyfile -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' git push origin master