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

[Task](ci): Automate Environment Variable and appProps.JSON Creation for Docker Images #619

Open
3 tasks
ArtieReus opened this issue Nov 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request greenhouse Greenhouse core related task infrastructure Infrastructure related issues, ci as well

Comments

@ArtieReus
Copy link
Collaborator

Task Description
Enhance the Docker image build process by automating the creation of environment variables and the appProps.json file using appProps.template.json as the source of truth. Currently, every change to an app property requires manual updates in appProps.template.json, README.md, Dockerfile, and entrypoint.sh.

Sub-tasks

  • Automate Environment Variable Creation
    • Avoid manually defining environment variables in Docker images.
    • Use appProps.template.json as the source to dynamically create environment variables during the build or runtime process.
  • Automate appProps.JSON Creation
    • Eliminate hardcoded values for generating the appProps.json file.
    • Automate its creation using appProps.template.json to ensure consistency and reduce manual errors.
  • Generalize and Reuse entrypoint.sh
    • Refactor entrypoint.sh to support the automation process, making it more generalized and reusable across different applications.

Related Issues
Link to related issues or tasks, if any.

Additional Context
Add any other context or information here.

@ArtieReus ArtieReus self-assigned this Nov 15, 2024
@ArtieReus ArtieReus added infrastructure Infrastructure related issues, ci as well enhancement New feature or request greenhouse Greenhouse core related task labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request greenhouse Greenhouse core related task infrastructure Infrastructure related issues, ci as well
Projects
None yet
Development

No branches or pull requests

1 participant