Created
September 28, 2020 17:18
-
-
Save bentito/59085e76233a48bd02e933654a69e76f to your computer and use it in GitHub Desktop.
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
#!/bin/bash -ex | |
# This file is required in the cpaas operator build flow | |
# reference: https://gitlab.sat.engineering.redhat.com/cpaas/documentation/-/blob/building-operators/schema/product/builds/brew_container_operator.adoc#user-content-render-templates | |
echo "!!! render_templates !!!" | |
#echo "Printing all envitronment variables:" | |
#echo "--- BEGIN ---" | |
#env | |
#echo "--- END ---" | |
bundle_name=$(basename `pwd`) | |
if [ ${bundle_name} == "cluster-logging-operator-bundle" ] | |
then | |
./cluster_logging_operator_csv_generator.sh | |
./cluster_logging_operator_dockerfile_generator.sh | |
elif [ ${bundle_name} == "elasticsearch-operator-bundle" ] | |
then | |
./elasticsearch_operator_csv_generator.sh | |
./elasticsearch_operator_dockerfile_generator.sh | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment