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

Refactor(eos_cli_config_gen): Move eos_cli_config_gen to pyavd #4117

Merged
merged 35 commits into from
Jun 19, 2024

Conversation

gmuloc
Copy link
Contributor

@gmuloc gmuloc commented Jun 14, 2024

Change Summary

Move eos_cli_config_gen to PyAVD

Component(s) name

pyavd

Proposed changes

  • Move all templates but custom templates to PyAVD

How to test

molecule goes through

Checklist

User Checklist

  • Need to be able to recompile templates seamlessly while developing
    introduced a pre-commit hook. Probably need to document how to use it as it has some caveat (e.g. if you make a change, compile via the hook, rollback the change and use pre-commit, nothing happens because no change to j2 as compared to HEAD)

Repository Checklist

  • My code has been rebased from devel before I start
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • I have updated molecule CI testing accordingly. (check the box if not applicable)

Copy link

Review docs on Read the Docs

To test this pull request:

# Create virtual environment for this testing below the current directory
python -m venv test-avd-pr-4117
# Activate the virtual environment
source test-avd-pr-4117/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/gmuloc/avd.git@move-eos-cli-config-gen-pyavd#subdirectory=python-avd" --force
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/gmuloc/avd.git#/ansible_collections/arista/avd/,move-eos-cli-config-gen-pyavd --force
# Optional: Install AVD examples
cd test-avd-pr-4117
ansible-playbook arista.avd.install_examples

@github-actions github-actions bot added type: documentation Improvements or additions to documentation role: eos_cli_config_gen issue related to eos_cli_config_gen role state: CI Updated CI scenario have been updated in the PR labels Jun 14, 2024
@github-actions github-actions bot added the state: conflict PR with conflict label Jun 14, 2024
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the state: conflict PR with conflict label Jun 14, 2024
Copy link

Conflicts have been resolved. A maintainer will review the pull request shortly.

Copy link

sonarcloud bot commented Jun 14, 2024

Quality Gate Passed Quality Gate passed

Issues
6 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@github-actions github-actions bot added the type: code quality CI and development toolset label Jun 17, 2024
@gmuloc gmuloc added this to the v4.9.0 milestone Jun 18, 2024
@github-actions github-actions bot added the state: conflict PR with conflict label Jun 18, 2024
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Copy link

Conflicts have been resolved. A maintainer will review the pull request shortly.

@github-actions github-actions bot removed the state: conflict PR with conflict label Jun 18, 2024
@gmuloc gmuloc marked this pull request as ready for review June 19, 2024 12:21
@gmuloc gmuloc requested review from a team as code owners June 19, 2024 12:21
@ClausHolbechArista ClausHolbechArista added the one approval This PR has one approval and is only missing one more. label Jun 19, 2024
gmuloc and others added 2 commits June 19, 2024 16:14
Copy link
Member

@carlbuchmann carlbuchmann left a comment

Choose a reason for hiding this comment

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

LGTM

@gmuloc gmuloc merged commit d594e6f into aristanetworks:devel Jun 19, 2024
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
one approval This PR has one approval and is only missing one more. rn: Refactor(eos_cli_config_gen) role: eos_cli_config_gen issue related to eos_cli_config_gen role state: CI Updated CI scenario have been updated in the PR type: code quality CI and development toolset type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants