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

docs(job): fix nightly workflow to only run on schedule #84

Merged
merged 2 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/markdown-link-check-nightly.yml
Original file line number Diff line number Diff line change
@@ -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 * * *"
Expand Down
12 changes: 12 additions & 0 deletions .mlc_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 0 additions & 2 deletions content/en/deployment/kubernetes/argo-rollouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

<!-- markdown-link-check-disable -->
{{< highlight yaml "linenos=table,hl_lines=9-12 15-28" >}}
# armoryDeployment.yaml
version: v1
Expand Down Expand Up @@ -141,7 +140,6 @@ webhooks:
"callbackURL": "{{armory.callbackUri}}/callback"
}
{{< /highlight >}}
<!-- markdown-link-check-enable-->

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).

Expand Down