Skip to content

Commit

Permalink
Remove venv from collection build
Browse files Browse the repository at this point in the history
  • Loading branch information
WStechura committed Dec 19, 2024
1 parent d567abd commit a00f64a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ repository: https://github.com/Dynatrace/Dynatrace-OneAgent-Ansible
documentation: https://docs.dynatrace.com/docs/setup-and-configuration/dynatrace-oneagent/deployment-orchestration/ansible
build_ignore:
- .github
- .pre-commit-config.yaml
- .gitignore
- .pre-commit-config.yaml
- venv
3 changes: 1 addition & 2 deletions roles/oneagent/tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ Upon downloading the collection
$ apt-get install -y python3-venv python3-pip sshpass

# Create virtual environment
$ python -m venv venv
$ source venv/bin/activate
$ python -m venv venv && source venv/bin/activate

# Install requirements
$ pip install -r roles/oneagent/tests/requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ deployUninstallScript() {
}

applyConfig() {
"${INSTALL_DIR}/agent/tools/${ONEAGENTCTL_BIN}" "${CTL_PARAMS}"
# shellcheck disable=SC2086
"${INSTALL_DIR}/agent/tools/${ONEAGENTCTL_BIN}" ${CTL_PARAMS}
}

main() {
Expand Down

0 comments on commit a00f64a

Please sign in to comment.