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

Test network-engine against devel & stable, py2 & py3 #15

Merged
merged 1 commit into from
May 14, 2018

Conversation

gundalow
Copy link
Contributor

@gundalow gundalow commented May 13, 2018

This role adds pre-commit integration tests for network-engine for both Python 2 and Python 3 using the latest stable released version of Ansible.

In addition we use Ansible devel with Python 2 to ensure there aren't any upstream changes that might cause us issues.

The network-engine role only supports Ansible 2.5.0 and newer, so no point testing on older Ansible releases.

Although the roles are only "supported" on released versions of Ansible
we should ensure there are no regressions in the devel branch of Ansible.

stable: py2 & py3
deve: py2

Although the roles are only "supported" on released versions of Ansible
we should ensure there are no regressions in the devel branch.

Some of the parsers require features that were first added in Ansible
2.5, so no point testing on older versions

stable: py2 & py3
deve: py2
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@gundalow
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@@ -2,7 +2,9 @@
check:
jobs:
- tox-linters
- ansible-role-tests
- ansible-role-tests-stable-py2
Copy link
Contributor

Choose a reason for hiding this comment

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

The job definitions for ansible/ansible should be in ansible/ansible.
The reason I put them on ansible-zuul-jobs was to a hack to work out a network integration zuul role.

What you need to do is :

  1. Install SF GH app on Ansible/ansible
  2. Create .zuul.yml with job definitions on ansible/ansible
  3. Put a depends-on on the ansible/ansible PR containing the .zuul.yml that depends on the roles on this ansible-zuul-jobs PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This PR is for testing network-engine, so I think this is the right place.

#13 will need moving to ansible/ansible

Copy link
Contributor

Choose a reason for hiding this comment

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

ah sorry, got confused between the two links. This is good then

@gundalow
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@gundalow gundalow changed the title Test ansible-roles against devel & stable, py2 & py3 Test network-engine against devel & stable, py2 & py3 May 14, 2018
@@ -2,7 +2,9 @@
check:
jobs:
- tox-linters
- ansible-role-tests
- ansible-role-tests-stable-py2
Copy link
Contributor

Choose a reason for hiding this comment

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

ah sorry, got confused between the two links. This is good then

@gundalow
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@gundalow gundalow merged commit ed3a8c2 into ansible-network:master May 14, 2018
@gundalow gundalow deleted the ansible-role-devel-py23 branch May 14, 2018 16:14
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.

None yet

3 participants