Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Molecule v25.1.0] Replace util.run_command with app.run_command #294

Merged

Conversation

hswong3i
Copy link
Contributor

From ansible/molecule#4359 util.run_command should now replaced with app.run_command.

Fixes ansible/molecule#4372

hswong3i added a commit to alvistack/ansible-community-molecule-plugins that referenced this pull request Jan 22, 2025
    git clean -xdf
    tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
    cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
    rm -rf ../python*-molecule-plugins*23.6.0*.*

See ansible-community#155
See ansible-community#237
See ansible-community#294

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
conftest.py Outdated Show resolved Hide resolved
@hswong3i hswong3i force-pushed the molecule-25.1.0-run_command branch from 637f56e to 31e3440 Compare January 22, 2025 11:22
@shatakshiiii shatakshiiii added the bug Something isn't working label Jan 22, 2025
hswong3i added a commit to alvistack/ansible-community-molecule-plugins that referenced this pull request Jan 22, 2025
    git clean -xdf
    tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
    cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
    rm -rf ../python*-molecule-plugins*23.6.0*.*

See ansible-community#155
See ansible-community#237
See ansible-community#294

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
@hswong3i hswong3i force-pushed the molecule-25.1.0-run_command branch from 96c1cf8 to 1f72244 Compare January 22, 2025 15:06
…n_command()

From ansible/molecule#4359 `util.run_command()`
should now replaced with `get_app(Path()).run_command()`.

Fixes ansible/molecule#4372

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
@hswong3i hswong3i force-pushed the molecule-25.1.0-run_command branch from 0a91829 to 0487341 Compare January 22, 2025 15:28
hswong3i added a commit to alvistack/ansible-community-molecule-plugins that referenced this pull request Jan 22, 2025
    git clean -xdf
    tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
    cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
    rm -rf ../python*-molecule-plugins*23.6.0*.*

See ansible-community#155
See ansible-community#237
See ansible-community#294

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Copy link
Member

@apatard apatard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test suite seems fine on my test sandbox (my test setup is allowing to run vagrant tests too) and the github one is fine too. Thanks.
I would have preferred to not require latest molecule version as it's quite new but we've already did that in the past and 6.0.0 is old. So, I guess it's fine too

@apatard apatard merged commit d511fe6 into ansible-community:main Jan 22, 2025
10 checks passed
@jsf9k
Copy link

jsf9k commented Jan 22, 2025

@apatard - Will there be a new release soon?

@apatard
Copy link
Member

apatard commented Jan 22, 2025

@apatard - Will there be a new release soon?

I'm not sure I'll manage to do it today. Given how important this fix is, I'll try to make a release tomorrow.

hswong3i added a commit to alvistack/ansible-community-molecule-plugins that referenced this pull request Jan 23, 2025
    git clean -xdf
    tar zcvf ../python-molecule-plugins_23.6.0.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-molecule-plugins.spec ../python-molecule-plugins_23.6.0-1.spec
    cp ../python*-molecule-plugins*23.6.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/ansible-community-molecule-plugins-23.6.0
    rm -rf ../python*-molecule-plugins*23.6.0*.*

See ansible-community#155
See ansible-community#237
See ansible-community#294

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
apatard added a commit to apatard/molecule-plugins that referenced this pull request Jan 23, 2025
When ansible-community#294, I didn't notice that the python version was not inside
quotes, leading to python version being parsed as 3.1 and not 3.10.
Breaking the release workflow.
Add missing quotes.

Signed-off-by: Arnaud Patard <arnaud.patard@collabora.com>
@apatard
Copy link
Member

apatard commented Jan 23, 2025

Update:
Looks like I missed a YAML parsing issue introduced by this commit, so the release is done but the release workflow did not work, so no pypi. I've opened a new PR to hopefully fix that. I'll probably have to do a minor release to publish to pypi

apatard added a commit that referenced this pull request Jan 23, 2025
When #294, I didn't notice that the python version was not inside
quotes, leading to python version being parsed as 3.1 and not 3.10.
Breaking the release workflow.
Add missing quotes.

Signed-off-by: Arnaud Patard <arnaud.patard@collabora.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v25.1.0 cant find docker driver
4 participants