home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7b09becb1c2458bbdb79df958fa26f2faa77a319
parent 008d6825a38545ae706d9a7c0b3fdec4b3b3b3f0
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed,  9 Jun 2021 11:23:53 +0200

Use scp instead…

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mnix/packages/my/scripts/bin/chos4 | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/nix/packages/my/scripts/bin/chos4 b/nix/packages/my/scripts/bin/chos4 @@ -4,9 +4,12 @@ set -e BASE_URL="https://uploader-cron.svc.ci.openshift.org/" -curl -s "${BASE_URL}/vincent/kubeadmin.password.gpg"|gpg --decrypt > ~/sync/work/chos4/kubeadmin.password.os4 -curl -s "${BASE_URL}/vincent/webaccess.gpg"|gpg --decrypt > ~/sync/work/chos4/webaccess.os4 -curl -s "${BASE_URL}/vincent/kubeconfig.gpg"|gpg --decrypt > ~/sync/work/chos4/config.os4 && export KUBECONFIG=~/sync/work/chos4/config.os4 +#curl -s "${BASE_URL}/vincent/kubeadmin.password.gpg"|gpg --decrypt > ~/sync/work/chos4/kubeadmin.password.os4 +#curl -s "${BASE_URL}/vincent/webaccess.gpg"|gpg --decrypt > ~/sync/work/chos4/webaccess.os4 +#curl -s "${BASE_URL}/vincent/kubeconfig.gpg"|gpg --decrypt > ~/sync/work/chos4/config.os4 && export KUBECONFIG=~/sync/work/chos4/config.os4 +scp -q pipelines@10.0.77.12:os4-build/profiles/vincent/auth/kubeconfig $HOME/.kube/config.os4 +scp -q pipelines@10.0.77.12:os4-build/profiles/vincent/auth/kubeadmin-password $HOME/.kube/kubeadmin.password.os4 +scp -q pipelines@10.0.77.12:os4-build/profiles/vincent/auth/webaccess $HOME/.kube/webaccess.os4 for file in kubeadmin.password.os4 webaccess.os4 config.os4; do if ! test -f $HOME/.kube/$file; then