home

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

commit 33a89fda7a1ab256dc27418193a0921967e179b6
parent 0791f5102c00345249efe5301e0490b3cdab4714
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu,  5 Dec 2019 15:32:58 +0100

chos4: update base url

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

Diffstat:
Mpkgs/scripts/bin/chos4 | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/pkgs/scripts/bin/chos4 b/pkgs/scripts/bin/chos4 @@ -1,11 +1,12 @@ #!/usr/bin/env bash # Update creds and link to the openshift4 devcluster -set -e +set -ex -curl -s kakawet.chmouel.com/tmp/vincent.kubeadmin.password.gpg|gpg --decrypt > ~/.kube/kubeadmin.password.os4 -curl -s kakawet.chmouel.com/tmp/vincent.webaccess.gpg|gpg --decrypt > ~/.kube/webaccess.os4 -curl -s kakawet.chmouel.com/tmp/vincent.kubeconfig.gpg|gpg --decrypt > ~/.kube/config.os4 && export KUBECONFIG=~/.kube/config.os4 +BASE_URL="https://openshift-pipelines-install.s3.eu-west-3.amazonaws.com" +curl -s "${BASE_URL}/vincent/kubeadmin.password.gpg"|gpg --decrypt > ~/.kube/kubeadmin.password.os4 +curl -s "${BASE_URL}/vincent/webaccess.gpg"|gpg --decrypt > ~/.kube/webaccess.os4 +curl -s "${BASE_URL}/vincent/kubeconfig.gpg"|gpg --decrypt > ~/.kube/config.os4 && export KUBECONFIG=~/.kube/config.os4 export KUBECONFIG=~/.kube/config.os4 oc login -u kubeadmin -p $(cat ~/.kube/kubeadmin.password.os4)