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

update readthedocs config and add installation docs #3436

Merged
merged 5 commits into from
Jun 13, 2023

Conversation

vishalvvr
Copy link
Member

  • update readthedocs config to support copy action in command palette.
  • add installation guide for pbench-agent via rpm, ansible and containers.
  • mapped end-to-end workflow page to index.rst
  • update docs/readme

Demo page

PBENCH-1152

@vishalvvr vishalvvr requested review from pravins and riya-17 May 25, 2023 05:00
@vishalvvr vishalvvr self-assigned this May 25, 2023
docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/assets/pbench_agent_install.yml Outdated Show resolved Hide resolved
docs/Agent/installation/rpm_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/rpm_based_installation.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
Copy link
Member

@dbutenhof dbutenhof left a comment

Choose a reason for hiding this comment

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

Thanks; a few more. 😆

docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/rpm_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/rpm_based_installation.md Outdated Show resolved Hide resolved
@riya-17 riya-17 self-requested a review May 31, 2023 07:12
docs/requirements.txt Outdated Show resolved Hide resolved
Comment on lines 43 to +46
"sphinx.ext.autosectionlabel",
"sphinx_design",
"myst_parser",
"sphinx_copybutton",
Copy link
Member

Choose a reason for hiding this comment

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

It would be good to keep these entries in order.

Copy link
Member

Choose a reason for hiding this comment

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

These still need to be ordered, e.g.

    "myst_parser",
    "sphinx.ext.autosectionlabel",
    "sphinx_copybutton",
    "sphinx_design",

docs/Agent/installation/rpm_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/rpm_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/rpm_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/assets/myhosts_.inv Outdated Show resolved Hide resolved
webbnh
webbnh previously approved these changes Jun 6, 2023
Copy link
Member

@webbnh webbnh left a comment

Choose a reason for hiding this comment

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

Looks good, although there are a couple more opportunities to polish.

In the following, we describe how to install Pbench Agent using an ansible playbook.

:::{note}
The same Pbench Agent version must be installed on all the test systems that participate in a benchmark run, there is no support for mixed installations.
Copy link
Member

Choose a reason for hiding this comment

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

I wasn't sufficiently specific...my apologies, @vishalvvr!

The comma at line 3 was fine; it's line 6 which needs the change. (Please change line 3 back.... 😊)

docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/rpm_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
siddardh-ra
siddardh-ra previously approved these changes Jun 7, 2023
Copy link
Member

@siddardh-ra siddardh-ra left a comment

Choose a reason for hiding this comment

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

Looks good 👍

riya-17
riya-17 previously approved these changes Jun 7, 2023
Copy link
Member

@dbutenhof dbutenhof left a comment

Choose a reason for hiding this comment

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

I agree that it'd be good to have a consistent style in referring to Ansible. I also found one link that bothers me; but otherwise this looks good.

docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
docs/Agent/installation/rpm_based_installation.md Outdated Show resolved Hide resolved
@ndokos ndokos self-requested a review June 8, 2023 12:24
@vishalvvr vishalvvr dismissed stale reviews from siddardh-ra, riya-17, and webbnh via 7a5beee June 9, 2023 12:51
riya-17
riya-17 previously approved these changes Jun 9, 2023
Copy link
Member

@dbutenhof dbutenhof left a comment

Choose a reason for hiding this comment

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

I resolved all my previous open conversations, but there's one you seem to have missed. Instead of just referring back to it on the old commit, I'm entering it again ...

docs/Agent/installation/ansible_based_installation.md Outdated Show resolved Hide resolved
siddardh-ra
siddardh-ra previously approved these changes Jun 9, 2023
Copy link
Member

@webbnh webbnh left a comment

Choose a reason for hiding this comment

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

I'm not going to hold the merge for them, but I've brought forward some of my comments from earlier in the review which are still open.

Comment on lines +13 to +19
2. Install the `pbench.agent` ANSIBLE collection from Ansible Galaxy.

```console
ansible-galaxy collection install pbench.agent
```

3. Tell ansible where to find these roles.
Copy link
Member

@webbnh webbnh Jun 9, 2023

Choose a reason for hiding this comment

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

Line 19 still references "ansible" with a spelling different from that used in lines 13, 11, and 3.

In the following, we describe how to install Pbench Agent using an ansible playbook.

:::{note}
The same Pbench Agent version must be installed on all the test systems that participate in a benchmark run, there is no support for mixed installations.
Copy link
Member

Choose a reason for hiding this comment

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

Line 3: remove the colon, and possibly remove the "In the following" phrase, since it's kind of obvious. If the result doesn't read well, try something like "This document describes" (which allows us to escape using the first-person pronoun).

Line 6: the comma should be replaced by a colon or m-dash (or period).

Comment on lines 43 to +46
"sphinx.ext.autosectionlabel",
"sphinx_design",
"myst_parser",
"sphinx_copybutton",
Copy link
Member

Choose a reason for hiding this comment

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

These still need to be ordered, e.g.

    "myst_parser",
    "sphinx.ext.autosectionlabel",
    "sphinx_copybutton",
    "sphinx_design",


:::{note}
- We release Pbench Agent RPMs under the `ndokos` COPR account with repos following the pattern `pbench-<release>`.
- There are some RPMs that are shared between versions (e.g. pbench-sysstat). We maintain those in [ndokos/pbench](https://copr.fedorainfracloud.org/coprs/ndokos/pbench) repo.
Copy link
Member

Choose a reason for hiding this comment

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

As per the earlier discussion, we should probably omit the hyperlink here. (If you want the user to be able to browse, we should direct them to the ndokos account page rather to any specific "project" under it; in terms of finding specific packages, that will be handled automagically one the user enables the repo using the DNF copr pluging, so the reader doesn't need the hyperlink for that.)

This text would read better if you inserted the word "the" before "nodokos".

I would put ndokos/pbench in monospace font.

- update readthedocs config to support copy action in command palette.
- add installation guide for pbench-agent via rpm, ansible and
  containers.
- mapped end-to-end workflow page to index.rst
- update docs/readme

Demo [link](https://pb-readthedocs.readthedocs.io/en/latest/Agent/installation/index.html)
@pravins pravins merged commit eb37ffc into distributed-system-analysis:main Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants