diff options
author | Karel Kočí <karel.koci@nic.cz> | 2018-08-29 10:54:23 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2018-08-29 10:56:43 +0200 |
commit | e65b36eabb550d1bc1036c6e2eaa3ea25f91651f (patch) | |
tree | 22fd7f75a34f659ce6c893d2b2e93db2121215dc | |
parent | 359426679613a2a1f87cdbd482093879da015c18 (diff) | |
download | laminar-cnf-e65b36eabb550d1bc1036c6e2eaa3ea25f91651f.tar.gz laminar-cnf-e65b36eabb550d1bc1036c6e2eaa3ea25f91651f.tar.bz2 laminar-cnf-e65b36eabb550d1bc1036c6e2eaa3ea25f91651f.zip |
Use ssh to access our git server
-rw-r--r-- | ssh/config | 5 | ||||
-rwxr-xr-x | templates/turris3x.run | 2 | ||||
-rwxr-xr-x | templates/turris4x.run | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -7,3 +7,8 @@ Host upload User upload Hostname cynerd.cz IdentityFile ~/upload.ssh.key + +Host git.cynerd.cz cynerd.cz + User git + Hostname cynerd.cz + IdentityFile ~/git.ssh.key diff --git a/templates/turris3x.run b/templates/turris3x.run index c99342d..98dfa15 100755 --- a/templates/turris3x.run +++ b/templates/turris3x.run @@ -4,7 +4,7 @@ set -e . utils echo_stage "Get packages" -git_clone "https://git.cynerd.cz/openwrt-personal-pkgs" pkgs turris3x +git_clone "git@cynerd.cz:openwrt-personal-pkgs" pkgs turris3x SDK="$WORKSPACE/sdk.tar.bz2" if [ ! -e "$SDK" ] || [ $(expr $(date -u +%s) - $(stat -c %Z "$SDK")) -gt 86400 ]; then diff --git a/templates/turris4x.run b/templates/turris4x.run index f83619f..c6e676f 100755 --- a/templates/turris4x.run +++ b/templates/turris4x.run @@ -7,7 +7,7 @@ GWORKSPACE=~/workspace/turris4x MAKE="make -j4 IS_TTY=1 BUILD_LOG=1" echo_stage "Get packages" -git_clone "https://git.cynerd.cz/openwrt-personal-pkgs" pkgs +git_clone "git@cynerd.cz:openwrt-personal-pkgs" pkgs curl "https://repo.turris.cz/$BOARD-$BRANCH/git-hash" > git-hash laminar_self_lock sdk |