From 646c62e3e1179fcfae4cd64e6d6fe08514618c12 Mon Sep 17 00:00:00 2001 From: Aimee Ukasick Date: Tue, 17 Oct 2023 16:12:55 -0500 Subject: [PATCH 1/2] docs(jobs): add code block patterns to link check config --- .mlc_config.json | 12 ++++++++++++ content/en/deployment/kubernetes/argo-rollouts.md | 2 -- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.mlc_config.json b/.mlc_config.json index 51f6f394..c0dcb5cb 100644 --- a/.mlc_config.json +++ b/.mlc_config.json @@ -15,8 +15,20 @@ { "pattern": "^https:\/\/api.github.com" }, + { + "pattern": "((http([s]){0,1}:\/\/){0,1}(localhost|127.0.0.1){1}(([:]){0,1}[\0-9]{4}){0,1}\/{0,1}){1}" + }, { "pattern": "^#[a-zA-Z0-9-]*" + }, + { + "pattern": "(?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}})" + }, + { + "pattern": "(?s) *(\x60\x60\x60.*?\x60\x60\x60)" + }, + { + "pattern": "^https:\/\/twitter.com" } ], "aliveStatusCodes": [ diff --git a/content/en/deployment/kubernetes/argo-rollouts.md b/content/en/deployment/kubernetes/argo-rollouts.md index e16c433e..09f95896 100644 --- a/content/en/deployment/kubernetes/argo-rollouts.md +++ b/content/en/deployment/kubernetes/argo-rollouts.md @@ -110,7 +110,6 @@ See {{< linkWithTitle "reference/deployment/_index.md" >}} if you want to create You can use webhooks in `afterDeployment` constraints to add specific logic for Argo Rollouts to finish deploying before starting integration tests. For example: - {{< highlight yaml "linenos=table,hl_lines=9-12 15-28" >}} # armoryDeployment.yaml version: v1 @@ -141,7 +140,6 @@ webhooks: "callbackURL": "{{armory.callbackUri}}/callback" } {{< /highlight >}} - This example employs [cmd-hook](https://hub.docker.com/r/demoimages/cmd-hook), which is an open source service deployed in the cluster to execute `kubectl` commands. CD-as-a-Service employs RNA to execute `kubectl` commands for monitoring the state of rollout objects. You can view the source code for `cmd-hook` in the [public repository](https://github.com/stephenatwell/cmdHook). From 38f7d3c3e3dde453bb4120eff2a363e9357ca8df Mon Sep 17 00:00:00 2001 From: Aimee Ukasick Date: Tue, 17 Oct 2023 16:20:52 -0500 Subject: [PATCH 2/2] docs(jobs): nightly job - workflow clean up --- .github/workflows/markdown-link-check-nightly.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/markdown-link-check-nightly.yml b/.github/workflows/markdown-link-check-nightly.yml index a2cc575e..4fd636e2 100644 --- a/.github/workflows/markdown-link-check-nightly.yml +++ b/.github/workflows/markdown-link-check-nightly.yml @@ -1,11 +1,6 @@ name: Check Markdown Links Nightly on: - push: - branches: - - master - paths: - - '**.md' schedule: # Run everyday at 2:00 AM (See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07) - cron: "0 2 * * *"