mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
fb685adc94
* Move periodic job to ES repo This change kickstarts the process of moving CI job definitions to this repo. * Added a minimal readme to provide pointers to the documentation * Update .ci/README.md Co-Authored-By: Rory Hunter <pugnascotia@users.noreply.github.com> * Update .ci/README.md Co-Authored-By: Rory Hunter <pugnascotia@users.noreply.github.com> * point to main repo * PR review * Add link to JJBB
12 lines
175 B
Bash
Executable File
12 lines
175 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -z "$BRANCH" ] ; then
|
|
echo "BRANCH is unset"
|
|
exit 1
|
|
fi
|
|
|
|
rm -Rf .ci/jobs
|
|
cp -r .ci/jobs.t .ci/jobs
|
|
|
|
sed -i "s/%BRANCH%/${BRANCH}/g" .ci/jobs/*.yml
|