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

Leaderboard: docker-compose and deployment cleanup #227

Closed
pomegranited opened this issue Jul 22, 2021 · 3 comments
Closed

Leaderboard: docker-compose and deployment cleanup #227

pomegranited opened this issue Jul 22, 2021 · 3 comments
Labels
inactive PR author has been unresponsive for several months

Comments

@pomegranited
Copy link
Contributor

pomegranited commented Jul 22, 2021

Story

"As a leaderboard contributor, I want to clean up the deployment process to make it more robust and repeatable."

Full description

The original deployment to Heroku was intended to be self-provisioning, and runs various scripts to update the projects and identities lists. However, this approach is brittle and makes deployments slow.

@e0d submitted openedx-unsupported/metrics-dashboard#9 with a docker-compose.yml and related config files which can be used as a base to improve the development and deployment processes.

References:

Completion Criteria

  • PR against https://github.com/openedx/metrics-dashboard which converts the deployment and devstack to use docker-compose and cleans up the repository, removing any unused/unneeded files.
  • Secrets / credentials split into a separate repo which can be selectively shared with other contributors to this project.
  • Processes/scripts for updating the projects, bots, identities, and organizations configuration documented and separated from the deployment process.

Documentation updates & improvements criteria

  • Updated README explaining how to run the devstack, update the configurations, and deploy a new build to Heroku.
@pomegranited
Copy link
Contributor Author

pomegranited commented Sep 3, 2021

Comments from Slack: CC @Kelketek

e0d: One of the overcomplicated bits I want to remove is how the docker entry point tries to do everything on startup, like refresh the projects, rebuild the identities, it's too fragile. Should probably just have make commands for that stuff.
pomegranited: hmm.. isn't that mordred's job? maybe we could move that stuff to a cron/service instead of startup?
e0d: Maybe mordred does that too, but it definitely schedules all the data retrieval and studies. However, it wants to tell it what to retrieve and study. The existing entry point was doing things like hitting github to look for any new public repositories.
pomegranited: oh ok gotcha -- you're talking about our entrypoint.sh file. yep, that stuff should be split out

@sarina
Copy link
Contributor

sarina commented May 17, 2024

Hi everyone, this issue hasn't been touched since September 2021. Was there any enthusiasm/capacity to pick up on this idea, or should we close the issue?

If we want to keep it I propose moving the issue to https://github.com/openedx/wg-coordination/issues since this issue doesn't pertain to an OEP.

@Kelketek
Copy link

@sarina I think the project this is referring to is either dead or has been obviated. I'd say go ahead and close it. If someone really needs to, they can port the issue to the new repo.

@sarina sarina added the inactive PR author has been unresponsive for several months label May 17, 2024
@sarina sarina closed this as completed May 17, 2024
This was referenced May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive PR author has been unresponsive for several months
Projects
None yet
Development

No branches or pull requests

3 participants