forked from openshift/release
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openshift#8046 from petr-muller/rehearse-across-repos
rehearse: enable rehearsing jobs using config from roe/release
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# This script runs the pj-rehearse tool after copying the content of the | ||
# redhat-operator-ecosystem/release repository to the working directory, | ||
# so that the content of that repository is considered in rehearsal decisions. | ||
|
||
set -o errexit | ||
set -o nounset | ||
set -o pipefail | ||
|
||
echo "Copying redhat-operator-ecosystem/release content" | ||
cp -Rn ../../redhat-operator-ecosystem/release/ci-operator/config/* ./ci-operator/config/ | ||
cp -Rn ../../redhat-operator-ecosystem/release/ci-operator/jobs/* ./ci-operator/jobs/ | ||
|
||
echo "Running pj-rehearse" | ||
pj-rehearse "$@" |