-
Notifications
You must be signed in to change notification settings - Fork 114
Implement passing over an additional env file #1093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -126,6 +126,7 @@ export BARBICAN_ENABLED=${BARBICAN_ENABLED} | |
| export MANILA_ENABLED=${MANILA_ENABLED} | ||
| export SWIFT_REPLICATED=${SWIFT_REPLICATED} | ||
| export TLSE_ENABLED=${TLSE_ENABLED} | ||
| export STANDALONE_ADDITIONAL_ENV=/tmp/aditional_env_file.yaml | ||
| export CLOUD_DOMAIN=${CLOUD_DOMAIN} | ||
| export OCTAVIA_ENABLED=${OCTAVIA_ENABLED} | ||
| export HEAT_ENABLED=${HEAT_ENABLED} | ||
|
|
@@ -236,6 +237,7 @@ scp $SSH_OPT ${SCRIPTPATH}/../standalone/hugepages.yaml root@$IP:hugepages.yaml | |
| [[ "$EDPM_COMPUTE_CEPH_ENABLED" == "true" ]] && scp $SSH_OPT standalone/ceph.sh root@$IP:/tmp/ceph.sh | ||
| scp $SSH_OPT standalone/openstack.sh root@$IP:/tmp/openstack.sh | ||
| scp $SSH_OPT standalone/post_config/ironic.sh root@$IP:/tmp/ironic_post.sh | ||
| [ -f "${STANDALONE_ADDITIONAL_ENV}" ] && scp $SSH_OPT "${STANDALONE_ADDITIONAL_ENV}" root@$IP:/tmp/aditional_env_file.yaml || true | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should the destination file name not be the same as the STANDALONE_ADDITIONAL_ENV ? (or at least the basename of that)?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. again, note the typo. |
||
| [ -f $HOME/.ssh/id_ecdsa.pub ] || \ | ||
| ssh-keygen -t ecdsa -f $HOME/.ssh/id_ecdsa -q -N "" | ||
| scp $SSH_OPT $HOME/.ssh/id_ecdsa.pub root@$IP:/root/.ssh/id_ecdsa.pub | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,6 +100,7 @@ export MANILA_ENABLED=${MANILA_ENABLED:-true} | |
| export OCTAVIA_ENABLED=${OCTAVIA_ENABLED} | ||
| export TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-true} | ||
| export TLSE_ENABLED=${TLSE_ENABLED:-false} | ||
| export TRIPLEO_ADDITIONAL_ENV=/tmp/aditional_env_file.yaml | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto as above |
||
| export CLOUD_DOMAIN=${CLOUD_DOMAIN:-localdomain} | ||
| export TRIPLEO_NETWORKING=${TRIPLEO_NETWORKING:-true} | ||
| export TRIPLEO_ATTACH_EXTNET=${TRIPLEO_ATTACH_EXTNET:-true} | ||
|
|
@@ -266,6 +267,7 @@ else | |
| fi | ||
| scp $SSH_OPT ${SCRIPTPATH}/../tripleo/overcloud_roles.yaml zuul@$IP:overcloud_roles.yaml | ||
| scp $SSH_OPT ${SCRIPTPATH}/../tripleo/ansible_config.cfg zuul@$IP:ansible_config.cfg | ||
| [ -n "${TRIPLEO_ADDITIONAL_ENV}" ] && [ -f "${TRIPLEO_ADDITIONAL_ENV}" ] && scp $SSH_OPT "${TRIPLEO_ADDITIONAL_ENV}" zuul@$IP:/tmp/aditional_env_file.yaml || true | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto as above |
||
| if [[ "$EDPM_COMPUTE_CEPH_ENABLED" == "true" ]]; then | ||
| scp $SSH_OPT ${SCRIPTPATH}/../tripleo/ceph.sh root@$IP:/tmp/ceph.sh | ||
| scp $SSH_OPT ${SCRIPTPATH}/../tripleo/generate_ceph_inventory.py root@$IP:/tmp/generate_ceph_inventory.py | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look right - shouldn't this just be set to the value of the env parameter you set in the Makefile
Like: STANDALONE_ADDITIONAL_ENV=${STANDALONE_ADDITIONAL_ENV}
If you want to put in a default value, please note the typo in the file name.