Skip to content

Commit 05ee586

Browse files
authored
Merge pull request #642 from openshift-cherrypick-robot/cherry-pick-638-to-release-4.15
[release-4.15] NO-ISSUE: Update verified directories for microshift-manifests
2 parents 8d9fd04 + e6aae37 commit 05ee586

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/bash
22

3-
export KNOWN_GENERATED_PATHS=(':!vendor' ':!pkg/manifests' ':!manifests' ':!go.sum' ':!go.mod')
3+
export KNOWN_GENERATED_PATHS=(':!vendor' ':!pkg/manifests' ':!microshift-manifests' ':!manifests' ':!go.sum' ':!go.mod')
44
# TODO(tflannag): This is hacky but works in the current setup.
5-
export ROOT_GENERATED_PATHS=( "vendor" "pkg/manifests" "manifests" "go.mod" "go.sum" )
5+
export ROOT_GENERATED_PATHS=( "vendor" "pkg/manifests" "microshift-manifests" "manifests" "go.mod" "go.sum" )
66
export UPSTREAM_REMOTES=("api" "operator-registry" "operator-lifecycle-manager")

scripts/verify_commits.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function verify_staging_sync() {
2424
local outside_staging
2525
outside_staging="$(git show --name-only "${downstream_commit}" -- ":!${staging_dir}" "${KNOWN_GENERATED_PATHS[@]}")"
2626
if [[ -n "${outside_staging}" ]]; then
27-
err "downstream staging commit ${downstream_commit} changes files outside of ${staging_dir}, vendor, and manifests directories"
27+
err "downstream staging commit ${downstream_commit} changes files outside of ${staging_dir}, vendor, and [microshift-]manifests directories"
2828
err "${outside_staging}"
2929
err "hint: factor out changes to these directories into a standalone commit"
3030
return 1

0 commit comments

Comments
 (0)