Skip to content

Commit

Permalink
chore: adding func-deploy-pac.yaml patch (using bash script)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrangelramos committed Mar 7, 2024
1 parent 6ca0297 commit 72db8d8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 29 deletions.

This file was deleted.

6 changes: 6 additions & 0 deletions openshift/release/update-to-head.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ if [[ -d openshift/overrides ]]; then
cp -r openshift/overrides/. .
rm -rf openshift/overrides
fi
# Apply midstream patches using scripts
if [[ -d openshift/scripts ]]; then
for script in openshift/scripts/*.sh; do
"$script"
done
fi
git add .

make generate/zz_filesystem_generated.go
Expand Down
8 changes: 8 additions & 0 deletions openshift/scripts/generate-func-deploy-pac.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

set -e

FUNC_DEPLOY="pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml"
FUNC_DEPLOY_PAC="pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy-pac.yaml"

sed -e 's/^kind: .*/kind: Task/' $FUNC_DEPLOY > $FUNC_DEPLOY_PAC

0 comments on commit 72db8d8

Please sign in to comment.