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

Enabler/add ansible sanity action #1313

Conversation

IsaacVRey
Copy link
Contributor

@IsaacVRey IsaacVRey commented Mar 20, 2024

SUMMARY

This PR adresses issue #1312

Added new github action that will run ansible sanity upon a new pull request with base branch dev or any branch that starts with staging that modified any file outside of:

.tar.gz
pycache/
.ansible-lint
.cache/
.DS_Store
.git/
.github/
.gitignore
.python-version
.pytest_cache/
.vscode/
Jenkinsfile
ac
ansible.cfg
changelogs/
collections/
docs/
scripts/
test_config.yml
tests/.ini
tests/
.py
tests/.pytest_cache
tests/pycache
tests/functional
tests/helpers
tests/requirements.txt
tests/unit
tests/sanity/ignore-2.9.txt
tests/sanity/ignore-2.10.txt
tests/sanity/ignore-2.11.txt
tests/sanity/ignore-2.12.txt
tests/sanity/ignore-2.13.txt
venv*

By default, it will run on three triggers:

open
synchronize (every time the branch, with its PR in draft mode or ready for review gets a new push into remote).
reopen

You can see this Github Action in the following PR fernandofloresg#22
And look at the run details here https://github.com/fernandofloresg/ibm_zos_core/actions/runs/8510807817/job/23309156143?pr=22

It averages 1m 37s of execution time
image

And looking at billiable details we get 0s.
image

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

ac-ansible-test-sanity

ADDITIONAL INFORMATION

@IsaacVRey IsaacVRey closed this Mar 20, 2024
@IsaacVRey IsaacVRey deleted the enabler/add-ansible-sanity-action branch March 20, 2024 20:52
@IsaacVRey IsaacVRey restored the enabler/add-ansible-sanity-action branch March 21, 2024 14:47
@IsaacVRey IsaacVRey reopened this Mar 21, 2024
@IsaacVRey IsaacVRey marked this pull request as ready for review April 1, 2024 17:00
@fernandofloresg fernandofloresg merged commit 5f743e6 into ansible-collections:dev Apr 2, 2024
0 of 2 checks passed
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.

5 participants