Skip to content
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

PMM-12641 Cleanup server build scripts #3217

Open
wants to merge 4 commits into
base: v3
Choose a base branch
from

Conversation

ademidoff
Copy link
Member

@ademidoff ademidoff commented Sep 30, 2024

PMM-12641

Link to the Feature Build: SUBMODULES-3720

If this PR adds or removes or alters one or more API endpoints, please review and add or update the relevant API documents as well:

  • API Docs updated

If this PR is related to some other PRs in this or other repositories, please provide links to those PRs:

  • Links to related pull requests (optional).

@ademidoff ademidoff changed the base branch from main to v3 September 30, 2024 11:38
Copy link

codecov bot commented Sep 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.62%. Comparing base (5e6fc13) to head (5b8fd23).

Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #3217      +/-   ##
==========================================
+ Coverage   44.59%   44.62%   +0.03%     
==========================================
  Files         357      357              
  Lines       35719    35719              
==========================================
+ Hits        15929    15941      +12     
+ Misses      18167    18154      -13     
- Partials     1623     1624       +1     
Flag Coverage Δ
admin 11.52% <ø> (+0.05%) ⬆️
agent 52.94% <ø> (+0.13%) ⬆️
managed 46.69% <ø> (-0.01%) ⬇️
vmproxy 66.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -38,10 +30,21 @@ COPY pmm-client.tar.gz /tmp/
RUN install -T -p -m 644 /opt/ansible/ansible.cfg /etc/ansible/ansible.cfg && \
ansible-playbook -vvv -i 'localhost,' -c local /opt/ansible/pmm-docker/main.yml -e "pmm_running_in_docker=true" && \
ansible-playbook -vvv -i 'localhost,' -c local /opt/ansible/pmm-docker/update.yml -e "pmm_running_in_docker=true" && \
ansible-playbook -vvv -i 'localhost,' -c local /opt/ansible/pmm/post-build-actions.yml -e "pmm_running_in_docker=true"
ansible-playbook -vvv -i 'localhost,' -c local /opt/ansible/pmm/post-build-actions.yml -e "pmm_running_in_docker=true" && \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@talhabinrizwan FYI: I'm removing those pmm_running_in_docker vars as they don't seem to be used in v3.

@ademidoff ademidoff marked this pull request as ready for review October 1, 2024 08:26
@ademidoff ademidoff requested a review from a team as a code owner October 1, 2024 08:26
@ademidoff ademidoff requested review from BupycHuk, idoqo and talhabinrizwan and removed request for a team October 1, 2024 08:26
Comment on lines -39 to -41
ansible-playbook -vvv -i 'localhost,' -c local /opt/ansible/pmm-docker/main.yml -e "pmm_running_in_docker=true" && \
ansible-playbook -vvv -i 'localhost,' -c local /opt/ansible/pmm-docker/update.yml -e "pmm_running_in_docker=true" && \
ansible-playbook -vvv -i 'localhost,' -c local /opt/ansible/pmm/post-build-actions.yml -e "pmm_running_in_docker=true"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is pmm_running_in_docker used anywhere?

Copy link
Member Author

@ademidoff ademidoff Oct 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's still being used in v2, but not in v3 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants