Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion boilerplate/_data/last-boilerplate-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d0a07945463759cf0e3489cb46737dae08d66713
195c29d18279f69ea5b4e53ae9d90a795c27144a
5 changes: 5 additions & 0 deletions boilerplate/openshift/golang-osd-e2e/.coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
inheritance: true
reviews:
path_filters:
# Boilerplate-managed: skip review of boilerplate changes
- "!boilerplate/**"
8 changes: 8 additions & 0 deletions boilerplate/openshift/golang-osd-e2e/update
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ source $CONVENTION_ROOT/_lib/common.sh
# Expect POST
[[ "$1" == "POST" ]] || err "Got a parameter I don't understand: '$1'. Did the infrastructure change?"

# Seed CodeRabbit configuration without overwriting repo customizations.
if [[ ! -f "${REPO_ROOT}/.coderabbit.yaml" ]]; then
echo "Copying .coderabbit.yaml to your repository root."
cp "${HERE}/.coderabbit.yaml" "${REPO_ROOT}/.coderabbit.yaml"
else
echo ".coderabbit.yaml already exists; leaving it unchanged."
fi

REPO_ROOT=$(git rev-parse --show-toplevel)
OPERATOR_NAME=$(sed -n 's/.*OperatorName .*=.*"\([^"]*\)".*/\1/p' "${REPO_ROOT}/config/config.go")
GO_MODULE_PATH=$(awk '/^module / { print $2; exit }' "${REPO_ROOT}/go.mod")
Expand Down