Skip to content

Conversation

widhalmt
Copy link
Member

I'm using this mostly to test mandatory status checks

@widhalmt widhalmt added the feature New feature or request label Feb 15, 2023
@widhalmt widhalmt self-assigned this Feb 15, 2023
@widhalmt widhalmt enabled auto-merge February 15, 2023 16:49
@widhalmt widhalmt disabled auto-merge February 16, 2023 08:55
@widhalmt
Copy link
Member Author

widhalmt commented Feb 16, 2023

The idea of this PR is:

  • Have a linter run over the whole collection for every PR against main (must succeed because it's a requirement for full stack tests)
  • Have a molecule test with rockylinux8 and ubuntu2204 for the whole stack for every PR against main (must succeed for merging. Set in branch protection rules)
  • Have more detailed molecule checks per role only when the roles code is changed in this PR (Thanks @mkayontour for that code!) (No impact on merging. They are mostly for debugging / info gathering)
  • Have a full cluster check after every merge to main for every supported OS (Very likely to succeed when other full cluster checks succeeded. Just as an extra safety so we can react fast when a merge fails)

I'm still struggling a bit with GitHub's Action syntax.

@widhalmt
Copy link
Member Author

It looks like the tests for changes in roles only run once when a push to their code is made. They don't run, when the PR will change them. Seems like I just learned the difference between the push and pull_request triggers. 🤣 🤦🏽

I'm not sure which trigger I like better. Any opinions?

widhalmt added a commit that referenced this pull request Feb 16, 2023
Needs #88 to be merged into this branch
@widhalmt widhalmt mentioned this pull request Feb 16, 2023
@widhalmt widhalmt enabled auto-merge February 16, 2023 11:12
@widhalmt widhalmt requested review from mkayontour and removed request for mkayontour February 16, 2023 14:07
mkayontour
mkayontour previously approved these changes Feb 16, 2023
@widhalmt widhalmt added this pull request to the merge queue Feb 16, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 16, 2023
@widhalmt
Copy link
Member Author

Since some checks will only run when adding the PR to the queue, we need a quick approve, even when the approver didn't have time to dig into the code as a whole. This is an exception, hopefully and applies to all approves after this comment.

@widhalmt widhalmt added this pull request to the merge queue Feb 16, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 16, 2023
@widhalmt widhalmt added this pull request to the merge queue Feb 16, 2023
@widhalmt widhalmt removed this pull request from the merge queue due to a manual request Feb 16, 2023
@widhalmt widhalmt enabled auto-merge February 16, 2023 21:26
@widhalmt widhalmt added this pull request to the merge queue Feb 16, 2023
Merged via the queue into main with commit 9708504 Feb 16, 2023
@widhalmt widhalmt deleted the feature/mandatorylinter branch February 16, 2023 23:20
widhalmt added a commit that referenced this pull request Feb 20, 2023
* Fix some lint

Needs #88 to be merged into this branch

* Fix triggers for actions

* Improve idempotency
ivareri pushed a commit to ivareri/ansible-collection-elasticstack that referenced this pull request Jun 17, 2025
* Fix metadata lint

fixes NETWAYS#88

* Convert versions into strings
* Add missing namespace
* Add missing Debian support
* Fix naming convention for tasks
ivareri pushed a commit to ivareri/ansible-collection-elasticstack that referenced this pull request Jun 17, 2025
* Fire handlers after starting Elasticsearch
* Wait for all instances instead of only one
* Disable https in no-security checks
* Remove connection check from single node scenario
* Change URL to new home of roles
* Rename instances to avoid collisions
* Remove v8 for now and run unparalleled

fixes NETWAYS#88
ivareri pushed a commit to ivareri/ansible-collection-elasticstack that referenced this pull request Jun 17, 2025
* Lint full codebase before merging

* Make a full stack test for every pr against main

* Test merge to full against all supported OS

fixes NETWAYS#17

* fix lint

* Typo

* Rename jobs

* Run mandatory checks on queueing

* Run mandatory checks with every PR and queue
ivareri pushed a commit to ivareri/ansible-collection-elasticstack that referenced this pull request Jun 17, 2025
* Fix some lint

Needs NETWAYS#88 to be merged into this branch

* Fix triggers for actions

* Improve idempotency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants