Skip to content

Commit ddf134d

Browse files
authored
Merge branch 'master' into DOC-1822
2 parents 5becc1c + 2708c83 commit ddf134d

File tree

37 files changed

+1976
-1316
lines changed

37 files changed

+1976
-1316
lines changed

.github/actions/build-cached-cves/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ runs:
5858
- name: Slack Notification
5959
uses: rtCamp/[email protected]
6060
env:
61-
SLACK_WEBHOOK: ${{ inputs.slack-webhook }}
61+
SLACK_WEBHOOK: ${{ secrets.SLACK_PRIVATE_TEAM_WEBHOOK }}
6262
SLACK_USERNAME: "spectromate"
6363
SLACK_ICON_EMOJI: ":robot_panic:"
6464
SLACK_COLOR: ${{ job.status }}

.github/workflows/clean-up-unused-images.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# This workflow removed unused images from the repository and creates a PR to clean them up.
2-
# The workflow runs on the first day of every month at 2 am UTC.
2+
# The workflow runs on the first day of every month at 12PM UTC.
33
# Any image that is not referenced in the repository is considered unused.
44
# This workflow supports on-demand execution using the workflow_dispatch event.
55

66
name: Clean Up Unused Images
77

88
on:
99
schedule:
10-
# On the first of every month at 2 am
11-
- cron: '0 2 1 * *'
10+
# On the first of every month at 12 PM UTC
11+
- cron: '0 12 1 * *'
1212
workflow_dispatch:
1313

1414
concurrency:

.github/workflows/release.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ on:
2020
description: 'Use the GitHub-hosted large runner. Allowed values are true or false. Caution - this results in additional charges to the organization.'
2121
required: false
2222
default: 'false'
23+
securityAdvisoryPublished:
24+
description: 'Indicates if a security advisory has been published. Provide the title of the security advisory if true, otherwise leave empty. Example: Security Advisory 007- MongoDB zlib Compression Memory'
25+
required: false
26+
default: ''
2327

2428
env:
2529
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -171,6 +175,51 @@ jobs:
171175
SLACKIFY_MARKDOWN: true
172176
ENABLE_ESCAPES: true
173177
SLACK_MESSAGE: "The large runner release job for `${{ github.workflow }}` in `${{ github.repository }}` failed at step: `${{ env.CURRENT_STEP }}`. [View details](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
178+
179+
post-security-advisory:
180+
name: "Post Security Advisory Notification"
181+
if: always() && (needs.build-large-runner.result == 'success' || needs.build-self-hosted-runner.result == 'success') && github.event_name == 'workflow_dispatch' && github.event.inputs.securityAdvisoryPublished != ''
182+
needs: [build-self-hosted-runner,build-large-runner]
183+
runs-on: ubuntu-latest
184+
steps:
185+
- name: Slugify Security Advisory Title
186+
id: slugify
187+
run: |
188+
echo "CURRENT_STEP=Security Advisory URL" >> $GITHUB_ENV
189+
SECURITY_ADVISORY_PUBLISHED="${{ github.event.inputs.securityAdvisoryPublished }}"
190+
# Create a slug by converting to lowercase, removing periods and colons, and replacing spaces and special characters with hyphens
191+
SLUG=$(echo "$SECURITY_ADVISORY_PUBLISHED" \
192+
| tr '[:upper:]' '[:lower:]' \
193+
| sed 's/\.//g' \
194+
| sed 's/\://g' \
195+
| sed 's/[^a-z0-9-]/-/g')
196+
SECURITY_ADVISORY_URL="https://docs.spectrocloud.com/security-bulletins/security-advisories/#${SLUG}"
197+
echo "Security Advisory URL: ${SECURITY_ADVISORY_URL}"
198+
# Export the URL as a step output so later steps can read it
199+
echo "security_advisory_url=${SECURITY_ADVISORY_URL}" >> "$GITHUB_OUTPUT"
200+
201+
- name: Notify Slack
202+
uses: rtCamp/[email protected]
203+
env:
204+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
205+
SLACK_USERNAME: "spectromate"
206+
SLACK_ICON_EMOJI: ":robot_panic:"
207+
SLACK_COLOR: "#1E90FF"
208+
SLACK_MESSAGE: |
209+
:information_source: *<${{ steps.slugify.outputs.security_advisory_url }}|${{ github.event.inputs.securityAdvisoryPublished }}>* has just been published!
210+
211+
- name: Slack Notification on Failure
212+
if: ${{ failure() }}
213+
uses: rtCamp/[email protected]
214+
env:
215+
SLACK_WEBHOOK: ${{ secrets.SLACK_PRIVATE_TEAM_WEBHOOK }}
216+
SLACK_USERNAME: "spectromate"
217+
SLACK_ICON_EMOJI: ":robot_panic:"
218+
SLACK_COLOR: "danger"
219+
SLACKIFY_MARKDOWN: true
220+
ENABLE_ESCAPES: true
221+
SLACK_MESSAGE: "The post-security-advisory job for `${{ github.workflow }}` in `${{ github.repository }}` failed at step: `${{ env.CURRENT_STEP }}`. [View details](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})."
222+
174223

175224
release:
176225
name: "Release"

.github/workflows/spellcheck-report.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# This workflow runs the set of core vale checks on the entire repo.
2-
# The workflow runs every Monday at 8 am UTC.
2+
# The workflow runs every Monday at 4PM UTC.
33
# This workflow supports on-demand execution using the workflow_dispatch event.
44

55
name: Spellcheck Entire Librarium
66
on:
77
schedule:
8-
# Every Monday at 8AM UTC
9-
- cron: '0 8 * * 1'
8+
# Every Monday at 4PM UTC
9+
- cron: '0 16 * * 1'
1010
workflow_dispatch:
1111

1212
concurrency:

.github/workflows/url-checks.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# This workflow scans the markdown files in the repository for broken URLs.
22
# Additional logic is added to the Make command verify-rate-limited-links-ci to check for rate-limited URLs, including guidance on what domains to ignore.
3-
# The workflow is scheduled to run every Monday at 6 am.
3+
# The workflow is scheduled to run every Monday at 2PM UTC.
44

55
on:
66
schedule:
7-
# Every Monday at 6 am
8-
- cron: '0 6 * * 1'
7+
# Every Monday at 2PM UTC
8+
- cron: '0 14 * * 1'
99
workflow_dispatch:
1010

1111

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build
66

77
# Generated files
88
.docusaurus
9-
.cache-loader
9+
.cache-loaderx
1010

1111
# Misc
1212
.env
@@ -37,8 +37,10 @@ palette-docs.pdf
3737

3838
docs/api-content/api-docs/v1/*.mdx
3939
docs/api-content/api-docs/v1/sidebar.*
40+
docs/api-content/api-docs/v1/*.json
4041
docs/api-content/api-docs/edge-v1/*.mdx
4142
docs/api-content/api-docs/edge-v1/sidebar.*
43+
docs/api-content/api-docs/edge-v1/*.json
4244

4345
# Security Bulletins (Autogenerated)
4446

_partials/self-hosted/feature-flags/_feature-flags-intro.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The following table lists all available feature flags and their supported platfo
1717
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-----------------: | :------------------------: |
1818
| **AwsSecretPartition** | Configure [AWS Secret Cloud](https://aws.amazon.com/federal/secret-cloud/) and [AWS Top Secret Cloud](https://aws.amazon.com/federal/top-secret-cloud/) accounts and deploy EKS clusters in AWS Secret and Top Secret clouds. Refer to our [Register and Manage AWS Accounts](/clusters/public-cloud/aws/add-aws-accounts) guide for more information. | :x: | :white_check_mark: |
1919
| **AzureUSSecretCloud** | Configure [Azure Government Secret cloud](https://azure.microsoft.com/en-us/explore/global-infrastructure/government/national-security) accounts and deploy Azure IaaS clusters in Azure Government Secret cloud. Refer to our [Register and Manage Azure Accounts](/clusters/public-cloud/azure/azure-cloud/#azure-government-secret-cloud) guide for more information. | :x: | :white_check_mark: |
20-
| **LxdMaas** | Spawn multiple control plane nodes as LXD VMs and consolidate them on MAAS-managed servers while your worker nodes run on bare metal devices. Refer to our [Create and Manage MAAS Clusters Using LXD VMs](/clusters/data-center/maas/create-manage-maas-lxd-clusters/) /> guide for more information. | :white_check_mark: | :white_check_mark: |
20+
| **LxdMaas** | Spawn multiple control plane nodes as LXD VMs and consolidate them on MAAS-managed servers while your worker nodes run on bare metal devices. Refer to our [Create and Manage MAAS Clusters Using LXD VMs](/clusters/data-center/maas/create-manage-maas-lxd-clusters/) guide for more information. | :white_check_mark: | :white_check_mark: |
2121
| **ApacheCloudStack** | Allows for the creation of workloads on Apache CloudStack. Refer to our [Create and Manage Apache CloudStack Clusters](/clusters/data-center/cloudstack/create-manage-cloudstack-clusters/) guide for more information. | :white_check_mark: | :white_check_mark: |
2222

2323

0 commit comments

Comments
 (0)