Skip to content

Commit

Permalink
address comments from PR
Browse files Browse the repository at this point in the history
  • Loading branch information
sugetha24 committed Apr 18, 2024
1 parent 97f9e31 commit c8101af
Showing 1 changed file with 36 additions and 5 deletions.
41 changes: 36 additions & 5 deletions .github/workflows/new-cvp-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ on: workflow_dispatch

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

jobs:
# ----------------------------------- #
# CV INTEGRATION MOLECULE TEST
# ----------------------------------- #
# ----------------------------------------------- #
# CV INTEGRATION MOLECULE TEST FOR CV_WORKFLOW #
# ----------------------------------------------- #
molecule_cv_workflow:
name: Run molecule test for new cvp integration
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,3 +39,36 @@ jobs:
ansible: ${{ matrix.ansible_version }}
check_git: true
check_git_enforced: true

# ------------------------------------------- #
# CV INTEGRATION MOLECULE TEST FOR CV_DEPLOY #
# ------------------------------------------- #
molecule_cv_deploy:
name: Run molecule test for new cvp integration
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
avd_scenario:
- 'cv_deploy'
ansible_version:
- 'ansible-core<2.17.0 --upgrade'
steps:
- name: 'Set environment variables'
run: |
echo "PY_COLORS=1" >> $GITHUB_ENV
echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV
- uses: actions/checkout@v3
- name: Run molecule action
env:
CVAAS_AAWG_CI: ${{ secrets.CVAAS_AAWG_CI }}
uses: arista-netdevops-community/action-molecule-avd@v1.7
with:
molecule_parentdir: 'ansible_collections/arista/avd'
molecule_command: 'test'
molecule_args: '--scenario-name ${{ matrix.avd_scenario }}'
pip_file: ansible_collections/arista/avd/requirements.txt
galaxy_file: "ansible_collections/arista/avd/collections.yml"
ansible: ${{ matrix.ansible_version }}
check_git: true
check_git_enforced: true

0 comments on commit c8101af

Please sign in to comment.