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

features: license headers + .env file generation #42

Merged
merged 3 commits into from
Mar 29, 2023
Merged

Conversation

shantanoo-desai
Copy link
Owner

Description

This PR inserts the necessary license headers for generated files from their respective templates (except for mosquitto see #41 ). Each generated file also now provides metadata of when these files were generated under the license header for more traceability when deployed on multiple devices.

It also refactors the logic of generated a core .env file for the docker compose project which at the moment adds the Grafana Admin Credentials in the final deployment directory.

It fixes #41 caused by the initial introduction of license headers to mosquitto which eclipse-mosquitto container cannot comprehend.

- Insert date on when the files were generated
- Introduce License Headers as they are for respective files (YAML, js)
  via ansible comment blocks
- mention the template for `ansible_managed` in dedicated `ansible.cfg`
- Add final header to the `docker-compose.yml` file
- lint checks

closes #39

Signed-off-by: Shantanoo Desai <shantanoo.desai@gmail.com>
- remove the task from `configure-grafana.yml`
- add the step to the `block` part of the task in `generate-stack.yml`
- add `komponist.env.j2` template

closes #40

Signed-off-by: Shantanoo Desai <shantanoo.desai@gmail.com>
closes #41

Signed-off-by: Shantanoo 'Shan' Desai <shantanoo.desai@gmail.com>
@shantanoo-desai shantanoo-desai added the enhancement New feature or request label Mar 29, 2023
@shantanoo-desai shantanoo-desai self-assigned this Mar 29, 2023
@shantanoo-desai shantanoo-desai merged commit 6669e77 into main Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[mosquitto] new line at end of generate users file causes user lockout
1 participant