Skip to content

Commit

Permalink
[CPCLOUD-4590] Build RPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
skafandri committed Nov 7, 2024
1 parent 458cbbb commit fd733d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agent360.spec
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ python3 -m build --sdist --wheel --outdir dist/
python3 -m venv %{VenvDir} && echo -e "\\e[32m [SUCCESS] Virtual environment has been created\\e[m"
. %{VenvDir}/bin/activate && echo -e "\\e[32m [SUCCESS] Virtual environment has been activated\\e[m"
# Install agent360 in virtual environment
pip3 install agent360 --upgrade --log INSTALLED_FILES && echo -e "\\e[32m [SUCCESS] Finished with agent360\\e[m"
pip3 install agent360 --upgrade && echo -e "\\e[32m [SUCCESS] Finished with agent360\\e[m"
echo /. > INSTALLED_FILES
deactivate
# Create a symlink for global access
ln -sf %{VenvDir}/bin/agent360 /usr/local/bin/agent360
Expand Down

0 comments on commit fd733d1

Please sign in to comment.