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

Replace strategy.matrix.include use. #369

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

hmlanigan
Copy link
Member

@hmlanigan hmlanigan commented Dec 14, 2023

strategy.matrix.include has non intuitive use. See the docs for more info.

To test what we want, define sets of values to be used together.

For each terraform 1.4, 1.5 and 1.6 test with each:

  • juju 2.9, lxd
  • juju 3.1, lxd
  • juju 2.9, microk8s
  • juju 3.1, microk8s (requires strictly confined snap)

There should be 12 test runs with the above combination.

JUJU-4544

It ended up not doing what was expected, only 3 jobs rather than 12.
Could re-write using include, but it is not intuitive. This accomplishes
what we want as well.
@hmlanigan hmlanigan force-pushed the matrix-strategy-includes-addy branch from 4f2d71c to 9688f0a Compare January 9, 2024 21:39
@hmlanigan
Copy link
Member Author

rebased with changes to fix the tests

@hmlanigan
Copy link
Member Author

#375 landed and has fixed the tests.

@hmlanigan hmlanigan requested a review from cderici January 9, 2024 22:09
Copy link
Contributor

@cderici cderici left a comment

Choose a reason for hiding this comment

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

Seems to be working very nicely!

@hmlanigan hmlanigan merged commit 7b49117 into juju:main Jan 9, 2024
23 checks passed
@hmlanigan hmlanigan deleted the matrix-strategy-includes-addy branch January 9, 2024 22:53
@hmlanigan hmlanigan changed the title WIP: Replace strategy.matrix.include use. Replace strategy.matrix.include use. Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants