Coder Social home page Coder Social logo

ruby-role's Introduction

ansible-ruby-role

Travis (.com)master branch:
Travis (.com) molecule travisci branch:

Playbook

molecule testinfra/goss travisci:

    - MOLECULE_SCENARIO=centos74-goss
    - MOLECULE_SCENARIO=centos74-testinfra
    - MOLECULE_SCENARIO=ubuntu1804-goss
    - MOLECULE_SCENARIO=ubuntu1804-testinfra

    Entrypoint case #1
    ```
    /vagrant/ruby-role$ sudo molecule list
    --> Validating schema /vagrant/ruby-role/molecule/default/molecule.yml.
    Validation completed successfully.
    Instance Name    Driver Name    Provisioner Name    Scenario Name    Created    Converged
    ---------------  -------------  ------------------  ---------------  ---------  -----------
    centos7          docker         ansible             sc-centos7-goss  false      false

    vagrant@control02:/vagrant/ruby-role$ sudo docker container ls
    CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

    (venv1) vagrant@control02:/vagrant/ruby-role$ sudo molecule create -s sc-centos7-goss

    (venv1) vagrant@control02:/vagrant/ruby-role$ sudo docker container ls
    CONTAINER ID        IMAGE                     COMMAND             CREATED             STATUS              PORTS               NAMES
    eda63d5f278f        molecule_local/centos:7   "/usr/sbin/init"    13 seconds ago      Up 10 seconds                           centos7

    (venv1) vagrant@control02:/vagrant/ruby-role$ sudo dgoss edit --entrypoint=/usr/sbin/init  molecule_local/centos:7
    INFO: Starting docker container
    INFO: Container ID: 847364f2
    INFO: Run goss add/autoadd to add resources
    sh-4.2#
    ```

    Entrypoint case #2
    ```
    sudo molecule create -s sc-ubuntu1804-goss
    (venv) vagrant@control01:/vagrant/ruby-role/molecule/ubuntu1804-goss/tests$ sudo docker container ls
    CONTAINER ID        IMAGE                          COMMAND                  CREATED             STATUS              PORTS               NAMES
    c406b4b7e5bd        molecule_local/ubuntu:bionic   "bash -c 'while true…"   38 minutes ago      Up 38 minutes                           bionic

    (venv) vagrant@control01:/vagrant/ruby-role/molecule/ubuntu1804-goss/tests$ sudo docker inspect molecule_local/ubuntu:bionic | grep Entrypoint
                "Entrypoint": null,
                "Entrypoint": null,

    sudo dgoss edit -it --entrypoint="" molecule_local/ubuntu:bionic bash
    ```
    Experimental
    ```
    sudo molecule login -s sc-ubuntu1804-goss
    sudo docker inspect molecule_local/ubuntu:bionic | grep Entrypoint
                "Entrypoint": null,
                "Entrypoint": null,

    sudo dgoss edit -it --entrypoint="" molecule_local/ubuntu:bionic bash
    ```

License

GNU General Public License v3.0

Author Information

An optional section for the role authors

ruby-role's People

Contributors

githubfoam avatar

Watchers

 avatar

ruby-role's Issues

Security Policy violation SECURITY.md

This issue was automatically created by Allstar.

Security Policy Violation
Security policy not enabled.
A SECURITY.md file can give users information about what constitutes a vulnerability and how to report one securely so that information about a bug is not publicly visible. Examples of secure reporting methods include using an issue tracker with private issue support, or encrypted email with a published key.

To fix this, add a SECURITY.md file that explains how to handle vulnerabilities found in your repository. Go to https://github.com/githubfoam/ruby-role/security/policy to enable.

For more information, see https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository.


This issue will auto resolve when the policy is in compliance.

Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.

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.