Skip to content

Commit b3a8077

Browse files
Merge branch 'main' into harshitchaudhary94/TF-30688-1-0-2-patch-release-notes
2 parents 37d06f7 + be65da5 commit b3a8077

File tree

1,919 files changed

+166069
-604
lines changed

Some content is hidden

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

1,919 files changed

+166069
-604
lines changed

.github/actions/reload-dev-portal/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ inputs:
2020
description: 'Revalidate token'
2121
required: true
2222
type: string
23+
bot-bypass-token:
24+
description: 'Bot bypass token'
25+
required: true
26+
type: string
2327

2428
runs:
2529
using: "composite"
@@ -73,8 +77,10 @@ runs:
7377
env:
7478
url: 'https://developer.hashicorp.com/api/revalidate/paths'
7579
auth: 'Authorization: Bearer ${{ inputs.revalidate-token }}'
80+
bot-bypass: '${{ inputs.bot-bypass-token }}'
7681
run: |
7782
curl -X POST "${{ env.url }}" \
7883
-H "${{ env.auth }}" \
7984
-H "Content-Type: application/json" \
85+
-H "X-BOT-BYPASS: ${{ env.bot-bypass }}" \
8086
-d '{"paths": ${{ steps.map-files.outputs.FILES_URLS }} }'

.github/labeler.yml

Lines changed: 107 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,77 @@
11
# Copyright (c) HashiCorp, Inc.
22
# SPDX-License-Identifier: BUSL-1.1
33

4+
# Add 'Boundary' label to changes under 'content/boundary'
5+
#
6+
# Label | Rule
7+
# --------------- | ------------------------------------------------------------
8+
# Boundary | Default; applies to all doc updates
9+
# Boundary | Updates on HCP Boundary in hcp-docs directory
10+
11+
Boundary:
12+
- any:
13+
- changed-files:
14+
- any-glob-to-any-file: [
15+
'content/boundary/**',
16+
'content/hcp-docs/content/docs/boundary/**'
17+
]
18+
19+
# Add 'Consul' label to changes under 'content/consul'
20+
#
21+
# Label | Rule
22+
# --------------- | ------------------------------------------------------------
23+
# Consul | Default; applies to all doc updates
24+
# Consul | Updates on HCP Consul in hcp-docs directory
25+
26+
Consul:
27+
- any:
28+
- changed-files:
29+
- any-glob-to-any-file: [
30+
'content/consul/**',
31+
'content/hcp-docs/content/docs/consul/**'
32+
]
33+
34+
# Add 'HCP' label to changes under 'content/hcp-docs'
35+
#
36+
# Label | Rule
37+
# --------------- | ------------------------------------------------------------
38+
# HCP | Default; applies to all doc updates
39+
40+
HCP:
41+
- any:
42+
- changed-files:
43+
- any-glob-to-any-file: [
44+
'content/hcp-docs/**'
45+
]
46+
47+
# Add 'Packer' label to changes under 'content/packer'
48+
#
49+
# Label | Rule
50+
# --------------- | ------------------------------------------------------------
51+
# Packer | Default; applies to all doc updates
52+
# Packer | Updates on HCP Packer in hcp-docs directory
53+
54+
Packer:
55+
- any:
56+
- changed-files:
57+
- any-glob-to-any-file: [
58+
'content/packer/**',
59+
'content/hcp-docs/content/docs/packer/**'
60+
]
61+
62+
# Add 'Sentinel' label to changes under 'content/sentinel'
63+
#
64+
# Label | Rule
65+
# --------------- | ------------------------------------------------------------
66+
# Sentinel | Default; applies to all doc updates
67+
68+
Sentinel:
69+
- any:
70+
- changed-files:
71+
- any-glob-to-any-file: [
72+
'content/sentinel/**'
73+
]
74+
475
# Add a Terraform label to changes under the related folders:
576
#
677
# Folder | Labels
@@ -66,19 +137,35 @@ TF Plugin Framework:
66137
'content/terraform-plugin-framework/**'
67138
]
68139

140+
# Add 'Vagrant' label to changes under 'content/vagrant'
141+
#
142+
# Label | Rule
143+
# --------------- | ------------------------------------------------------------
144+
# Vagrant | Default; applies to all doc updates
145+
# Vagrant | Updates on HCP Vagrant in hcp-docs directory
69146

70-
# Add 'Vault' label to changes under 'content/vault'
147+
Vagrant:
148+
- any:
149+
- changed-files:
150+
- any-glob-to-any-file: [
151+
'content/vagrant/**',
152+
'content/hcp-docs/content/docs/vagrant/**'
153+
]
154+
155+
# Add 'Vault' label to changes under 'content/vault', and 'content/hcp-docs/content/docs/vault'
71156
#
72157
# Label | Rule
73158
# --------------- | ------------------------------------------------------------
74159
# Vault | Default; applies to all doc updates
160+
# Vault | Updates on HCP Vault Dedicated in hcp-docs directory
75161
# Vault IC update | Updates on "Important changes" related docs
76162

77163
Vault:
78164
- any:
79165
- changed-files:
80166
- any-glob-to-any-file: [
81-
'content/vault/**'
167+
'content/vault/**',
168+
'content/hcp-docs/content/docs/vault/**'
82169
]
83170

84171
Vault IC:
@@ -91,6 +178,19 @@ Vault IC:
91178
'content/vault/*/content/docs/updates/lts-tracker.mdx'
92179
]
93180

181+
# Add 'Vault Radar' label to changes under 'content/hcp-docs/content/docs/vault-radar'
182+
#
183+
# Label | Rule
184+
# --------------- | ------------------------------------------------------------
185+
# Vault Radar | Default; applies to all doc updates
186+
187+
Vault Radar:
188+
- any:
189+
- changed-files:
190+
- any-glob-to-any-file: [
191+
'content/hcp-docs/content/docs/vault-radar/**'
192+
]
193+
94194
# Add 'WAF' label to changes under 'content/well-architected-framework'
95195
#
96196
# Label | Rule
@@ -104,15 +204,15 @@ WAF:
104204
'content/well-architected-framework/**'
105205
]
106206

107-
# Add 'Sentinel' label to changes under 'content/sentinel'
207+
# Add 'Waypoint' label to changes under 'content/hcp-docs/content/docs/waypoint'
108208
#
109209
# Label | Rule
110210
# --------------- | ------------------------------------------------------------
111-
# Sentinel | Default; applies to all doc updates
211+
# Waypoint | Default; applies to all doc updates
112212

113-
Sentinel:
213+
Waypoint:
114214
- any:
115215
- changed-files:
116216
- any-glob-to-any-file: [
117-
'content/sentinel/**'
118-
]
217+
'content/hcp-docs/content/docs/waypoint/**'
218+
]

.github/workflows/deploy-udr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ jobs:
5858
head_sha: ${{ github.event.after }}
5959
dev-portal-deploy-hook-prod: ${{ secrets.DEV_PORTAL_DEPLOY_HOOK_PROD }}
6060
revalidate-token: ${{ secrets.REVALIDATE_TOKEN }}
61+
bot-bypass-token: ${{ secrets.DEVELOPER_BOT_BYPASS_TOKEN }}

.github/workflows/force-reload-dev-portal.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ jobs:
3131
head_sha: ${{ inputs.head_sha }}
3232
dev-portal-deploy-hook-prod: ${{ secrets.DEV_PORTAL_DEPLOY_HOOK_PROD }}
3333
revalidate-token: ${{ secrets.REVALIDATE_TOKEN }}
34+
bot-bypass-token: ${{ secrets.DEVELOPER_BOT_BYPASS_TOKEN }}

content/sentinel/v0.13.x/content/sentinel/docs/language/loops.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ The body of a `for` statement creates a new
7272
[scope](/sentinel/language/scope). If a variable is assigned within
7373
the body of a for statement that isn't assigned in a parent scope,
7474
that variable will only exist for the duration of the body execution.
75+
If the variable exists in the parent scope, assigning the variable a
76+
value in the body of a `for` statement updates it in the parent
77+
scope.
7578

7679
Example:
7780

@@ -89,5 +92,5 @@ for list as value {
8992
a = 42
9093
}
9194
92-
print(a) // 18
95+
print(a) // 42
9396
```

content/sentinel/v0.14.x/content/sentinel/docs/language/loops.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ The body of a `for` statement creates a new
7272
[scope](/sentinel/language/scope). If a variable is assigned within
7373
the body of a for statement that isn't assigned in a parent scope,
7474
that variable will only exist for the duration of the body execution.
75+
If the variable exists in the parent scope, assigning the variable a
76+
value in the body of a `for` statement updates it in the parent
77+
scope.
7578

7679
Example:
7780

@@ -89,5 +92,5 @@ for list as value {
8992
a = 42
9093
}
9194
92-
print(a) // 18
95+
print(a) // 42
9396
```

content/sentinel/v0.15.x/content/sentinel/docs/language/loops.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ The body of a `for` statement creates a new
7272
[scope](/sentinel/language/scope). If a variable is assigned within
7373
the body of a for statement that isn't assigned in a parent scope,
7474
that variable will only exist for the duration of the body execution.
75+
If the variable exists in the parent scope, assigning the variable a
76+
value in the body of a `for` statement updates it in the parent
77+
scope.
7578

7679
Example:
7780

@@ -89,5 +92,5 @@ for list as value {
8992
a = 42
9093
}
9194
92-
print(a) // 18
95+
print(a) // 42
9396
```

content/sentinel/v0.16.x/content/sentinel/docs/language/loops.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ The body of a `for` statement creates a new
7272
[scope](/sentinel/language/scope). If a variable is assigned within
7373
the body of a for statement that isn't assigned in a parent scope,
7474
that variable will only exist for the duration of the body execution.
75+
If the variable exists in the parent scope, assigning the variable a
76+
value in the body of a `for` statement updates it in the parent
77+
scope.
7578

7679
Example:
7780

@@ -89,5 +92,5 @@ for list as value {
8992
a = 42
9093
}
9194
92-
print(a) // 18
95+
print(a) // 42
9396
```

content/sentinel/v0.17.x/content/sentinel/docs/language/loops.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ The body of a `for` statement creates a new
7272
[scope](/sentinel/language/scope). If a variable is assigned within
7373
the body of a for statement that isn't assigned in a parent scope,
7474
that variable will only exist for the duration of the body execution.
75+
If the variable exists in the parent scope, assigning the variable a
76+
value in the body of a `for` statement updates it in the parent
77+
scope.
7578

7679
Example:
7780

@@ -89,5 +92,5 @@ for list as value {
8992
a = 42
9093
}
9194
92-
print(a) // 18
95+
print(a) // 42
9396
```

content/sentinel/v0.18.x/content/sentinel/docs/language/loops.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ The body of a `for` statement creates a new
7171
[scope](/sentinel/language/scope). If a variable is assigned within
7272
the body of a for statement that isn't assigned in a parent scope,
7373
that variable will only exist for the duration of the body execution.
74+
If the variable exists in the parent scope, assigning the variable a
75+
value in the body of a `for` statement updates it in the parent
76+
scope.
7477

7578
Example:
7679

@@ -88,5 +91,5 @@ for list as value {
8891
a = 42
8992
}
9093
91-
print(a) // 18
94+
print(a) // 42
9295
```

0 commit comments

Comments
 (0)