-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'PMM-13487-build-pmm-locally' of github.com:percona/pmm …
- Loading branch information
Showing
633 changed files
with
22,787 additions
and
1,445 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
|
||
# Feature Name | ||
|
||
!!! caution alert alert-warning "Important/Caution" | ||
Crucial points that need emphasis: | ||
|
||
- Important: A significant point that deserves emphasis. | ||
- Caution: Used to mean 'Continue with care'. | ||
|
||
## What is feature_name? | ||
|
||
!!! note alert alert-primary "Note" | ||
Replace **feature_name** with the name of the feature. | ||
|
||
|
||
Describe the feature. | ||
|
||
## Prerequisites | ||
List the requirements before installing/configuring/using the feature. | ||
|
||
**Example** | ||
|
||
Install a particular software or utility. | ||
|
||
Configure the software or utility. | ||
|
||
## Before you begin | ||
|
||
Do specific settings in PMM for the feature to work as expected. | ||
|
||
|
||
## Installing/Configuring/Using feature_name | ||
|
||
!!! note alert alert-primary "Note" | ||
Replace **feature_name** with the name of the feature. | ||
|
||
Use numbered list to provide step by step instructions to install/confiigure/use the feature. Use just one instruction per step for clarity. | ||
|
||
Use images (optional) | ||
|
||
![!](../images/image_name.png) | ||
|
||
|
||
**Note, Info (Optional)** | ||
|
||
To give your users important or useful information that isn't part of the flow of the text, you can offset the information with a note. | ||
|
||
Preferred use is without the label (first form). | ||
|
||
|
||
!!! note alert alert-primary "" | ||
Note ... | ||
|
||
!!! note alert alert-primary "Note" | ||
Text ... | ||
|
||
!!! note alert alert-primary "Info" | ||
Text ... | ||
|
||
**Caution, Warning, Important** | ||
|
||
Uses same type but different label text: | ||
|
||
- Caution: Used to mean 'Continue with care'. | ||
|
||
- Important: A significant point that deserves emphasis. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
name: Percona Monitoring and Management <version> | ||
about: Release Notes Template for PMM | ||
|
||
--- | ||
|
||
| **Release date:** | [Month DD, YYYY] | | ||
| ----------------- | ----------------------------------------------------------------------------------------------- | | ||
| **Installation:** | [Installing Percona Monitoring and Management](https://www.percona.com/software/pmm/quickstart) | | ||
|
||
Percona Monitoring and Management (PMM) is an open source database monitoring, management, and observability solution for MySQL, PostgreSQL, and MongoDB. | ||
|
||
!!! caution alert alert-warning "Important/Caution" | ||
Crucial points that need emphasis: | ||
|
||
- Important: A significant point that deserves emphasis. | ||
- Caution: Used to mean 'Continue with care'. | ||
|
||
|
||
## Release Highlights | ||
|
||
|
||
### Release Highlights1 | ||
Description of the feature with a link to the documentation | ||
|
||
|
||
### Release Highlights2 | ||
Description of the feature with a link to the documentation | ||
|
||
Add more subsections for more release highlights. | ||
|
||
|
||
### Components Upgrade | ||
- List the components which are upgraded as part of the Release. | ||
|
||
## New Features | ||
|
||
- List of new features with a comprehensive description of the feature and link to the JIRA ticket. | ||
|
||
Example: | ||
|
||
[PMM-XXXX](https://jira.percona.com/browse/PMM-XXXX) - Comprehensive description. | ||
|
||
|
||
|
||
## Improvements | ||
|
||
- List of improvements with a comprehensive description and link to the JIRA ticket. | ||
|
||
Example: | ||
|
||
[PMM-XXXX](https://jira.percona.com/browse/PMM-XXXX) - Comprehensive description. | ||
|
||
|
||
## Bugs Fixed | ||
|
||
- List of bugs with a comprehensive description and link to the JIRA ticket. | ||
|
||
Example: | ||
|
||
[PMM-XXXX](https://jira.percona.com/browse/PMM-XXXX) - Comprehensive description. | ||
|
||
|
||
|
||
## Known issues | ||
|
||
- List of known issues with a comprehensive description and link to the JIRA ticket. | ||
|
||
Example: | ||
|
||
[PMM-XXXX](https://jira.percona.com/browse/PMM-XXXX) - Comprehensive description. | ||
|
||
|
||
**Solution** | ||
|
||
Description of the solution. | ||
|
||
|
||
## Coming Soon | ||
|
||
Share what are the upcoming features on your roadmap to keep users excited: | ||
|
||
- Planned item 1 | ||
- Planned item 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: PMM Docs 3.x | ||
|
||
on: | ||
push: | ||
branches: | ||
- v3 | ||
paths: | ||
- "documentation/**" | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
fetch-depth: 0 # read more about why this is necessary at https://github.com/jimporter/mike/issues/60 | ||
sparse-checkout: | | ||
.github | ||
documentation | ||
Makefile | ||
Makefile.include | ||
- name: Setup Python | ||
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | ||
with: | ||
python-version: '3.x' | ||
cache: 'pip' | ||
|
||
- name: Setup MkDocs | ||
working-directory: documentation | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install wheel | ||
test -f requirements.txt && pip install -r requirements.txt | ||
- name: Configure git | ||
env: | ||
ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }} | ||
run: | | ||
git config --global url."https://percona-platform-robot:${ROBOT_TOKEN}@github.com".insteadOf "https://github.com" | ||
git config user.name "GitHub Action" | ||
git config user.email "[email protected]" | ||
git config user.password "${ROBOT_TOKEN}" | ||
echo "GIT_USER=percona-platform-robot:${ROBOT_TOKEN}" >> $GITHUB_ENV | ||
- name: Check for unused images | ||
run: make doc-check-images | ||
|
||
# Builds Material-themed static web site in 'publish' branch | ||
- name: Build a themed site (3.x) | ||
working-directory: documentation | ||
run: | | ||
mike deploy 3 -b publish -p | ||
# Note: enable the next line after v3 GA | ||
# mike set-default 3 -b publish -p | ||
mike retitle 3 "3.x (BETA)" -b publish -p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Test helm.md | ||
|
||
on: | ||
push: | ||
branches: | ||
- v3 | ||
paths: | ||
- 'documentation/docs/install-pmm/install-pmm-server/baremetal/helm.md' | ||
pull_request: | ||
paths: | ||
- 'documentation/docs/install-pmm/install-pmm-server/baremetal/helm.md' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Install pandoc | ||
run: | | ||
wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb | ||
sudo apt-get install -y ./pandoc-2.18-1-amd64.deb | ||
- name: Copy test template | ||
run: cp documentation/resources/bin/doc_test_template.sh documentation/docs_test_helm.sh | ||
|
||
- name: Get CodeBlocks and push them to test template | ||
run: | | ||
pandoc -i documentation/docs/install-pmm/install-pmm-server/baremetal/helm.md --lua-filter documentation/resources/bin/CodeBlock.lua -t html -o /dev/null >> documentation/docs_test_helm.sh | ||
- name: Start k8s cluster | ||
run: minikube start | ||
|
||
- name: Setup storage driver for snapshots | ||
run: | | ||
minikube addons disable storage-provisioner | ||
kubectl delete storageclass standard | ||
minikube addons enable csi-hostpath-driver | ||
minikube addons enable volumesnapshots | ||
kubectl patch storageclass csi-hostpath-sc -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}' | ||
- name: Run helm tests | ||
run: ./documentation/docs_test_helm.sh | ||
|
||
- name: Get debug | ||
if: ${{ failure() }} | ||
run: | | ||
cat ./documentation/docs_test_helm.sh | ||
pandoc --version | ||
helm version | ||
kubectl get pods | ||
kubectl describe pod --selector=app.kubernetes.io/name=pmm || true | ||
kubectl get events --sort-by=lastTimestamp | ||
kubectl logs --all-containers --timestamps --selector=app.kubernetes.io/name=pmm || true |
Oops, something went wrong.