Skip to content

Commit

Permalink
added --break-system-packages to the pip commands in both test instal…
Browse files Browse the repository at this point in the history
…lation assistant workflows
  • Loading branch information
CarlosALgit committed Oct 14, 2024
1 parent 1680666 commit cfd7a0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Test_installation_assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
echo "COMPOSITE_NAME=$COMPOSITE_NAME" >> $GITHUB_ENV
- name: Install Ansible
run: sudo apt-get update && sudo apt install -y python3 && python3 -m pip install --user ansible-core==2.16
run: sudo apt-get update && sudo apt install -y python3 && python3 -m pip install --user ansible-core==2.16 --break-system-packages

- name: Set up AWS credentials
uses: aws-actions/configure-aws-credentials@v4
Expand All @@ -138,7 +138,7 @@ jobs:
path: wazuh-automation

- name: Install and set allocator requirements
run: pip3 install -r wazuh-automation/deployability/deps/requirements.txt
run: pip3 install -r wazuh-automation/deployability/deps/requirements.txt --break-system-packages

- name: Allocate instance test and set SSH variables
id: allocator_instance
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test_installation_assistant_distributed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
echo "COMPOSITE_NAME=$COMPOSITE_NAME" >> $GITHUB_ENV
- name: Install Ansible
run: sudo apt-get update && sudo apt install -y python3 && python3 -m pip install --user ansible-core==2.16 && pip install pyyaml && ansible-galaxy collection install community.general
run: sudo apt-get update && sudo apt install -y python3 && python3 -m pip install --user ansible-core==2.16 --break-system-packages && pip install pyyaml --break-system-packages && ansible-galaxy collection install community.general

- name: Set up AWS credentials
uses: aws-actions/configure-aws-credentials@v4
Expand All @@ -140,7 +140,7 @@ jobs:
path: wazuh-automation

- name: Install and set allocator requirements
run: pip3 install -r wazuh-automation/deployability/deps/requirements.txt
run: pip3 install -r wazuh-automation/deployability/deps/requirements.txt --break-system-packages

- name: Allocate instances and create inventory
id: allocator_instance
Expand Down

0 comments on commit cfd7a0f

Please sign in to comment.