Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kubevirt-tekton-tasks] feat: add tekton-tasks-pusher secret to kubevirt-tekton-tasks #59236

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,23 @@ 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 \
make e2e-tests
credentials:
- mount_path: /tmp/secrets
name: tekton-tasks-pusher
namespace: test-credentials
dependencies:
- env: TEKTON_TASKS_IMAGE
name: tekton-tasks
Expand Down