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

Refactoring entrypoint scripts #87

Merged

Conversation

wiltonsr
Copy link
Contributor

@wiltonsr wiltonsr commented May 3, 2022

Hi @charleneauger @gillesdubois,

I refactored the entrypoint script logic to simplify the mess that the large /usr/bin/entrypoint.sh was becoming.

With this we will have the following benefits:

  • Break large entrypoint scripts into small scripts
  • Separates the responsibility of the contexts (API, communication, reports) in specific files
  • Make it easy for users to add custom scripts across volumes in /docker-entrypoint.d directory (see Ldap auth settings #75)

- Break large entrypoint script in small scripts
- Separates the responsibility of the contexts (api, communication and reports) in specific files
- Make it easy for users to add custom scripts across volumes in /docker-entrypoint.d directory
@wiltonsr wiltonsr mentioned this pull request May 10, 2022
@charleneauger
Copy link
Member

Hi @wiltonsr ,

Sorry for the delay, I tested your PR and all is OK :-)
Thanks for your contribution !

Best regards,
Charlene

@charleneauger charleneauger merged commit 7ee977e into OCSInventory-NG:master Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants