Skip to content

Commit

Permalink
chore: Add copy to test-catalog-from-sources.sh so the Dockerfile is …
Browse files Browse the repository at this point in the history
…at the top level where the build is looking for it.

Signed-off-by: sdawley <[email protected]>
  • Loading branch information
SDawley committed Mar 29, 2023
1 parent 45720b4 commit ef1391b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/scripts/olm/test-catalog-from-sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ buildOperatorFromSources() {
oc delete buildconfigs ${REGISTRY_OPERATOR_IMAGE_NAME} --ignore-not-found=true -n "${NAMESPACE}"
oc delete imagestreamtag ${REGISTRY_OPERATOR_IMAGE_NAME}:latest --ignore-not-found=true -n "${NAMESPACE}"

cp ${OPERATOR_REPO}/build/dockerfiles/Dockerfile ${OPERATOR_REPO}
oc new-build --binary --strategy docker --name "${REGISTRY_OPERATOR_IMAGE_NAME}" -n "${NAMESPACE}"
oc start-build "${REGISTRY_OPERATOR_IMAGE_NAME}" --from-dir "${OPERATOR_REPO}" -n "${NAMESPACE}" --wait
}
Expand Down

0 comments on commit ef1391b

Please sign in to comment.