Skip to content

Commit

Permalink
Merge pull request #702 from chmouel/generation-script
Browse files Browse the repository at this point in the history
remove the "don't remove this line" line
  • Loading branch information
Shivam Mukhade committed May 27, 2022
2 parents 86c99f5 + 3147a46 commit 4904db5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions config/500-watcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,4 @@ spec:
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5

# don't remove this line
timeoutSeconds: 5
2 changes: 1 addition & 1 deletion hack/generate-releaseyaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi


for file in ${files};do
head -1 ${file} | grep -q -- "---" || echo "---"
head -1 ${file} | grep -q -- "---" || echo -e "\n---\n"
sed -r -e "s,(.*image:.*)ko://github.com/openshift-pipelines/pipelines-as-code/cmd/pipelines-as-code-controller.*,\1${TARGET_REPO_CONTROLLER}:${TARGET_BRANCH}\"," \
-r -e "s,(.*image:.*)ko://github.com/openshift-pipelines/pipelines-as-code/cmd/pipelines-as-code-watcher.*,\1${TARGET_REPO_WATCHER}:${TARGET_BRANCH}\"," \
-e "s/(namespace: )\w+.*/\1${TARGET_NAMESPACE}/g" \
Expand Down

0 comments on commit 4904db5

Please sign in to comment.