Git Product home page Git Product logo

Comments (5)

replicajune avatar replicajune commented on July 18, 2024 1

I've already worked a bit on it today (didn't commit anything yet, as I'm having some trouble with the validation of the Dockerfile 😄 )

I'm familiar with the whole dind thing (I've worked with this concept before) the only thing I don't know yet is how molecule handle mountpoints with containers and if I need to setup privileges somewhere..

Regarding the structure of the tasks, I've tried to stick as close as possible to the already existing variables so for exemple : the configuration is exposed to the container in read only from the related variable (it's a bit different for the data directory but I do set a volume in the right db folder 👍 ).

ATM everything is in the same install.yml. I started with a dedicated install file but chosed to set stuff in blocks for now.. I'm still not sure about the better way to do this for now but having install.yml with common tasks, and includes in that file to either binary or docker might work as well. I'll stick with blocks for now an see how it goes, and makes changes as requested later on !

from ansible-prometheus.

paulfantom avatar paulfantom commented on July 18, 2024

Personally I don't see any use in this, but maybe someone else has such need 😃

To do this properly it would need to have:

  • parallel install_docker.yml tasks file with tasks relevant to containerized installation
  • install.yml split into two sections. So it can choose installation method and delegate it to proper file (install_docker.yml or install_binary.yml) while still allowing to have common parts
  • new variable to choose installation method.
  • and the hardest part: molecule tests. Since we are already using containers to run each OS test instance it would need to use some sort of docker-in-docker trick.

As you can see this is quite a lot of things to do, but I will be happy to accept a PR and assist when you need some help.

from ansible-prometheus.

paulfantom avatar paulfantom commented on July 18, 2024

That is great to hear! 🎉 You can create a PR and work on it there, this way I could do reviews as you progress :)

I will be a bit busy till Monday so my responses can be slower than usual.

from ansible-prometheus.

stale avatar stale commented on July 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from ansible-prometheus.

lock avatar lock commented on July 18, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from ansible-prometheus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.