Skip to content

Commit

Permalink
Update sanity tests - upstream no longer supports ansible 2.9 (#1999)
Browse files Browse the repository at this point in the history
SUMMARY

Upstream's dropped support for Ansible 2.9 sanity tests, we don't need to mess about with our own include/exclude list any more.

ISSUE TYPE

    Feature Pull Request

COMPONENT NAME

.github/workflows/sanity.yml

ADDITIONAL INFORMATION

See also ansible-collections/amazon.aws#1846
See also pycrypto/pycrypto@65b43bd (pycrypto / pycryptodome)

---

* Update sanity tests - upstream no longer supports ansible 2.9
* use defaults for units
* pycrypto doesn't work with recent versions - pycryptodome should be (mostly) compatible and uses the same namespace

(cherry picked from commit 20521ee)
  • Loading branch information
tremble authored and patchback[bot] committed Nov 16, 2023
1 parent 1dacfcf commit 02b1926
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 127 deletions.
63 changes: 0 additions & 63 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,66 +8,3 @@ jobs:
uses: ansible-network/github_actions/.github/workflows/sanity.yml@main
with:
matrix_include: "[]"
matrix_exclude: >-
[
{
"ansible-version": "stable-2.9"
},
{
"ansible-version": "stable-2.12",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.12",
"python-version": "3.11"
},
{
"ansible-version": "stable-2.13",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.13",
"python-version": "3.11"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.8"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.8"
},
{
"ansible-version": "milestone",
"python-version": "3.7"
},
{
"ansible-version": "milestone",
"python-version": "3.8"
},
{
"ansible-version": "milestone",
"python-version": "3.9"
},
{
"ansible-version": "devel",
"python-version": "3.7"
},
{
"ansible-version": "devel",
"python-version": "3.8"
},
{
"ansible-version": "devel",
"python-version": "3.9"
}
]
collection_pre_install: '-r source/tests/sanity/requirements.yml'
62 changes: 0 additions & 62 deletions .github/workflows/units.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,66 +7,4 @@ jobs:
unit-source:
uses: ansible-network/github_actions/.github/workflows/unit_source.yml@main
with:
matrix_exclude: >-
[
{
"python-version": "3.11"
},
{
"ansible-version": "stable-2.12",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.13",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.12",
"python-version": "3.8"
},
{
"ansible-version": "stable-2.13",
"python-version": "3.8"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.14",
"python-version": "3.8"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.7"
},
{
"ansible-version": "stable-2.15",
"python-version": "3.8"
},
{
"ansible-version": "milestone",
"python-version": "3.7"
},
{
"ansible-version": "milestone",
"python-version": "3.8"
},
{
"ansible-version": "milestone",
"python-version": "3.9"
},
{
"ansible-version": "devel",
"python-version": "3.7"
},
{
"ansible-version": "devel",
"python-version": "3.8"
},
{
"ansible-version": "devel",
"python-version": "3.9"
}
]
collection_pre_install: '-r source/tests/unit/requirements.yml'
3 changes: 2 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ netaddr
# Sometimes needed where we don't have features we need in modules
awscli
# Used for comparing SSH Public keys to the Amazon fingerprints
pycrypto
# pycrypto is EoL using pycryptodome for now
pycryptodome
# Used by ec2_win_password
cryptography
3 changes: 2 additions & 1 deletion tests/integration/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ virtualenv
# Sometimes needed where we don't have features we need in modules
awscli
# Used for comparing SSH Public keys to the Amazon fingerprints
pycrypto
# pycrypto is EoL using pycryptodome for now
pycryptodome
# Used by ec2_asg_scheduled_action
python-dateutil

0 comments on commit 02b1926

Please sign in to comment.