File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 6363 AWS_ACCESS_KEY_ID : ${{ secrets.aws_access_key_id }}
6464 AWS_SECRET_ACCESS_KEY : ${{ secrets.aws_secret_access_key }}
6565 KIND_CLUSTER_NAME : kind
66- KUBECONFIG : /tmp/kubeconfig
6766
6867jobs :
6968 check-data :
@@ -126,10 +125,12 @@ jobs:
126125 - name : Prepare PVC
127126 working-directory : model_training/tekton
128127 run : |
128+ export KUBECONFIG_ROOT_DIR=/tmp/kubeconfig
129129 kubectl apply -f pvc/hostpath.yaml
130130
131131 - name : Deploy S3 Secret
132132 run : |
133+ export KUBECONFIG_ROOT_DIR=/tmp/kubeconfig
133134 cat <<EOF | kubectl apply -f -
134135 apiVersion: v1
135136 kind: Secret
@@ -146,12 +147,14 @@ jobs:
146147 - name : Deploy Tasks and Pipelines
147148 working-directory : model_training/tekton
148149 run : |
150+ export KUBECONFIG_ROOT_DIR=/tmp/kubeconfig
149151 kubectl apply -f tasks
150152 kubectl apply -f tasks/s3
151153 kubectl apply -f pipelines
152154
153155 - name : Run Tekton Pipeline with S3Push
154156 run : |
157+ export KUBECONFIG_ROOT_DIR=/tmp/kubeconfig
155158 cat <<EOF | kubectl apply -f -
156159 apiVersion: tekton.dev/v1
157160 kind: PipelineRun
@@ -188,4 +191,5 @@ jobs:
188191
189192 - name : Wait for PipelineRun
190193 run : |
194+ export KUBECONFIG_ROOT_DIR=/tmp/kubeconfig
191195 ./hack/k8s_helper.sh wait_for_pipelinerun self-hosted-aws-train
You can’t perform that action at this time.
0 commit comments