-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate from Zuul Pipelines to GitHub Workflow * Add tox.ini Signed-off-by: Abhijeet Kasurde <[email protected]>
- Loading branch information
Showing
55 changed files
with
370 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: all_green | ||
|
||
concurrency: | ||
group: ${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
branches: | ||
- main | ||
- 'stable-*' | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
linters: | ||
uses: ./.github/workflows/linters.yml # use the callable linters job to run tests | ||
sanity: | ||
uses: ./.github/workflows/sanity.yml # use the callable sanity job to run tests | ||
all_green: | ||
if: ${{ always() }} | ||
needs: | ||
- linters | ||
- sanity | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: >- | ||
python -c "assert set([ | ||
'${{ needs.linters.result }}', | ||
'${{ needs.sanity.result }}' | ||
]) == {'success'}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: changelog and linters | ||
|
||
on: [workflow_call] # allow this workflow to be called from other workflows | ||
|
||
jobs: | ||
linters: | ||
uses: ansible-network/github_actions/.github/workflows/tox.yml@main | ||
with: | ||
envname: "" | ||
labelname: "lint" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
--- | ||
name: sanity tests | ||
|
||
on: [workflow_call] # allow this workflow to be called from other workflows | ||
|
||
jobs: | ||
sanity: | ||
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.14", | ||
"python-version": "3.12" | ||
}, | ||
{ | ||
"ansible-version": "stable-2.15", | ||
"python-version": "3.7" | ||
}, | ||
{ | ||
"ansible-version": "stable-2.15", | ||
"python-version": "3.8" | ||
}, | ||
{ | ||
"ansible-version": "stable-2.15", | ||
"python-version": "3.12" | ||
}, | ||
{ | ||
"ansible-version": "stable-2.16", | ||
"python-version": "3.7" | ||
}, | ||
{ | ||
"ansible-version": "stable-2.16", | ||
"python-version": "3.8" | ||
}, | ||
{ | ||
"ansible-version": "stable-2.16", | ||
"python-version": "3.9" | ||
}, | ||
{ | ||
"ansible-version": "milestone", | ||
"python-version": "3.7" | ||
}, | ||
{ | ||
"ansible-version": "milestone", | ||
"python-version": "3.8" | ||
}, | ||
{ | ||
"ansible-version": "milestone", | ||
"python-version": "3.9" | ||
}, | ||
{ | ||
"ansible-version": "milestone", | ||
"python-version": "3.12" | ||
}, | ||
{ | ||
"ansible-version": "devel", | ||
"python-version": "3.7" | ||
}, | ||
{ | ||
"ansible-version": "devel", | ||
"python-version": "3.8" | ||
}, | ||
{ | ||
"ansible-version": "devel", | ||
"python-version": "3.9" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.