-
Notifications
You must be signed in to change notification settings - Fork 1
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
Use MIRSG molecule-test
#5
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
8862621
Add a reusable workflow for running molecule tests
p-j-smith 34c6fe9
Use the reusable molecule workflow for testing the provision role
p-j-smith ee43df8
Use the reusable molecule workflow for testing the firewalld role
p-j-smith ad7393a
Use the reusable molecule workflow for testing the firewalld role
p-j-smith d48f814
run molecule tests when the workflow files change
p-j-smith c947b2d
Set correct tests_path when using the mirsg molecule-test action
p-j-smith 7399153
Use the latests version of all mirsg actions
p-j-smith 71e6b5e
rename run_tags input to run-tags for the molecule reusable workflow
p-j-smith a73481c
remove whitespace from last line of workflow
p-j-smith 0ca6652
Add example of how using a composite action would work instead of a r…
p-j-smith e8dce7e
remove usage of composite action example
p-j-smith cb65f5f
Remove unnecessary 'required' flag from run-tags input declaration
p-j-smith File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Test with Molecule | ||
on: | ||
workflow_call: | ||
inputs: | ||
run-tags: | ||
type: string | ||
default: all | ||
|
||
jobs: | ||
molecule: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
scenario: | ||
- centos7 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah for now, I'll add Rocky 9 in a separate pr |
||
env: | ||
MOLECULE_RUN_TAGS: ${{ inputs.run-tags }} | ||
PY_COLORS: 1 | ||
ANSIBLE_FORCE_COLOR: 1 | ||
|
||
steps: | ||
- name: Run `molecule test` | ||
uses: UCL-MIRSG/.github/actions/[email protected] | ||
with: | ||
scenario: ${{ matrix.scenario }} | ||
checkout_path: ansible_collections/mirsg/infrastructure | ||
tests_path: ansible_collections/mirsg/infrastructure/tests |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One day Renovate will come back 😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can only dream
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dreams do come true - I just reenabled it...
I put it on the shared calendar to reenable, but I still forgot...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was scared to re-enable it haha