-
Notifications
You must be signed in to change notification settings - Fork 374
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
[WIP] adding a new workflow to validate the FlexibleIPAM feature #6879
base: main
Are you sure you want to change the base?
Conversation
ccdc56f
to
ef95db6
Compare
- name: Load Antrea image | ||
run: | | ||
docker load -i antrea-ubuntu.tar | ||
- name: Install Kind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use GitHub Actions caching to avoid re-downloading tools like Kind in every run, which can save build time
uses: actions/download-artifact@v4 | ||
with: | ||
name: antrea-ubuntu-cov | ||
- name: Load Antrea image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: Validate Antrea image file
run: |
if [ ! -f antrea-ubuntu.tar ]; then
echo "Error: antrea-ubuntu.tar not found. Ensure the image artifact was downloaded correctly."
exit 1
fi
steps: | ||
- name: Free disk space | ||
# https://github.com/actions/virtual-environments/issues/709 | ||
run: | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mention specific disk space needed to run ipam tests in cncf runners
- name: Verify sufficient disk space
run: |
AVAILABLE_SPACE=$(df --output=avail / | tail -n1)
if [ "$AVAILABLE_SPACE" -lt 5000000 ]; then
echo "Insufficient disk space for the tests."
exit 1
fi
33a2b50
to
9486da3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title of the PR is misleading: we are adding a new workflow to validate the FlexibleIPAM feature. The fact that we use a non-default runner is an "implementation detail".
needs: [build-antrea-coverage-image] | ||
runs-on: [ubuntu-latest-4-cores] | ||
steps: | ||
- name: Free disk space |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove this step, unless you know that there is a shortage of disk space on these runners
5d9fdec
to
2a52628
Compare
Signed-off-by: KMAnju-2021 <[email protected]>
2a52628
to
c942fc0
Compare
#6887