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

WIP - Add integration tests splitter github actions #1391

Closed
wants to merge 1 commit into from

Conversation

abikouo
Copy link
Contributor

@abikouo abikouo commented Feb 27, 2023

Add ansible test splitter into Github actions

ISSUE TYPE
  • Feature Pull Request

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/f245c2cff09b4e8b86f3c71f5ffb7011

✔️ ansible-galaxy-importer SUCCESS in 3m 43s
✔️ build-ansible-collection SUCCESS in 12m 44s
✔️ ansible-test-sanity-aws-ansible-python38 SUCCESS in 10m 14s (non-voting)
✔️ ansible-test-sanity-aws-ansible-2.12-python38 SUCCESS in 11m 50s
✔️ ansible-test-sanity-aws-ansible-2.13-python38 SUCCESS in 12m 30s
✔️ ansible-test-sanity-aws-ansible-2.14 SUCCESS in 10m 32s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 10m 51s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 9m 45s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 8m 51s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 8m 19s
✔️ cloud-tox-py3 SUCCESS in 8m 54s
ansible-test-changelog FAILURE in 4m 12s
✔️ ansible-test-splitter SUCCESS in 4m 48s
✔️ integration-amazon.aws-1 SUCCESS in 5m 48s
✔️ integration-community.aws-1 SUCCESS in 25m 11s
✔️ integration-community.aws-2 SUCCESS in 12m 04s
✔️ integration-community.aws-3 SUCCESS in 11m 58s
Skipped 40 jobs

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/6f231ef4a9ba4c06b59fc079f8920378

✔️ ansible-galaxy-importer SUCCESS in 4m 09s
✔️ build-ansible-collection SUCCESS in 12m 21s
✔️ ansible-test-sanity-aws-ansible-python38 SUCCESS in 11m 13s (non-voting)
✔️ ansible-test-sanity-aws-ansible-2.12-python38 SUCCESS in 11m 46s
✔️ ansible-test-sanity-aws-ansible-2.13-python38 SUCCESS in 11m 58s
✔️ ansible-test-sanity-aws-ansible-2.14 SUCCESS in 11m 03s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 10m 42s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 9m 16s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 10m 57s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 11m 37s
✔️ cloud-tox-py3 SUCCESS in 6m 34s
ansible-test-changelog FAILURE in 4m 16s
✔️ ansible-test-splitter SUCCESS in 4m 47s
✔️ integration-amazon.aws-1 SUCCESS in 6m 07s
✔️ integration-community.aws-1 SUCCESS in 24m 25s
✔️ integration-community.aws-2 SUCCESS in 10m 34s
integration-community.aws-3 RETRY_LIMIT in 1m 31s
Skipped 40 jobs

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/85b26558a0a949f7a2db1bebe71ecd3c

✔️ ansible-galaxy-importer SUCCESS in 4m 31s
✔️ build-ansible-collection SUCCESS in 12m 51s
✔️ ansible-test-sanity-aws-ansible-python38 SUCCESS in 10m 08s (non-voting)
✔️ ansible-test-sanity-aws-ansible-2.12-python38 SUCCESS in 10m 02s
✔️ ansible-test-sanity-aws-ansible-2.13-python38 SUCCESS in 10m 46s
✔️ ansible-test-sanity-aws-ansible-2.14 SUCCESS in 10m 47s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 9m 27s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 10m 50s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 8m 32s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 10m 04s
✔️ cloud-tox-py3 SUCCESS in 9m 18s
ansible-test-changelog FAILURE in 4m 23s
✔️ ansible-test-splitter SUCCESS in 4m 45s
✔️ integration-amazon.aws-1 SUCCESS in 5m 39s
✔️ integration-community.aws-1 SUCCESS in 20m 59s
✔️ integration-community.aws-2 SUCCESS in 10m 12s
✔️ integration-community.aws-3 SUCCESS in 9m 49s
Skipped 40 jobs

@abikouo abikouo changed the title [DNM] Testing splitter github actions Add integration tests splitter github actions Mar 6, 2023
@abikouo abikouo force-pushed the gha_splitter_0227 branch 2 times, most recently from 9abc12f to 61f0cf6 Compare March 6, 2023 10:54
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/c6b92cafcbf941bf871882693b052ced

✔️ ansible-galaxy-importer SUCCESS in 4m 11s
✔️ build-ansible-collection SUCCESS in 56m 07s
✔️ ansible-test-sanity-aws-ansible-python38 SUCCESS in 10m 30s (non-voting)
✔️ ansible-test-sanity-aws-ansible-2.12-python38 SUCCESS in 10m 40s
✔️ ansible-test-sanity-aws-ansible-2.13-python38 SUCCESS in 9m 44s
✔️ ansible-test-sanity-aws-ansible-2.14 SUCCESS in 9m 30s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 8m 31s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 9m 11s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 9m 46s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 8m 26s
✔️ cloud-tox-py3 SUCCESS in 7m 10s

Comment on lines +25 to +38
- name: Checkout the collection repository
uses: actions/checkout@v3
with:
path: ${{ env.source_directory }}
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Checkout the community.aws collection repository
uses: actions/checkout@v3
with:
repository: ansible-collections/community.aws
path: ${{ env.dependent_directory }}
ref: ${{ github.event.pull_request.base.ref }}
fetch-depth: 0
Copy link
Member

Choose a reason for hiding this comment

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

I think the collection and collection dependencies install should be handled in a separate job, or more likely a separate reusable workflow. We are reinventing the wheel here with every workflow/action, and each time we do it differently. The docs-build seems to do this its own way, the network sanity workflow does this its own way, and then we're adding a new way of doing it here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am working on something that can take care of the dependencies resolution, the collection and collection dependencies install will be done with the depends-on feature we used to add with zuul

@ansibullbot ansibullbot added community_review feature This issue/PR relates to a feature request needs_triage labels Mar 31, 2023
@abikouo abikouo changed the title Add integration tests splitter github actions WIP - Add integration tests splitter github actions Apr 7, 2023
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/77ea25acd66e4e9b978a9673089b219b

✔️ ansible-galaxy-importer SUCCESS in 4m 28s
✔️ build-ansible-collection SUCCESS in 12m 37s
✔️ ansible-test-sanity-aws-ansible-python38 SUCCESS in 9m 30s (non-voting)
✔️ ansible-test-sanity-aws-ansible-2.12-python38 SUCCESS in 11m 16s
✔️ ansible-test-sanity-aws-ansible-2.13-python38 SUCCESS in 9m 45s
✔️ ansible-test-sanity-aws-ansible-2.14 SUCCESS in 9m 55s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 9m 34s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 10m 22s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 10m 09s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 7m 48s
✔️ cloud-tox-py3 SUCCESS in 7m 13s

@abikouo
Copy link
Contributor Author

abikouo commented May 4, 2023

replaced by #1516 because we need a PR from the repository to test with pull_request_target

@abikouo abikouo closed this May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community_review feature This issue/PR relates to a feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants