Skip to content

Commit 2d4e0f7

Browse files
Merge branch 'main' into casey/helm-versioning-strategy
2 parents a1edb94 + d0a670e commit 2d4e0f7

141 files changed

Lines changed: 757 additions & 259 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/notify-about-deployment.yml

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Notify about production deployment
22

3-
# **What it does**: Posts a comment on the PR whose merge got into production.
3+
# **What it does**: Posts a comment on every PR in the deploy that got into
4+
# production. The merge queue can batch several PRs into one
5+
# deploy, so it walks back from the deployed commit to find
6+
# all of them.
47
# **Why we have it**: So that the PR author can be informed when their merged PR is in production.
58
# **Who does it impact**: Writers
69

@@ -38,38 +41,12 @@ jobs:
3841
- name: Sleep a little to give Fastly Purge a chance
3942
run: sleep 30
4043

41-
- name: Find last PR
42-
id: get-number
44+
- name: Find PRs and post production comments
4345
timeout-minutes: 5
4446
env:
4547
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }}
4648
run: npm run find-past-built-pr
4749

48-
- name: Find content directory changes comment
49-
if: ${{ steps.get-number.outputs.number != '' }}
50-
uses: peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad
51-
id: findComment
52-
with:
53-
issue-number: ${{ steps.get-number.outputs.number }}
54-
comment-author: 'github-actions[bot]'
55-
body-includes: '<!-- GONE_TO_PRODUCTION -->'
56-
57-
- name: Update comment
58-
if: ${{ steps.get-number.outputs.number != '' }}
59-
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9
60-
with:
61-
comment-id: ${{ steps.findComment.outputs.comment-id }}
62-
issue-number: ${{ steps.get-number.outputs.number }}
63-
body: |
64-
<!-- GONE_TO_PRODUCTION -->
65-
🚀 **This pull request has gone into production!**
66-
67-
The SHA of https://docs.github.com/_build matches the merge commit in this PR.
68-
69-
If you don't see updates when expected, try adding a random query string to the URL like `?bla=1234` and see if that helps.
70-
If that shows the expected content, it would indicate that the CDN is "overly caching" the page still. It will eventually update, but it can take a while.
71-
edit-mode: replace
72-
7350
- uses: ./.github/actions/slack-alert
7451
if: ${{ failure() }}
7552
with:

config/moda/deployment.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ environments:
1212

1313
# 15 staging environments, evergreens only
1414
# they should all contain the same configs
15+
# intentionally pinned to a single cluster via the `name` selector
16+
1517
- name: staging-balsam
1618
require_pipeline: false
1719
notify_still_locked: true # Notify last person to lock this after an hour
@@ -22,6 +24,7 @@ environments:
2224
cluster_selector:
2325
profile: general
2426
region: iad
27+
name: general-2-ash1-iad
2528
extra_completed_message: ':balsam: Review at https://docs-internal-staging-balsam.githubapp.com/'
2629

2730
- name: staging-boxwood
@@ -34,6 +37,7 @@ environments:
3437
cluster_selector:
3538
profile: general
3639
region: iad
40+
name: general-2-ash1-iad
3741
extra_completed_message: ':boxwood: Review at https://docs-internal-staging-boxwood.githubapp.com/'
3842

3943
- name: staging-cedar
@@ -46,6 +50,7 @@ environments:
4650
cluster_selector:
4751
profile: general
4852
region: iad
53+
name: general-2-ash1-iad
4954
extra_completed_message: ':cedar: Review at https://docs-internal-staging-cedar.githubapp.com/'
5055

5156
- name: staging-cypress
@@ -58,6 +63,7 @@ environments:
5863
cluster_selector:
5964
profile: general
6065
region: iad
66+
name: general-2-ash1-iad
6167
extra_completed_message: ':cypress: Review at https://docs-internal-staging-cypress.githubapp.com/'
6268

6369
- name: staging-fir
@@ -70,6 +76,7 @@ environments:
7076
cluster_selector:
7177
profile: general
7278
region: iad
79+
name: general-2-ash1-iad
7380
extra_completed_message: ':fir: Review at https://docs-internal-staging-fir.githubapp.com/'
7481

7582
- name: staging-hemlock
@@ -82,6 +89,7 @@ environments:
8289
cluster_selector:
8390
profile: general
8491
region: iad
92+
name: general-2-ash1-iad
8593
extra_completed_message: ':hemlock: Review at https://docs-internal-staging-hemlock.githubapp.com/'
8694

8795
- name: staging-hinoki
@@ -94,6 +102,7 @@ environments:
94102
cluster_selector:
95103
profile: general
96104
region: iad
105+
name: general-2-ash1-iad
97106
extra_completed_message: ':hinoki: Review at https://docs-internal-staging-hinoki.githubapp.com/'
98107

99108
- name: staging-holly
@@ -106,6 +115,7 @@ environments:
106115
cluster_selector:
107116
profile: general
108117
region: iad
118+
name: general-2-ash1-iad
109119
extra_completed_message: ':holly_: Review at https://docs-internal-staging-holly.githubapp.com/'
110120

111121
- name: staging-juniper
@@ -118,6 +128,7 @@ environments:
118128
cluster_selector:
119129
profile: general
120130
region: iad
131+
name: general-2-ash1-iad
121132
extra_completed_message: ':juniper: Review at https://docs-internal-staging-juniper.githubapp.com/'
122133

123134
- name: staging-laurel
@@ -130,6 +141,7 @@ environments:
130141
cluster_selector:
131142
profile: general
132143
region: iad
144+
name: general-2-ash1-iad
133145
extra_completed_message: ':laurel: Review at https://docs-internal-staging-laurel.githubapp.com/'
134146

135147
- name: staging-pine
@@ -142,6 +154,7 @@ environments:
142154
cluster_selector:
143155
profile: general
144156
region: iad
157+
name: general-2-ash1-iad
145158
extra_completed_message: ':pine: Review at https://docs-internal-staging-pine.githubapp.com/'
146159

147160
- name: staging-redwood
@@ -154,6 +167,7 @@ environments:
154167
cluster_selector:
155168
profile: general
156169
region: iad
170+
name: general-2-ash1-iad
157171
extra_completed_message: ':redwood: Review at https://docs-internal-staging-redwood.githubapp.com/'
158172

159173
- name: staging-sequoia
@@ -166,6 +180,7 @@ environments:
166180
cluster_selector:
167181
profile: general
168182
region: iad
183+
name: general-2-ash1-iad
169184
extra_completed_message: ':sequoia: Review at https://docs-internal-staging-sequoia.githubapp.com/'
170185

171186
- name: staging-spruce
@@ -178,6 +193,7 @@ environments:
178193
cluster_selector:
179194
profile: general
180195
region: iad
196+
name: general-2-ash1-iad
181197
extra_completed_message: ':spruce: Review at https://docs-internal-staging-spruce.githubapp.com/'
182198

183199
- name: staging-yew
@@ -190,6 +206,7 @@ environments:
190206
cluster_selector:
191207
profile: general
192208
region: iad
209+
name: general-2-ash1-iad
193210
extra_completed_message: ':yew: Review at https://docs-internal-staging-yew.githubapp.com/'
194211

195212
required_builds:

content/code-security/concepts/code-scanning/code-scanning-alert-tracking-using-issues.md renamed to content/code-security/concepts/code-scanning/alert-tracking-with-issues.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ versions:
88
contentType: concepts
99
category:
1010
- Find and fix code vulnerabilities
11+
redirect_from:
12+
- /code-security/concepts/code-scanning/code-scanning-alert-tracking-using-issues
1113
---
1214

1315
{% data reusables.code-scanning.alert-tracking-with-issues-preview-note %}

content/code-security/concepts/code-scanning/about-code-scanning-alerts.md renamed to content/code-security/concepts/code-scanning/code-scanning-alerts.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: About code scanning alerts
2+
title: Code scanning alerts
33
shortTitle: Code scanning alerts
44
intro: Learn about the different types of code scanning alerts and the information that helps you understand the problem each alert highlights.
55
permissions: '{% data reusables.permissions.code-scanning-all-alerts %}'
@@ -11,6 +11,7 @@ versions:
1111
redirect_from:
1212
- /code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts
1313
- /code-security/code-scanning/managing-code-scanning-alerts/about-code-scanning-alerts
14+
- /code-security/concepts/code-scanning/about-code-scanning-alerts
1415
contentType: concepts
1516
category:
1617
- Find and fix code vulnerabilities

content/code-security/concepts/code-scanning/about-code-scanning.md renamed to content/code-security/concepts/code-scanning/code-scanning.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: About code scanning
3-
shortTitle: Introduction
2+
title: Code scanning
3+
shortTitle: Code scanning
44
intro: You can use {% data variables.product.prodname_code_scanning %} to find security vulnerabilities and errors in the code for your project on {% data variables.product.prodname_dotcom %}.
55
product: '{% data reusables.gated-features.code-scanning %}'
66
redirect_from:
@@ -11,6 +11,7 @@ redirect_from:
1111
- /github/finding-security-vulnerabilities-and-errors-in-your-code/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning
1212
- /code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning
1313
- /code-security/code-scanning/introduction-to-code-scanning/about-code-scanning
14+
- /code-security/concepts/code-scanning/about-code-scanning
1415
versions:
1516
fpt: '*'
1617
ghes: '*'

content/code-security/concepts/code-scanning/codeql/about-the-codeql-cli.md renamed to content/code-security/concepts/code-scanning/codeql/codeql-cli.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: About the CodeQL CLI
2+
title: CodeQL CLI
33
shortTitle: CodeQL CLI
44
intro: You can use the {% data variables.product.prodname_codeql_cli %} to run {% data variables.product.prodname_codeql %} processes locally on software projects or to generate {% data variables.product.prodname_code_scanning %} results for upload to {% data variables.product.github %}.
55
product: '{% data reusables.gated-features.codeql %}'
@@ -22,6 +22,7 @@ redirect_from:
2222
- /code-security/codeql-cli/getting-started-with-the-codeql-cli/about-the-codeql-cli
2323
- /code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/advanced-setup-of-the-codeql-cli
2424
- /code-security/how-tos/scan-code-for-vulnerabilities/scan-from-the-command-line/advanced-setup-of-the-codeql-cli
25+
- /code-security/concepts/code-scanning/codeql/about-the-codeql-cli
2526
contentType: concepts
2627
category:
2728
- Customize vulnerability detection with CodeQL

content/code-security/concepts/code-scanning/codeql/about-code-scanning-with-codeql.md renamed to content/code-security/concepts/code-scanning/codeql/codeql-code-scanning.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
2-
title: About code scanning with CodeQL
2+
title: Code scanning with CodeQL
33
shortTitle: CodeQL code scanning
44
intro: You can use {% data variables.product.prodname_codeql %} to identify vulnerabilities and errors in your code. The results are shown as {% data variables.product.prodname_code_scanning %} alerts in {% data variables.product.prodname_dotcom %}.
55
product: '{% data reusables.gated-features.code-scanning %}'
66
redirect_from:
77
- /code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql
88
- /code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql
99
- /code-security/code-scanning/introduction-to-code-scanning/about-code-scanning-with-codeql
10+
- /code-security/concepts/code-scanning/codeql/about-code-scanning-with-codeql
1011
versions:
1112
fpt: '*'
1213
ghes: '*'

content/code-security/concepts/code-scanning/codeql/about-codeql-code-scanning-for-compiled-languages.md renamed to content/code-security/concepts/code-scanning/codeql/codeql-for-compiled-languages.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'About CodeQL code scanning for compiled languages'
2+
title: CodeQL code scanning for compiled languages
33
shortTitle: CodeQL for compiled languages
44
intro: Understand how {% data variables.product.prodname_codeql %} analyzes compiled languages, the build options available, and learn how you can customize the database generation process if you need to.
55
permissions: '{% data reusables.permissions.code-scanning-all-alerts %} if [advanced setup](/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/configuring-advanced-setup-for-code-scanning) is already enabled'
@@ -11,6 +11,8 @@ versions:
1111
contentType: concepts
1212
category:
1313
- Find and fix code vulnerabilities
14+
redirect_from:
15+
- /code-security/concepts/code-scanning/codeql/about-codeql-code-scanning-for-compiled-languages
1416
---
1517

1618
## About the {% data variables.code-scanning.codeql_workflow %} and compiled languages

content/code-security/concepts/code-scanning/codeql/about-codeql-for-vs-code.md renamed to content/code-security/concepts/code-scanning/codeql/codeql-for-vs-code.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: About CodeQL for VS Code
2+
title: CodeQL for VS Code
33
shortTitle: CodeQL for VS Code
44
versions:
55
fpt: '*'
@@ -10,6 +10,7 @@ intro: You can write, run, and test {% data variables.product.prodname_codeql %}
1010
redirect_from:
1111
- /code-security/codeql-for-vs-code/about-codeql-for-visual-studio-code
1212
- /code-security/codeql-for-vs-code/getting-started-with-codeql-for-vs-code/about-codeql-for-vs-code
13+
- /code-security/concepts/code-scanning/codeql/about-codeql-for-vs-code
1314
contentType: concepts
1415
category:
1516
- Customize vulnerability detection with CodeQL

content/code-security/concepts/code-scanning/codeql/about-codeql-workspaces.md renamed to content/code-security/concepts/code-scanning/codeql/codeql-workspaces.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: About CodeQL workspaces
2+
title: CodeQL workspaces
33
shortTitle: CodeQL workspaces
44
intro: '{% data variables.product.prodname_codeql %} workspaces let you develop and maintain multiple related {% data variables.product.prodname_codeql %} packs together, resolving dependencies between them directly from source.'
55
product: '{% data reusables.gated-features.codeql %}'
@@ -11,6 +11,7 @@ redirect_from:
1111
- /code-security/codeql-cli/about-codeql-workspaces
1212
- /code-security/codeql-cli/codeql-cli-reference/about-codeql-workspaces
1313
- /code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/about-codeql-workspaces
14+
- /code-security/concepts/code-scanning/codeql/about-codeql-workspaces
1415
contentType: concepts
1516
category:
1617
- Customize vulnerability detection with CodeQL

0 commit comments

Comments
 (0)