Skip to content

Commit 645ee5b

Browse files
authored
Merge branch 'main' into patch-1
2 parents ef9541a + 7b7cb94 commit 645ee5b

File tree

612 files changed

+58707
-8403
lines changed

Some content is hidden

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

612 files changed

+58707
-8403
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ content/includes/nginxaas-azure/* @nginx/n4a-docs-approvers
3737
content/ngf/* @nginx/nginx-gateway-fabric
3838
content/includes/ngf/* @nginx/nginx-gateway-fabric
3939

40+
# NGINX Ingress Controller
41+
content/nic/* @nginx/kic
42+
content/includes/nic/* @nginx/kic
43+
4044
# NGINX Instance Manager
4145
content/nms/nim/* @nginx/nim-docs-approvers
4246
content/nim/* @nginx/nim-docs-approvers

.github/about.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ product/nginxaas:
7373
- 'content/nginxaas-azure/**'
7474
- 'content/includes/nginxaas-azure/**'
7575

76+
product/nic:
77+
- changed-files:
78+
- any-glob-to-any-file:
79+
- 'content/nic/**'
80+
- 'content/includes/nic/**'
81+
7682
product/nim:
7783
- changed-files:
7884
- any-glob-to-any-file:

.github/workflows/build-push.yml

Lines changed: 47 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Build and deploy (docs)
22
on:
3+
repository_dispatch:
4+
types: [trigger-preview-build]
35
workflow_call:
46
inputs:
57
environment:
@@ -31,22 +33,22 @@ on:
3133
type: string
3234
pull_request:
3335
branches:
34-
- "*"
36+
- "**"
3537
push:
3638
branches:
3739
- "main"
3840

3941
env:
4042
FRONT_DOOR_USERNAME: ${{ secrets.FRONT_DOOR_USERNAME }}
4143
FRONT_DOOR_PASSWORD: ${{ secrets.FRONT_DOOR_PASSWORD }}
42-
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
44+
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
4345
jobs:
4446
prod-check-branch:
4547
runs-on: ubuntu-24.04
4648
steps:
4749
- name: Output variables
4850
run: |
49-
echo "Environment: ${{ inputs.environment }}"
51+
echo "Environment: ${{ inputs.environment || github.event.client_payload.environment }}"
5052
echo "Branch: ${{ github.ref }}"
5153
- name: Checks to see that main branch is selected if deploying to prod
5254
if: ${{ inputs.environment == 'prod' && github.ref != 'refs/heads/main' }}
@@ -56,21 +58,61 @@ jobs:
5658
5759
call-docs-build-push:
5860
needs: prod-check-branch
59-
uses: nginxinc/docs-actions/.github/workflows/docs-build-push.yml@9c59fab05a8131f4d691ba6ea2b6a119f3ef832a # v1.0.7
61+
uses: nginxinc/docs-actions/.github/workflows/docs-build-push.yml@cc69def33942d819719164723b35b5163d838276 # v1.0.9
6062
with:
6163
production_url_path: ""
6264
preview_url_path: "${{ vars.PREVIEW_URL_PATH }}"
6365
docs_source_path: "public"
6466
docs_build_path: "./"
6567
doc_type: "hugo"
66-
environment: ${{inputs.environment}}
68+
environment: ${{ inputs.environment || github.event.client_payload.environment }}
6769
force_hugo_theme_version: ${{inputs.hugo_theme_override}}
6870
auto_deploy_branch: "main"
6971
auto_deploy_env: "prod"
7072
secrets:
7173
AZURE_CREDENTIALS: ${{secrets.AZURE_CREDENTIALS_DOCS}}
7274
AZURE_KEY_VAULT: ${{secrets.AZURE_KEY_VAULT_DOCS}}
7375

76+
trigger-theme-slack-notification:
77+
if: github.event_name == 'repository_dispatch'
78+
needs: call-docs-build-push
79+
runs-on: ubuntu-latest
80+
permissions: read-all
81+
steps:
82+
- name: Send notification
83+
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
84+
with:
85+
status: custom
86+
custom_payload: |
87+
{
88+
username: 'Github',
89+
mention: 'channel',
90+
attachments: [{
91+
title: `New theme release - ${{ github.event.client_payload.release_name }}`,
92+
color: '#009223',
93+
fields: [
94+
{
95+
title: 'Tag',
96+
value: `${{ github.event.client_payload.tag_name }}`,
97+
short: true
98+
},
99+
{
100+
title: 'Author',
101+
value: `${{ github.event.client_payload.author }}`,
102+
short: true
103+
},
104+
{
105+
title: 'Preview URL',
106+
value: `${{ env.PREVIEW_URL }}`,
107+
short: true
108+
}]
109+
}]
110+
}
111+
env:
112+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_FRIENDS_OF_DOCS }}
113+
PREVIEW_URL: ${{ needs.call-docs-build-push.outputs.PREVIEW_URL }}
114+
115+
74116
lighthouseci:
75117
if: github.event.pull_request
76118
needs: call-docs-build-push

.github/workflows/check-broken-links.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/notification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ jobs:
7575
}]
7676
}
7777
env:
78-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
78+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DOCS_INCIDENT }}

.github/workflows/ossf_scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
persist-credentials: false
3535

3636
- name: Run analysis
37-
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
37+
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
3838
with:
3939
results_file: results.sarif
4040
results_format: sarif
@@ -56,6 +56,6 @@ jobs:
5656

5757
# Upload the results to GitHub's code scanning dashboard.
5858
- name: Upload SARIF results to code scanning
59-
uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
59+
uses: github/codeql-action/upload-sarif@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0
6060
with:
6161
sarif_file: results.sarif

CLOSED_CONTRIBUTIONS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To create closed content, add the closed repository as a remote to the main repo
3333
```shell
3434
cd documentation
3535
git remote add internal [email protected]:<closed-url>.git
36-
git fetch
36+
git fetch --all
3737
```
3838

3939
Check out the remote `main` branch, and use it to create a feature branch. **Ensure that you prefix all branch names with `internal/`**
@@ -64,4 +64,4 @@ git merge internal/internal/feature
6464
git push origin
6565
```
6666

67-
Once the content changes have been merged in the open repository, they will synchronize back to the closed repository.
67+
Once the content changes have been merged in the open repository, they will synchronize back to the closed repository.

_banners/agent-v3-release.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{{< banner "notice" "NGINX Agent 3.0 is now available" >}}
2+
3+
4+
F5 NGINX One Console does not currently support Agent 3.x. If you are using NGINX One Console in your environment, upgrade to the latest Agent 2.x version by following the [Upgrade NGINX Agent](/nginx-agent/installation-upgrade/upgrade/) guide.
5+
6+
Please see the [Technical specifications](/nginx-agent/technical-specifications/) for product compatibility.
7+
8+
9+
{{< /banner >}}

_banners/eos-cltr.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{{< banner "warning" "End of Sale Notice:" >}}
2+
<br>
3+
F5 NGINX is announcing the <strong>End of Sale (EoS)</strong> for NGINX Controller Application Delivery Module, <strong>effective January 1, 2024</strong>.
4+
<br><br>
5+
F5 maintains generous lifecycle policies that allow customers to continue support and receive product updates. Existing NGINX Controller Application Delivery customers can continue to use the product past the EoS date. <strong>License renewals are not available after September 30, 2024.</strong>
6+
<br><br>
7+
See our <a href="https://my.f5.com/manage/s/article/K000137993">End of Sale announcement</a> for more details
8+
{{</ banner >}}

0 commit comments

Comments
 (0)