Retrying is hard and use new Molecule Action.
This commit is contained in:
parent
86147a78b3
commit
a9b970763a
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: molecule
|
- name: molecule
|
||||||
uses: robertdebock/molecule-action@1.2.1
|
uses: robertdebock/molecule-action@1.2.2
|
||||||
with:
|
with:
|
||||||
entrypoint: /usr/local/bin/molecule
|
entrypoint: /usr/local/bin/molecule
|
||||||
args: lint
|
args: lint
|
||||||
|
|
@ -49,7 +49,7 @@ jobs:
|
||||||
- name: parse apparmor for mysql
|
- name: parse apparmor for mysql
|
||||||
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
|
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
|
||||||
- name: molecule
|
- name: molecule
|
||||||
uses: robertdebock/molecule-action@1.2.1
|
uses: robertdebock/molecule-action@1.2.2
|
||||||
with:
|
with:
|
||||||
image: {% raw %}${{ matrix.config.image }}{% endraw %}
|
image: {% raw %}${{ matrix.config.image }}{% endraw %}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ deps =
|
||||||
docker
|
docker
|
||||||
molecule
|
molecule
|
||||||
commands =
|
commands =
|
||||||
i=0 ; until [ $i -gt 2 ] ; do molecule test ; ((i++)) ; done
|
molecule test
|
||||||
setenv =
|
setenv =
|
||||||
TOX_ENVNAME={envname}
|
TOX_ENVNAME={envname}
|
||||||
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/.molecule/{env:image:fedora}-{env:tag:latest}/{envname}
|
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/.molecule/{env:image:fedora}-{env:tag:latest}/{envname}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue