-
Notifications
You must be signed in to change notification settings - Fork 231
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
CI: Implement GitHub action cache in pull-request-management workflow (WORK IN PROGRESS) #4778
base: devel
Are you sure you want to change the base?
CI: Implement GitHub action cache in pull-request-management workflow (WORK IN PROGRESS) #4778
Conversation
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-4778
# Activate the virtual environment
source test-avd-pr-4778/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/Shivani-gslab/avd.git@github_cache_tests#subdirectory=python-avd" --force
# Point Ansible collections path to the Python virtual environment
export ANSIBLE_COLLECTIONS_PATH=$VIRTUAL_ENV/ansible_collections
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/Shivani-gslab/avd.git#/ansible_collections/arista/avd/,github_cache_tests --force
# Optional: Install AVD examples
cd test-avd-pr-4778
ansible-playbook arista.avd.install_examples |
577ca00
to
4adc10e
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Quality Gate passedIssues Measures |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
a20b780
to
431d36b
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
3dbeea2
to
7cb6f37
Compare
7cb6f37
to
af9b453
Compare
3ab9229
to
21a0d9a
Compare
97bdbc8
to
a0e43d0
Compare
Change Summary
WORK IN PROGRESS
Implementing github action cache for pull-request-management workflow.
Testing multiple approaches here -
Points to be tested -
cache-hit
conditon works withsetup-python cache: pip
or not and do not skip package upgrade -> the condition does not work as expected.setup-python
action, else try usingactions/cache@v3
. --> its not working as expected.Related Issue(s)
Fixes #
Component(s) name
arista.avd.<role-name>
Proposed changes
How to test
Checklist
User Checklist
Repository Checklist