Skip to content

Commit

Permalink
feat: add tekton-tasks-pusher secret to kubevirt-tekton-tasks
Browse files Browse the repository at this point in the history
this new secret will be used by kubevirt tekton tasks e2e tests

Signed-off-by: Karel Simon <[email protected]>
  • Loading branch information
ksimon1 committed Nov 26, 2024
1 parent c3e29d4 commit 239060f
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ tests:
ln -s oc kubectl
popd
fi
accessKeyPath="/tmp/secrets/accessKeyId"
secretKeyPath="/tmp/secrets/secretKey"
if test -f "$accessKeyPath" && test -f "$secretKeyPath"; then
export REGISTRY_ACCESS_KEY_ID=$(cat ${accessKeyPath} | tr -d '\n')
export REGISTRY_SECRET_KEY=$(cat ${secretKeyPath} | tr -d '\n')
export IMAGE_DESTINATION="quay.io/kubevirtci/tekton-tasks"
fi
automation/build-test.sh
export PATH=$PATH:$(pwd)/go/bin
NUM_NODES=4 \
Expand All @@ -64,6 +73,10 @@ tests:
name: tekton-tasks
- env: TEKTON_TASKS_DISK_VIRT_IMAGE
name: tekton-task-disk-virt
credentials:
- mount_path: /tmp/secrets
name: tekton-tasks-pusher
namespace: test-credentials
from: base-tests
resources:
requests:
Expand Down

0 comments on commit 239060f

Please sign in to comment.