File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 28
28
fi
29
29
popd
30
30
# # Grabbing and applying the patch in the PR we are testing
31
- pushd ~ /src/odh-manifests
31
+ pushd ~ /src/data-science-pipelines
32
32
if [ -z " $PULL_NUMBER " ]; then
33
33
echo " No pull number, assuming nightly run"
34
34
else
35
35
curl -O -L https://github.com/${REPO_OWNER} /${REPO_NAME} /pull/${PULL_NUMBER} .patch
36
- echo " Applying followng patch:"
36
+ echo " Applying following patch:"
37
37
cat ${PULL_NUMBER} .patch > ${ARTIFACT_DIR} /github-pr-${PULL_NUMBER} .patch
38
- git apply ${PULL_NUMBER} .patch
38
+ git am ${PULL_NUMBER} .patch
39
39
fi
40
40
popd
41
41
# # Point kfctl_openshift.yaml to the manifests in the PR
42
42
pushd ~ /kfdef
43
43
if [ -z " $PULL_NUMBER " ]; then
44
44
echo " No pull number, not modifying kfctl_openshift.yaml"
45
45
else
46
- if [ $REPO_NAME == " odh-manifests " ]; then
46
+ if [ $REPO_NAME == " data-science-pipelines " ]; then
47
47
echo " Setting manifests in kfctl_openshift to use pull number: $PULL_NUMBER "
48
48
sed -i " s#uri: https://github.com/opendatahub-io/odh-manifests/tarball/master#uri: https://api.github.com/repos/opendatahub-io/odh-manifests/tarball/pull/${PULL_NUMBER} /head#" ./kfctl_openshift.yaml
49
49
fi
You can’t perform that action at this time.
0 commit comments