GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - githubfoam/ruby-role: ansible role ruby TDI testinfra goss

BranchesTags
Open more actions menu

Latest commit

 

History

62 Commits
62 Commits

Folders and files

NameName
Last commit message
Last commit date
defaults
defaults
 
 
handlers
handlers
 
 
meta
meta
 
 
molecule
molecule
 
 
tasks
tasks
 
 
vars
vars
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
.yamllint
.yamllint
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
constraints.txt
constraints.txt
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

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

About

ansible role ruby TDI testinfra goss

Topics

ansible-rolegossrubytest-driven-infrastructuretestinfra

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.