Skip to content

Fixes #2023: jmespath required to run default molecule tests in Travis CI environment.#2027

Merged
camilamacedo86 merged 1 commit intooperator-framework:masterfrom
geerlingguy:2023-missing-jmespath
Oct 9, 2019
Merged

Fixes #2023: jmespath required to run default molecule tests in Travis CI environment.#2027
camilamacedo86 merged 1 commit intooperator-framework:masterfrom
geerlingguy:2023-missing-jmespath

Conversation

@geerlingguy
Copy link
Copy Markdown
Contributor

Description of the change:
Add missing jmespath dependency to .travis.yml template for Ansible-based operators.

Motivation for the change:

Closes #2023

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 9, 2019
@openshift-ci-robot
Copy link
Copy Markdown

Hi @geerlingguy. Thanks for your PR.

I'm waiting for a operator-framework or openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 9, 2019
@camilamacedo86
Copy link
Copy Markdown
Contributor

/ok-to-test

@openshift-ci-robot openshift-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Oct 9, 2019
Copy link
Copy Markdown
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

It is great. It is just missing a fixed entry in the CHNAGELOG. Could you please add it?

@geerlingguy
Copy link
Copy Markdown
Contributor Author

@camilamacedo86 - Changelog entry has been added! Thanks.

Copy link
Copy Markdown
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

the changes show ok. I am testing it.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 9, 2019
@camilamacedo86
Copy link
Copy Markdown
Contributor

/test e2e-aws-subcommand

@camilamacedo86 camilamacedo86 removed the lgtm Indicates that a PR is ready to be merged. label Oct 9, 2019
@camilamacedo86
Copy link
Copy Markdown
Contributor

/test e2e-aws-subcommand

@camilamacedo86
Copy link
Copy Markdown
Contributor

/test e2e-aws-ansible

@fabianvf
Copy link
Copy Markdown
Member

fabianvf commented Oct 9, 2019

/lgtm
I bet we can remove this dependency entirely with ansible 2.8+, I think the jmespath stuff was just because parsing conditions is so hard, but now that we have wait and wait_condition we should be able to drop it.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 9, 2019
@camilamacedo86 camilamacedo86 added lgtm Indicates that a PR is ready to be merged. and removed lgtm Indicates that a PR is ready to be merged. labels Oct 9, 2019
Copy link
Copy Markdown
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

I could confirm that the error reported in #2023 is no longer faced with this PR.

@geerlingguy
Copy link
Copy Markdown
Contributor Author

@fabianvf - It seems like the Ansible core team is also solidly against ever depending on jmespath for anything, as they've repeatedly closed requests to have it added. Since it's only used by a few modules that are not 'core supported' it would be nice to not have to have it if it's not absolutely necessary.

@camilamacedo86
Copy link
Copy Markdown
Contributor

/test e2e-aws-subcommand
/test e2e-aws-ansible
/test e2e-aws-helm
/test e2e-aws-go

@camilamacedo86
Copy link
Copy Markdown
Contributor

/test e2e-aws-go
/test e2e-aws-helm

@camilamacedo86
Copy link
Copy Markdown
Contributor

/test e2e-aws-subcommand
/test e2e-aws-ansible
/test e2e-aws-go
/test e2e-aws-helm

Copy link
Copy Markdown
Member

@jmrodri jmrodri left a comment

Choose a reason for hiding this comment

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

/lgtm

@camilamacedo86
Copy link
Copy Markdown
Contributor

/test e2e-aws-subcommand
/test e2e-aws-ansible
/test e2e-aws-go
/test e2e-aws-helm

@camilamacedo86 camilamacedo86 merged commit fd528e8 into operator-framework:master Oct 9, 2019
@camilamacedo86
Copy link
Copy Markdown
Contributor

Hi @fabianvf,

Should we address anything else regards your comment?

I bet we can remove this dependency entirely with ansible 2.8+, I think the jmespath stuff was just because parsing conditions is so hard, but now that we have wait and wait_condition we should be able to drop it.

Should we track it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default ansible operator Travisfile doesn't work - jmespath error

5 participants