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

Containerized workflow #936

Closed
Zlopez opened this issue Jun 18, 2020 · 6 comments · Fixed by #1150
Closed

Containerized workflow #936

Zlopez opened this issue Jun 18, 2020 · 6 comments · Fixed by #1150
Labels
Low Priority This ticket has a low priority technical debt type.dev Development related change

Comments

@Zlopez
Copy link
Contributor

Zlopez commented Jun 18, 2020

Description

Because release-monitoring.org is running in OpenShift it will be nice to have similar environment for development. This means using containers instead of Vagrant.

Requirements

  • Create a containers for Anitya (web, libraries.io consumer, check_service)
  • Create a container for RabbitMQ
  • Create a container for Postgres DB
  • Anitya containers should be able to connect to RabbitMQ and Postgres DB containers
  • Update contribution guide
  • (Optional) Use pytest-docker for integration testing, this means any tests that needs postgres to run

How this will make Anitya better

This will make production env and dev env almost one to one and will allow us to reproduce issues we encounter in production much more easily.

@Zlopez Zlopez added type.dev Development related change Low Priority This ticket has a low priority technical debt labels Jun 18, 2020
@onur-ozkan
Copy link
Contributor

onur-ozkan commented Jul 20, 2021

I can do this, If its not currently being developed by anyone else @Zlopez

@Zlopez
Copy link
Contributor Author

Zlopez commented Jul 20, 2021

@ozkanonur You can take it, nobody is working on this now

@onur-ozkan
Copy link
Contributor

Are we going to do the same thing here that we did for the-new-hotness? I mean we do this only for the development environment?

@Zlopez
Copy link
Contributor Author

Zlopez commented Jul 23, 2021

Yes, this should work the same as in the-new-hotness.

@onur-ozkan onur-ozkan mentioned this issue Jul 27, 2021
7 tasks
@onur-ozkan
Copy link
Contributor

Do we need a container for "check_service"? If it's not an application and just checking things, it can be executed in web's or consumer's container. @Zlopez

@Zlopez
Copy link
Contributor Author

Zlopez commented Aug 19, 2021

It is in it's own container in OpenShift, because it's a service that could run independently. But yes, in this case it could run in web's container.

@mergify mergify bot closed this as completed in #1150 Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Low Priority This ticket has a low priority technical debt type.dev Development related change
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants