-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'devel' into bump-5.1.0
- Loading branch information
Showing
135 changed files
with
2,714 additions
and
963 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
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 |
---|---|---|
|
@@ -12,6 +12,8 @@ env: | |
# Apparently it is set in secrets when running with debug | ||
ANSIBLE_VERBOSITY: ${{ secrets.ACTIONS_STEP_DEBUG && 3 || 0 }} | ||
AVD_NEVER_RUN_FROM_SOURCE: 1 | ||
PY_COLORS: 1 # allows molecule colors to be passed to GitHub Actions | ||
ANSIBLE_FORCE_COLOR: 1 # allows ansible colors to be passed to GitHub Actions | ||
|
||
jobs: | ||
file-changes: | ||
|
@@ -101,10 +103,6 @@ jobs: | |
- "3.12" | ||
- "3.13" | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3 | ||
uses: actions/setup-python@v5 | ||
|
@@ -136,10 +134,6 @@ jobs: | |
needs: [ file-changes ] | ||
if: needs.file-changes.outputs.config_gen == 'true' | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Run molecule action | ||
uses: arista-netdevops-community/[email protected] | ||
|
@@ -171,10 +165,6 @@ jobs: | |
needs: [ file-changes ] | ||
if: needs.file-changes.outputs.dhcp == 'true' | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Run molecule action | ||
uses: arista-netdevops-community/[email protected] | ||
|
@@ -240,10 +230,6 @@ jobs: | |
needs: [ file-changes ] | ||
if: needs.file-changes.outputs.eos_design == 'true' || needs.file-changes.outputs.config_gen == 'true' | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Build minimum requirements | ||
run: | | ||
|
@@ -285,10 +271,6 @@ jobs: | |
needs: [ file-changes ] | ||
if: needs.file-changes.outputs.cloudvision == 'true' | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Run molecule action | ||
uses: arista-netdevops-community/[email protected] | ||
|
@@ -325,10 +307,6 @@ jobs: | |
needs: [ file-changes ] | ||
if: needs.file-changes.outputs.eos_design == 'true' || needs.file-changes.outputs.validate_state == 'true' | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Run molecule action | ||
uses: arista-netdevops-community/[email protected] | ||
|
@@ -349,12 +327,7 @@ jobs: | |
name: Run ansible-test sanity validation | ||
runs-on: ubuntu-latest | ||
needs: [ file-changes ] | ||
# needs: [ molecule_eos_designs, molecule_cloudvision ] | ||
# if: needs.cloudvision.status != 'failed' && needs.molecule_eos_designs.status != 'failed' && needs.file-changes.outputs.plugins == 'true' | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3 | ||
uses: actions/setup-python@v5 | ||
|
@@ -363,7 +336,7 @@ jobs: | |
3.10 | ||
3.11 | ||
3.12 | ||
# 3.13 - Still waiting for support in ansible-test | ||
3.13 | ||
- name: 'Install Python requirements' | ||
run: | | ||
pip install "ansible-core<2.19.0" -r .github/requirements-ci.txt --upgrade | ||
|
@@ -377,9 +350,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [ file-changes ] | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3 | ||
uses: actions/setup-python@v5 | ||
|
@@ -399,16 +369,13 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [ file-changes ] | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: | | ||
3.12 | ||
# 3.13 - Still waiting for support in ansible-test | ||
3.13 | ||
- name: 'Install Python requirements' | ||
run: | | ||
pip install "ansible-core<2.19.0" -r .github/requirements-ci.txt --upgrade | ||
|
@@ -422,9 +389,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: [ file-changes ] | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3 | ||
uses: actions/setup-python@v5 | ||
|
@@ -449,8 +413,6 @@ jobs: | |
name: Test galaxy-importer | ||
runs-on: ubuntu-20.04 # Older version to be compatible with old python | ||
env: | ||
PY_COLORS: 1 # allows molecule colors to be passed to GitHub Actions | ||
ANSIBLE_FORCE_COLOR: 1 # allows ansible colors to be passed to GitHub Actions | ||
GALAXY_IMPORTER_CONFIG: galaxy-importer/galaxy-importer.cfg | ||
steps: | ||
- uses: actions/setup-python@v5 | ||
|
@@ -492,9 +454,6 @@ jobs: | |
matrix: | ||
python: ["3.10", "3.11", "3.12", "3.13"] | ||
steps: | ||
- name: 'Set environment variables' | ||
run: | | ||
echo "PY_COLORS=1" >> $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3 | ||
uses: actions/setup-python@v5 | ||
|
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.