Skip to content

Commit

Permalink
Fix build - missing dashboard files
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Noble <[email protected]>
  • Loading branch information
AverageMarcus authored and tekton-robot committed Oct 25, 2021
1 parent c315365 commit 13c0878
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tekton/task-fetch-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ spec:
dir="trigger"
fi
if [[ $comp == "dashboard" ]]; then
if [[ ${releaseFileName} == "tekton-dashboard-release" ]]; then
dir="dashboard/tekton-dashboard-fullaccess"
fi
if [[ ${releaseFileName} == "tekton-dashboard-release-readonly" ]]; then
dir="dashboard/tekton-dashboard-readonly"
fi
fi
#nightly -> 0.0.0-nightly
#latest -> find version till then -> 0.0.0-latest
#version -> directory with version
Expand All @@ -73,7 +83,7 @@ spec:
# before adding releases, remove existing version directories
# ignore while adding for interceptors
if [[ ${releaseFileName} != "interceptors.notags" ]] ; then
if [[ ${releaseFileName} != "interceptors" ]] ; then
rm -rf ${comp_dir}/*
fi
Expand All @@ -97,6 +107,7 @@ spec:
cp ${ko_data}/openshift/pipelines-rbac/* ${dirPath}/
fi
if [[ ${comp} == "dashboard" ]]; then
sed -i '/aggregationRule/,+3d' ${dest}
fi
Expand Down

0 comments on commit 13c0878

Please sign in to comment.