Giter Site home page Giter Site logo

drift-dev-setup's Introduction

drift-dev-setup

If running on Fedora 32, docker is no longer supported out of the box. Check this article about getting docker running: https://fedoramagazine.org/docker-and-fedora-32/. Symptoms include...

  • error during build-images.sh step include something about the version of runc not supporting cgroups
  • failure starting containers because TCP networking not working correctly

The article above has steps to get docker running on Fedora 32. NOTE: In the firewall-cmd section, I had to add masquerade to the "default" zone, not the "FedoraWorkstation" zone, because the "default" zone is what my system was using. Likely this is a remnant of upgrading Fedora over several versions and not a fresh Fedora 32 install.


Run All Components

  • add this to your /etc/hosts:
127.0.0.1 prod.foo.redhat.com
127.0.0.1 stage.foo.redhat.com
127.0.0.1 qa.foo.redhat.com
127.0.0.1 ci.foo.redhat.com
  • docker login https://registry.redhat.io (needed so you can pull base images during build process)
  • bash build-images.sh
  • docker-compose -f full-stack.yml up -d
  • confirm everything is up: docker-compose -f full-stack.yml ps and confirm everything is either "running" or "exit 0"
  • confirm that you see the archiver working (give it a minute to see output): docker-compose -f full-stack.yml logs -f hsp-archiver
  • go to https://ci.foo.redhat.com:1337/insights/drift in the browser and confirm things look ok!

Run All Components Using Local kerlescan Code

If you are developing kerlescan code and want to run the components using the code you are developing, use full-stack-local-kerlescan.yml instead of full-stack.yml in the docker-compose command.

  • docker-compose -f full-stack-local-kerlescan.yml up -d

This yml file assumes your kerlescan repo is checked out in the same parent directory as this drift-dev-setup repo is checked out. The full-stack-local-kerlescan.yml file mounts your local kerlescan source directory in place of the kerlescan code in the image running in each container.

drift-dev-setup's People

Contributors

beav avatar codeheeler avatar eherget avatar petrblaho avatar sthirugn avatar

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.