mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
18 lines
514 B
Bash
Executable File
18 lines
514 B
Bash
Executable File
#!/bin/bash
|
|
## This script will auto-generate the templated files and bundle files
|
|
## after changes to CRD template files. Please use this instead of manually
|
|
## updating the managed yaml files.
|
|
##
|
|
## Example:
|
|
## TAG=0.10.0 ./generate-files.sh
|
|
|
|
TAG=${TAG:-''}
|
|
if [[ -z "$TAG" ]]; then
|
|
echo "Set your \$TAG variable to your registry server."
|
|
echo "export TAG=mytag"
|
|
exit 1
|
|
fi
|
|
|
|
ansible-playbook ansible/chain-operator-files.yml
|
|
operator-sdk generate bundle --operator-name awx-operator --version $TAG
|