Skip to content

Commit

Permalink
chore: broken URL
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Apr 14, 2024
1 parent acce966 commit 61029be
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 23 deletions.
19 changes: 14 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,17 @@ pdf-local: ## Generate PDF from local docs
verify-url-links:
@echo "Checking for broken external URLs in markdown files..."
rm link_report.csv || echo "No report exists. Proceeding to scan step"
@npx linkinator "docs/**/*.md" --markdown --recurse --timeout 60000 --retry --retry-errors-count 3 \
@npx linkinator "docs/**/*.md" --markdown --recurse --timeout 60000 --retry --retry-errors-jitter --retry-errors-count 3 \
--skip "^https:\/\/docs\.spectrocloud\.com.*$$" \
--skip "^https:\/\/docs\.spectrocloud\.com\/.*\/supplemental\-packs$$" \
--skip "^http:\/\/docs\.spectrocloud\.com.*$$" \
--skip "^https:\/\/software-private\.spectrocloud\.com.*$$" \
--skip "^\/.*\.md$$" \
--skip "!\[.*\]\(.*\)$$" \
--skip "\.(jpg|jpeg|png|gif|webp)$$" \
--skip "https:\/\/linux\.die\.net\/man\/.*$$" \
--skip "https:\/\/mysql\.com\/.*\.*$$" \
--skip "https:\/\/dev\.mysql\.com\/doc/\.*$$" \
--format csv > temp_report.csv && sleep 2
@grep -E 'https?://' temp_report.csv > filtered_report.csv
@grep -E ',[[:space:]]*([4-9][0-9]{2}|[0-9]{4,}),' filtered_report.csv > link_report.csv && rm temp_report.csv filtered_report.csv
Expand All @@ -175,10 +178,16 @@ verify-url-links-ci: ## Check for broken URLs in production in a GitHub Actions
@echo "Checking for broken external URLs in CI environment..."
rm link_report.json || echo "No report exists. Proceeding to scan step"
@npx linkinator "docs/**/*.md" --markdown --recurse --timeout 60000 --retry --retry-errors-count 3 \
--skip '^https:\/\/docs\.spectrocloud\.com.*' \
--skip '^https:\/\/docs\.spectrocloud\.com\/.*\/supplemental\-packs' \
--skip '^http:\/\/docs\.spectrocloud\.com.*' \
--skip '^https:\/\/software-private\.spectrocloud\.com.*' \
--skip "^https:\/\/docs\.spectrocloud\.com.*$$" \
--skip "^https:\/\/docs\.spectrocloud\.com\/.*\/supplemental\-packs$$" \
--skip "^http:\/\/docs\.spectrocloud\.com.*$$" \
--skip "^https:\/\/software-private\.spectrocloud\.com.*$$" \
--skip "^\/.*\.md$$" \
--skip "!\[.*\]\(.*\)$$" \
--skip "\.(jpg|jpeg|png|gif|webp)$$" \
--skip "https:\/\/linux\.die\.net\/man\/.*$$" \
--skip "https:\/\/mysql\.com\/.*\.*$$" \
--skip "https:\/\/dev\.mysql\.com\/doc/\.*$$" \
--format json > temp_report.json
@# Use jq to filter out links that do not start with http or https and keep only broken links
@jq '[.links[] | select(.url | test("^https?://")) | select(.status >= 400)]' temp_report.json > filtered_report.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,7 @@ To complete this advanced guide, you will need the following items: <br />
- 8 GB memory
- 50 GB storage

- [Git](https://cli.github.com/manual/installation). You can ensure git installation by issuing the `git --version`
command.
- [Git](https://git-scm.com/downloads). You can ensure git installation by issuing the `git --version` command.

- [Docker Engine](https://docs.docker.com/engine/install/) version 18.09.x or later. You can use the `docker --version`
command to view the existing Docker version. You should have root-level or `sudo` privileges on your Linux machine to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ To complete this tutorial, you will need the following:
- 8 GB memory
- 50 GB storage

- [Git](https://cli.github.com/manual/installation). Ensure git installation by issuing the `git --version` command.
- [Git](https://git-scm.com/downloads). Ensure git installation by issuing the `git --version` command.

- [Docker Engine](https://docs.docker.com/engine/install/) version 18.09.x or later. You can use the `docker --version`
command to view the existing Docker version. You should have root-level or `sudo` privileges on your Linux machine to
Expand Down Expand Up @@ -487,7 +487,7 @@ is an explanation of the options and sub-command used below:
- The
`sh -c "source /edge/vmware/clone_vm_template/setenv.sh && bash /edge/vmware/clone_vm_template/delete-packer-cache.sh"`
shell sub-command deletes any pre-existing **packer_cache**. A known
[issue]((https://github.com/hashicorp/packer-plugin-vsphere/issues/55) with the Packer vSphere plugin causes checksum
[issue](https://github.com/hashicorp/packer-plugin-vsphere/issues/55) with the Packer vSphere plugin causes checksum
logic to ignore previous builds, and reuse previously created ISO found in the **packer_cache** folder. The delete
script removes any existing packer cache to prevent re-using a previously created ISO.

Expand Down
14 changes: 5 additions & 9 deletions docs/docs-content/devx/services/service-listings/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ logoUrl: "https://registry.dev.spectrocloud.com/v1/mysql-operator/blobs/sha256:2
tags: ["devx", "app mode", "pde", "databases"]
---

[MySQL](https://www.mysql.com/) is an open-source relational database management system commonly used in web
applications and other software that requires a database. It is known for its reliability, ease of use, and flexibility.
MySQL is covered under the GNU license and uses structured query language (SQL) to manage data with the following
properties:
[MySQL](https://mysql.com/) is an open-source relational database management system commonly used in web applications
and other software that requires a database. It is known for its reliability, ease of use, and flexibility. MySQL is
covered under the GNU license and uses structured query language (SQL) to manage data with the following properties:

- Creates a database for storing and manipulating data and defining the relationship of each table.

Expand Down Expand Up @@ -120,17 +119,14 @@ kubectl get secret app-tarfful-mysql-2-user \
#### Output

```shell hideClipboard
,U31nQ@T2tN4uM
****************
```

## Next Steps

You can add MySQL to your application profile and start integrating MySQL with your applications. To learn more about
integrating MySQL with your applications, check out the [MySQL](https://redis.io/docs/manual/) documentation from
Oracle.
integrating MySQL with your applications, check out the [MySQL](https://dev.mysql.com/doc/) documentation from Oracle.

## Resources

- [MySQL Documentation](https://dev.mysql.com/doc/)

- [MySQL Tutorial](https://dev.mysql.com/doc/refman/8.0/en/tutorial.html)
2 changes: 1 addition & 1 deletion docs/docs-content/devx/services/service-listings/vault.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ integrating Vault with your applications, check out the

- [HashiCorp Vault Tutorial](https://developer.hashicorp.com/vault/tutorials)

- [Bank-Vaults Vault Operator Helm Chart](https://github.com/banzaicloud/bank-vaults/tree/main/charts/vault-operator)
- [Bank-Vaults Vault Operator Helm Chart](https://github.com/bank-vaults/vault-helm-chart)
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ registries. To utilize the entire suite of packs we recommend adding both regist
[Add a Registry](../add-registry.md) for guidance. Our support team will provide the required credentials to access the
registries.

| **Registry** | **Type** | **Endpoint URL** | **FIPS** | **Base Path** |
| ------------------------------------ | -------- | ---------------------------------------------------- | -------- | ------------- |
| **OCI Pack Registry** | AWS ECR | https://415789037893.dkr.ecr.us-east-1.amazonaws.com | No | production |
| **Spectro Cloud Community Registry** | AWS ECR | https://415789037893.dkr.ecr.us-east-1.amazonaws.com | No | community |
| **Registry** | **Type** | **Endpoint URL** | **FIPS** | **Base Path** |
| ------------------------------------ | -------- | ------------------------------------------------------ | -------- | ------------- |
| **OCI Pack Registry** | AWS ECR | `https://415789037893.dkr.ecr.us-east-1.amazonaws.com` | No | production |
| **Spectro Cloud Community Registry** | AWS ECR | `https://415789037893.dkr.ecr.us-east-1.amazonaws.com` | No | community |

:::info

Expand Down

0 comments on commit 61029be

Please sign in to comment.