Skip to content

Commit

Permalink
New container, more explanation.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Jun 1, 2021
1 parent 915a29e commit 4c0413d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@2.6.16
uses: robertdebock/molecule-action@2.6.17
```
NOTE: the `checkout` action needs to place the file in `${{ github.repository }}` in order for Molecule to find your role.
Expand All @@ -99,7 +99,7 @@ jobs:
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@2.6.16
uses: robertdebock/molecule-action@2.6.17
with:
command: lint
test:
Expand All @@ -122,7 +122,7 @@ jobs:
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@2.6.16
uses: robertdebock/molecule-action@2.6.17
with:
image: "${{ matrix.image }}"
options: parallel
Expand Down
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@ author: Robert de Bock <robert@meinit.nl>

inputs:
namespace:
description: The [Docker Hub](https://hub.docker.com/) namespace where the image can be found.
description: The [Docker Hub](https://hub.docker.com/) namespace where the image can be found. Defaults to `robertdebock`.
required: false
default: robertdebock
image:
description: The image you want to run on.
description: The image you want to run on. Defaults to `fedora`.
required: false
default: fedora
tag:
description: The tag of the container image to use.
description: The tag of the container image to use. Defaults to `latest`.
required: false
default: latest
options:
description: Options you can pass to [`tox`](https://tox.readthedocs.io/en/latest/), for example `--parallel all`.
required: false
command:
description: What command to pass to [molecule](https://molecule.readthedocs.io/en/latest/), for example `lint` or `syntax`.
description: What command to pass to [molecule](https://molecule.readthedocs.io/en/latest/), for example `lint` or `syntax`. Defaults to `test`.
required: false
default: test
scenario:
description: The molecule scenario to run.
description: The molecule scenario to run. Default to `default`.
required: false
default: default

runs:
using: docker
image: 'docker://robertdebock/github-action-molecule:3.0.6'
image: 'docker://robertdebock/github-action-molecule:3.0.7'
env:
ANSIBLE_ROLES_PATH: "../"
namespace: ${{ inputs.namespace }}
Expand Down

0 comments on commit 4c0413d

Please sign in to comment.