Skip to content

Commit 07df9c0

Browse files
authored
Merge branch 'main' into docs-613-service-intelligence-beta
2 parents 77fe78c + ff4f633 commit 07df9c0

File tree

3,594 files changed

+14806
-3961
lines changed

Some content is hidden

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

3,594 files changed

+14806
-3961
lines changed

.clabot

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,12 @@
185185
"snyk-bot",
186186
"stephenthedev",
187187
"Apoorvkudesia-sumologic",
188-
"ntanwar-sumo"
188+
"ntanwar-sumo",
189+
"aj-sumo",
190+
"samiura",
191+
"naveenrama",
192+
"fguimond",
193+
"rmeyer-legato"
189194
],
190195
"message": "Thank you for your contribution! As this is an open source project, we require contributors to sign our Contributor License Agreement and do not have yours on file. To proceed with your PR, please [sign your name here](https://forms.gle/YgLddrckeJaCdZYA6) and we will add you to our approved list of contributors.",
191196
"label": "cla-signed",
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: deploy-to-pantheon
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build-and-deploy-to-pantheon:
13+
runs-on: ubuntu-latest
14+
environment:
15+
name: production
16+
url: https://www.sumologic.com/
17+
env:
18+
CI: true
19+
NODE_ENV: production
20+
NODE_OPTIONS: "--max-old-space-size=8192 --max-http-header-size=8192"
21+
HOSTNAME: https://www.sumologic.com
22+
BASE_URL: /help/
23+
steps:
24+
- uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
- name: Install SSH key
28+
uses: shimataro/ssh-key-action@v2
29+
with:
30+
key: ${{ secrets.PANTHEON_SSH_KEY }}
31+
config: |
32+
Host *.drush.in
33+
StrictHostKeyChecking no
34+
known_hosts: ${{ secrets.PANTHEON_KNOWN_HOSTS }}
35+
- name: Setup PHP
36+
uses: shivammathur/setup-php@v2
37+
with:
38+
php-version: "8.2"
39+
- name: Install Terminus
40+
uses: pantheon-systems/terminus-github-actions@v1
41+
with:
42+
pantheon-machine-token: ${{ secrets.PANTHEON_MACHINE_TOKEN }}
43+
- name: Set up Node.js
44+
uses: actions/setup-node@v3
45+
with:
46+
node-version: '20.x'
47+
cache: 'yarn'
48+
- name: Docusaurus Webpack cache
49+
uses: actions/cache@v3
50+
with:
51+
path: node_modules/.cache
52+
key: ${{ runner.os }}-webpack-cache-${{ hashFiles('yarn.lock') }}
53+
- name: Install dependencies
54+
run: yarn install --frozen-lockfile
55+
- name: Build the Docusaurus site
56+
run: yarn build
57+
- name: Pantheon, check environment and deploy helpdocs
58+
run: |
59+
# Check for helpdocs environment in Pantheon, create one if not found
60+
PANTHEON_ENV_LIST="$(terminus env:list "${{ vars.PANTHEON_SITE_ID }}" --format=list | xargs)"
61+
DEV_SITE_EXISTS="$(echo "$PANTHEON_ENV_LIST" | grep "helpdocs" | wc -l | xargs)"
62+
if [ "$DEV_SITE_EXISTS" -eq "0" ]; then
63+
terminus multidev:create --no-interaction --no-ansi ${{ vars.PANTHEON_SITE_ID }}.dev helpdocs
64+
terminus lock:enable ${{ vars.PANTHEON_SITE_ID }}.helpdocs -- "${{ secrets.PANTHEON_AUTH_USER }}" "${{ secrets.PANTHEON_AUTH_PASSWORD }}"
65+
fi
66+
# Put environment in SFTP mode, because we're using rsync to move files up
67+
terminus connection:set ${{ vars.PANTHEON_SITE_ID }}.helpdocs sftp
68+
terminus self:plugin:install terminus-rsync-plugin
69+
mv ./build ./help
70+
terminus rsync ./help ${{ vars.PANTHEON_SITE_ID }}.helpdocs:code
71+
terminus env:commit --message "Production build of helpdocs" --force -- ${{ vars.PANTHEON_SITE_ID }}.helpdocs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img src="https://help.sumologic.com/img/sumo-docs-readme.png" width="400"/>
1+
<img src="https://help.sumologic.com/img/reuse/sumo-docs-readme.png" width="400"/>
22

33
<p>
44
<a href="https://github.com/SumoLogic/sumologic-documentation/blob/main/.github/workflows/production.yml"><img src="https://github.com/SumoLogic/sumologic-documentation/actions/workflows/production.yml/badge.svg" alt="GitHub Actions status"></a>

blog-collector/2021/12-31.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 2021 Archive
3-
image: https://help.sumologic.com/img/sumo-square.png
3+
image: https://help.sumologic.com/img/reuse/rss-image.jpg
44
---
55

66
import useBaseUrl from '@docusaurus/useBaseUrl';

blog-collector/2022/12-31.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 2022 Archive
3-
image: https://help.sumologic.com/img/sumo-square.png
3+
image: https://help.sumologic.com/img/reuse/rss-image.jpg
44
---
55

66
import useBaseUrl from '@docusaurus/useBaseUrl';

blog-collector/2023/12-31.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 2023 Archive
3-
image: https://help.sumologic.com/img/sumo-square.png
3+
image: https://help.sumologic.com/img/reuse/rss-image.jpg
44
---
55

66
import useBaseUrl from '@docusaurus/useBaseUrl';

blog-collector/2024/12-31.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 2024 Archive
3-
image: https://help.sumologic.com/img/sumo-square.png
3+
image: https://help.sumologic.com/img/reuse/rss-image.jpg
44
---
55

66
import useBaseUrl from '@docusaurus/useBaseUrl';

blog-collector/2025-01-08-otel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Remote Management for OpenTelemetry Collector (OpenTelemetry Collector)
3-
image: https://help.sumologic.com/img/sumo-square.png
3+
image: https://help.sumologic.com/img/reuse/rss-image.jpg
44
keywords:
55
- collection
66
- opentelemetry

blog-collector/2025-02-18-installed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Version 19.525-1 (Installed Collector)
33
hide_table_of_contents: true
4-
image: https://help.sumologic.com/img/sumo-square.png
4+
image: https://help.sumologic.com/img/reuse/rss-image.jpg
55
---
66

77
import useBaseUrl from '@docusaurus/useBaseUrl';

blog-collector/2025-05-14-installed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Version 19.525-42 (Installed Collector)
33
hide_table_of_contents: true
4-
image: https://help.sumologic.com/img/sumo-square.png
4+
image: https://help.sumologic.com/img/reuse/rss-image.jpg
55
---
66

77
import useBaseUrl from '@docusaurus/useBaseUrl';

0 commit comments

Comments
 (0)