Skip to content

Commit

Permalink
fix(ci): pip installation failures
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek committed Oct 16, 2024
1 parent 695ea3c commit 49cb4ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doc-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
./utils/check-category.py
- name: check Chinese doc
run: |
sudo pip3 install zhon
sudo pip3 install zhon --break-system-packages
./utils/fix-zh-doc-segment.py > \
/tmp/check.log 2>&1 || (cat /tmp/check.log && exit 1)
if grep "find broken newline in file: " /tmp/check.log; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4
- name: spell check
run: |
pip install codespell==2.1.0
pipx install codespell==2.1.0 --break-system-packages
# codespell considers some repo name in go.sum are misspelled
git grep --cached -l '' | grep -v go.sum |xargs codespell --ignore-words=.ignore_words
- name: Merge conflict
Expand Down
2 changes: 1 addition & 1 deletion ci/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ set_coredns() {

# override DNS configures
if [ -f "/etc/netplan/50-cloud-init.yaml" ]; then
sudo pip3 install yq
sudo pip3 install yq --break-system-packages

tmp=$(mktemp)
yq -y '.network.ethernets.eth0."dhcp4-overrides"."use-dns"=false' /etc/netplan/50-cloud-init.yaml | \
Expand Down

0 comments on commit 49cb4ac

Please sign in to comment.