Skip to content
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

Make the project git repo a configuration value #22

Closed
Tracked by #21
freephile opened this issue Feb 28, 2024 · 1 comment
Closed
Tracked by #21

Make the project git repo a configuration value #22

freephile opened this issue Feb 28, 2024 · 1 comment
Assignees
Labels
ansible RedHat Ansible bash shell scripting enhancement New feature or request git version control
Milestone

Comments

@freephile
Copy link
Owner

freephile commented Feb 28, 2024

There are actually two places where the source repository for Meza is referenced in code:

  1. The getmeza.sh bash shell script
  2. The playbooks and roles of Meza

In the first case, we'll provide for overrides by setting environment variables.

In the latter cases, we'll provide for overrides with variable precedence (using -e 'foo=baz' extra-vars of Ansible.) https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_variables.html#understanding-variable-precedence

freephile added a commit that referenced this issue Feb 29, 2024
Create Bash variables for getmeza.sh and source them from the ENVIRONMENT;
so that administrators can override them at run-time; or use a default.

This addresses part of issues #22 and #23

This work  was performed for NASA GRC-ATF by WikiWorks per NASA Contract  NNC15BA02B.
@freephile
Copy link
Owner Author

The Meza repository URL is only currently used within Yaml/Ansible scripts as part of the Autodeployer functionality. It is not used to control the working sources of a controller. It is a nuance that must be better explored and documented for use cases so that any changes or enhancements reflect user expectations.

freephile added a commit that referenced this issue Mar 1, 2024
This resolves issue #22

This work  was performed for NASA GRC-ATF by WikiWorks per NASA Contract  NNC15BA02B.
@freephile freephile self-assigned this Mar 1, 2024
@freephile freephile added enhancement New feature or request git version control ansible RedHat Ansible bash shell scripting labels Mar 1, 2024
@freephile freephile added this to the Release 1.39 milestone Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ansible RedHat Ansible bash shell scripting enhancement New feature or request git version control
Projects
None yet
Development

No branches or pull requests

1 participant