Skip to content

Commit

Permalink
feat(RELEASE-1387): cleanup old comments
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Hebert <scoheb@gmail.com>
  • Loading branch information
scoheb committed Feb 7, 2025
1 parent ef2a697 commit 4adff68
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions .github/scripts/test_tekton_tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ WORKSPACE_TEMPLATE=${BASH_SOURCE%/*/*}/resources/workspace-template.yaml

if [ -z "${USE_TRUSTED_ARTIFACTS}" ]
then
#echo "Warning: env variable TRUSTED_ARTIFACT_OCI_STORAGE not defined"
#echo ""
#echo "It must point to a location in quay where trusted artifacts will be placed."
#echo "for example: TRUSTED_ARTIFACT_OCI_STORAGE=quay.io/konflux-test-data/trusted-artifacts"
#echo ""
echo "Defaulting to PVC based workspaces..."
# empty is needed since trusted-artifacts needs a non-empty storage
# parameter in order to reach the skipping logic
Expand All @@ -47,44 +42,6 @@ else

fi

# if [ -z "${TRUSTED_ARTIFACT_OCI_DOCKER_CONFIG_JSON_PATH}" ]
# then
# echo "Error: env variable TRUSTED_ARTIFACT_OCI_DOCKER_CONFIG_JSON_PATH not defined"
# echo ""
# echo "It must point to a dockerconfig json file that contains the credentials to push and pull"
# echo "trusted artifacts from TRUSTED_ARTIFACT_OCI_STORAGE = ${TRUSTED_ARTIFACT_OCI_STORAGE}"
# echo ""
# echo "The file should resemble:
# {
# \"auths\": {
# \"quay.io\": {
# \"auth\": \"<base64 encoded string of user:password>\"
# }
# }
# }
# "
# exit 1
# fi
#
# if [ ! -f "${TRUSTED_ARTIFACT_OCI_DOCKER_CONFIG_JSON_PATH}" ]
# then
# echo "Error: ${TRUSTED_ARTIFACT_OCI_DOCKER_CONFIG_JSON_PATH} not found"
# echo ""
# echo "The file must contain dockerconfig json file that contains the credentials to push and pull"
# echo "trusted artifacts from TRUSTED_ARTIFACT_OCI_STORAGE = ${TRUSTED_ARTIFACT_OCI_STORAGE}"
# echo ""
# echo "The file should resemble:
# {
# \"auths\": {
# \"quay.io\": {
# \"auth\": \"<base64 encoded string of user:password>\"
# }
# }
# }
# "
# exit 1
# fi

if [ $# -gt 0 ]
then
TEST_ITEMS=$@
Expand Down

0 comments on commit 4adff68

Please sign in to comment.