Make role compatible with Podman#66
Open
gotmax23 wants to merge 1 commit intorobertdebock:masterfrom
Open
Conversation
Signed-off-by: Maxwell G <gotmax@e.email>
Owner
|
Cool, let's wait what CI-tests results in, but looks promising. |
Author
|
@robertdebock, can you please take a look? |
JonasPammer
added a commit
to JonasPammer/ansible-role-bootstrap
that referenced
this pull request
Aug 31, 2022
6 tasks
JonasPammer
added a commit
to JonasPammer/ansible-role-bootstrap
that referenced
this pull request
Aug 31, 2022
JonasPammer
added a commit
to JonasPammer/ansible-role-bootstrap
that referenced
this pull request
Sep 3, 2022
* chore: copy molecule/default -> molecule/podman * ci: make molecule podman scenario use podman as driver copied how to adapt from robertdebock/ansible-role-bootstrap#66 (comment) * test: add molecule[podman] in tox dependencies * fix: add executable argument to install bootstrap packages (raw) task to fix podman without this, following error appears: Error: executable file not found in /home/jonas/Dokumente/Programmieren/public/ansible-roles/all-repos/ansible-role-bootstrap/venv/bin:/home/jonas/.nvm/versions/node/v16.15.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jonas/.local/share/JetBrains/Toolbox/scripts:/home/jonas/.local/share/JetBrains/Toolbox/scripts:/usr/local/go/bin: No such file or directory: OCI runtime attempted to invoke a command that was not found * refactor: prepend 'podman' to name of docker container in molecule podman scenario * docs: add podman to development machine dependencies * ci: add pause in podman converge playbook in an attempt to understand or fix random CI failures * revert: revert everything except actual tasks/main.yml molecule podman ci tests are scuffed. podman installation is scuffed too. gonna stay away from podman for a while after this encounter lol Co-authored-by: JonasPammer <JonasPammer@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
name: Make role compatible with Podman
about: See below
Describe the change
This patch passes the
rawcommand to install packages through/bin/sh. Otherwise, when running this role against a podman container using the podman connection plugin, podman tries to find an executable in the$PATHnamedLANG=Cand fails.Testing
In case a feature was added, how were tests performed?
I tested this using
molecule testwith the following patch applied tomolecule/default/molecule.yml