Skip to content

Commit b1d1e12

Browse files
MarcinGinsztAllda
authored andcommitted
better logging, added argument for e2e tests
1 parent 66417ad commit b1d1e12

File tree

2 files changed

+7
-0
lines changed
  • .github/workflows
  • ansible/roles/operator-pipeline/templates/openshift/tasks

2 files changed

+7
-0
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ jobs:
147147
tkn pipeline start operator-ci-pipeline \
148148
--use-param-defaults \
149149
--param [email protected]:redhat-openshift-ecosystem/operator-pipelines-test.git \
150+
--param upstream_repo_name=operator-pipelines-test \
150151
--param git_branch=$SHORT_SHA \
151152
--param bundle_path=operators/test-e2e-operator/0.0.7-$SHORT_SHA \
152153
--param env=stage \

ansible/roles/operator-pipeline/templates/openshift/tasks/open-pr.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ spec:
5858
SOURCE_BRANCH="$(params.digest_pinned_branch)"
5959
fi
6060
61+
if [ -z $(params.repository_name) ]
62+
then
63+
echo "upstream_repo_name parameter should be filled in order to create the Pull Request"
64+
exit 1
65+
fi
66+
6167
open-pull-request \
6268
--git-repo-url "$(params.git_repo_url)" \
6369
--git-upstream-repo-name "$(params.repository_name)" \

0 commit comments

Comments
 (0)