Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 4 0 #1639

Closed
wants to merge 68 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
60a5905
ci: added comments to Makefile (#1489) (#1490)
github-actions[bot] Aug 28, 2023
9b94eca
docs: updated fips page (#1491) (#1494)
github-actions[bot] Aug 29, 2023
6826a93
Remove the 1st occurrence of the OVA PCG video (#1493) (#1497)
github-actions[bot] Aug 29, 2023
a049154
docs: DOC-853 provide FIPS content (#1496) (#1498)
github-actions[bot] Aug 30, 2023
0965c4c
ci: added logic for backport PRs (#1499) (#1500)
github-actions[bot] Aug 30, 2023
07c4b7f
ci: added logic for backport PRs (#1501) (#1502)
github-actions[bot] Aug 30, 2023
7e455dc
ci: final fix to backport CI (#1503) (#1504)
github-actions[bot] Aug 30, 2023
bb71d06
Update VMO prereq (#1506)
cloudmaniac Aug 31, 2023
362d2ef
docs: Update 04.6-vm-management.md (#1507)
karl-cardenas-coding Aug 31, 2023
55e41c6
Merge branch 'version-4-0' of github.com:spectrocloud/librarium into …
karl-cardenas-coding Sep 1, 2023
d989205
Merge branch 'master' into version-4-0
karl-cardenas-coding Sep 1, 2023
bb48b22
chore: docusaurus migration :rocket
nagesh161007 Sep 3, 2023
35b8a87
Change edit URL (#1513)
nagesh161007 Sep 3, 2023
9b62174
New CVE's - Security Bulletin (#1510) (#1515)
github-actions[bot] Sep 5, 2023
631fa74
Feedback (#1514) (#1516)
github-actions[bot] Sep 5, 2023
40282b4
chore: fixed broken URLs (#1518) (#1519)
github-actions[bot] Sep 5, 2023
cf11649
Refactor MetalLB with Docusaurus (#1517) (#1520)
github-actions[bot] Sep 6, 2023
089031e
docs: backup and restore refactor (#1521)
github-actions[bot] Sep 6, 2023
6179de8
docs: DOC-823 update to MinIO steps (#1522) (#1523)
github-actions[bot] Sep 6, 2023
9206173
ci: updated to the backport flow (#1524) (#1525)
github-actions[bot] Sep 7, 2023
d3d8c59
docs: update default node repave interval value (#1529) (#1530)
github-actions[bot] Sep 9, 2023
9f775df
ci: added missing URL checker script (#1531) (#1532)
github-actions[bot] Sep 11, 2023
aee0ea5
Document 4.0.7 & 4.0.8 hotfixes in Release Notes (#1533) (#1534)
github-actions[bot] Sep 11, 2023
f1990e9
Document serviceDomain parameter in k8s config: PCP-935 (#1527) (#1537)
github-actions[bot] Sep 11, 2023
dc96161
chore: updated gitignore
karl-cardenas-coding Sep 12, 2023
e98146f
Fix Download cluster logs URL in troubleshooting.md (#1535) (#1538)
github-actions[bot] Sep 12, 2023
33bca0e
chore: redirect for eks-d
karl-cardenas-coding Sep 12, 2023
94e332f
docs: palette-cli URL update (#1541)
github-actions[bot] Sep 12, 2023
898c6ef
docsL updates (#1544)
github-actions[bot] Sep 12, 2023
39b5cad
docs: update registries-and-packs.md (#1545)
github-actions[bot] Sep 13, 2023
5f517c5
chore: removed note calloutboxes (#1549) (#1550)
github-actions[bot] Sep 14, 2023
ae5d42c
Document action needed in Palette if Vcntr pwd changes: doc-866 (#154…
github-actions[bot] Sep 15, 2023
a6217af
docs: Update palette-public-ips.md (#1553) (#1554)
github-actions[bot] Sep 15, 2023
3040fb2
Update add-roles-and-role-bindings.md (#1555) (#1556)
github-actions[bot] Sep 15, 2023
c536dbd
docs: updated URLs to use file path context (#1559)
github-actions[bot] Sep 16, 2023
12e3733
[version-4-0] chore: released docs versioning (#1560)
github-actions[bot] Sep 17, 2023
858a8e3
ci: version branch fix
karl-cardenas-coding Sep 17, 2023
cf788f0
ci: added version prefix in label
karl-cardenas-coding Sep 17, 2023
fc56740
docs: url updates (#1563) (#1564)
github-actions[bot] Sep 19, 2023
997b752
ci: updates to the CI flow
karl-cardenas-coding Sep 19, 2023
07240ad
Merge branch 'version-4-0' of github.com:spectrocloud/librarium into …
karl-cardenas-coding Sep 19, 2023
9d15760
Update NotFound.module.scss (#1566) (#1569)
github-actions[bot] Sep 20, 2023
98641c7
docs: updated README and release concurrency (#1567) (#1571)
github-actions[bot] Sep 20, 2023
f2dfdc0
ci: adding missing commit (#1573) (#1574)
github-actions[bot] Sep 20, 2023
612db15
ci: backport PRs logic
karl-cardenas-coding Sep 20, 2023
da38875
chore: change Mendable AI widget asset url (#1575) (#1576)
github-actions[bot] Sep 20, 2023
18066e1
ci: updated branch PR logic (#1578) (#1580)
github-actions[bot] Sep 20, 2023
cf8bd6c
docs: repave clarifications (#1548) (#1582)
vault-token-factory-spectrocloud[bot] Sep 20, 2023
c79dc28
docs: release Notes for 4.0.13 patch release (#1562) (#1583)
vault-token-factory-spectrocloud[bot] Sep 20, 2023
7d64931
docs: update maintenance-policy.md (#1579) (#1585)
vault-token-factory-spectrocloud[bot] Sep 20, 2023
a75b81f
ci: update to the backport post-PRs CI/CD (#1584) (#1587)
vault-token-factory-spectrocloud[bot] Sep 21, 2023
204d721
ci: updates to CI workflow (#1590) (#1591)
vault-token-factory-spectrocloud[bot] Sep 21, 2023
d03db55
Release note for 3.4.114 patch release (#1589) (#1593)
vault-token-factory-spectrocloud[bot] Sep 21, 2023
bb9fe71
ci: updated backport PR netlify logic (#1594) (#1595)
vault-token-factory-spectrocloud[bot] Sep 21, 2023
2631648
Fix sentence in deploy-virtual-cluster.md (#1599) (#1600)
vault-token-factory-spectrocloud[bot] Sep 23, 2023
a4e7493
Tiny doc fixes for edge (#1603) (#1605)
vault-token-factory-spectrocloud[bot] Sep 25, 2023
8645ddc
docs: remove warning label docs (#1604)
vault-token-factory-spectrocloud[bot] Sep 25, 2023
ec89859
ci: updated README and backport CI (#1606) (#1608)
vault-token-factory-spectrocloud[bot] Sep 25, 2023
ddcebce
docs: added missing API rate documentation (#1607) (#1610)
vault-token-factory-spectrocloud[bot] Sep 25, 2023
d2d99cf
docs: Update install-manage-maas-pcg examples (#1613) (#1614)
vault-token-factory-spectrocloud[bot] Sep 27, 2023
f6d4791
Document OIDC options for Spectro VM Dashboard: PEM-2283 (#1526) (#1618)
vault-token-factory-spectrocloud[bot] Sep 28, 2023
b7e23be
docs: fix virtual cluster text that used double infobox (#1617)
karl-cardenas-coding Sep 28, 2023
1ea9fe5
docs: update palette-cli version (#1619) (#1620)
vault-token-factory-spectrocloud[bot] Sep 28, 2023
6419cf8
docs: fix URL (#1622) (#1624)
vault-token-factory-spectrocloud[bot] Sep 28, 2023
a695fb5
chore: api version dropdown feature (#1627) (#1628)
vault-token-factory-spectrocloud[bot] Sep 29, 2023
f1eea9c
Update maintenance-policy.md (#1630) (#1631)
vault-token-factory-spectrocloud[bot] Oct 2, 2023
c691234
chore: updated privacy settings experience (#1635) (#1636)
vault-token-factory-spectrocloud[bot] Oct 3, 2023
c49dc1f
OIDC config for vclusters ppd 1328 (#1626) (#1638)
vault-token-factory-spectrocloud[bot] Oct 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 13 additions & 14 deletions .backportrc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"repoOwner": "spectrocloud",
"repoName": "librarium",
"editor": "code",


"targetBranchChoices": ["master", "version-4-0", "version-3-4", "version-3-3"],

"autoMerge": true,
"autoMergeMethod": "squash",

"branchLabelMapping": {
"^backport-(.+)$": "$1"
}
}
"repoOwner": "spectrocloud",
"repoName": "librarium",
"editor": "code",

"targetBranchChoices": ["master", "version-4-0", "version-3-4"],

"autoMerge": true,
"autoMergeMethod": "squash",

"branchLabelMapping": {
"^backport-(.+)$": "$1"
}
}
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ README.md
CHANGES
.gitignore
.cache
prow/
prow/
.env
25 changes: 25 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
build
node_modules
src/deprecated

.docusaurus
sidebar.js
docusaurus.config.js
*.config.js

# swizzled components
src/theme/SchemaItem/index.js
src/theme/CodeBlock/**
DocSidebarItem

#test files

*.test.tsx
*.test.ts

*.test.js
*.test.jsx

__mocks__

jest.setup.ts
50 changes: 50 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
module.exports = {
env: {
browser: true,
es2015: true,
node: true,
},
settings: {
"import/resolver": "webpack",
},
extends: ["eslint:recommended", "plugin:react/recommended", "prettier"],
overrides: [
{
files: ["./**/*.{ts,tsx}"],
env: { browser: true, es6: true, node: true },
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended-type-checked",
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaFeatures: { jsx: true, experimentalObjectRestSpread: true },
ecmaVersion: 2020,
sourceType: "module",
project: "./tsconfig.eslint.json",
},
plugins: ["@typescript-eslint"],
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
},
overrides: [
{
files: ["*.js", "*.jsx"],
extends: ["plugin:@typescript-eslint/disable-type-checked"],
},
],
},
],
parserOptions: {
sourceType: "module",
ecmaVersion: 2020,
},
plugins: ["react"],
rules: {
"no-unused-vars": 1,
"react/prop-types": 0,
},
};
58 changes: 0 additions & 58 deletions .eslintrc.json

This file was deleted.

1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/aloglia_crawler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Algolia Crawler

on:
workflow_run:
workflows: ["Release to Production"]
types: [completed]
jobs:
docsearch:
runs-on:
group: Default
labels: docbot
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Run scraper
env:
APPLICATION_ID: ${{ secrets.ALGOLIA_APP_ID }}
API_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}
run: docker run -e APPLICATION_ID=$APPLICATION_ID -e API_KEY=$API_KEY -e "CONFIG=$(cat ./docsearch.config.json | jq -r tostring)" algolia/docsearch-scraper

- name: Slack Notification
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: "spectromate"
SLACK_ICON_EMOJI: ":robot_panic:"
SLACK_COLOR: ${{ job.status }}
SLACK_MESSAGE: 'The Docs Algolia crawler job failed. Please check the GitHub Actions logs for more details.'
32 changes: 27 additions & 5 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,40 @@ jobs:
|| (github.event.action == 'closed')
)
steps:

- name: Retrieve Credentials
id: import-secrets
uses: hashicorp/[email protected]
with:
url: https://vault.prism.spectrocloud.com
method: approle
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
secrets: /providers/github/organizations/spectrocloud/token?org_name=spectrocloud token | VAULT_GITHUB_TOKEN

- name: Backport Action
uses: sqren/backport-github-action@v8.9.3
uses: sqren/backport-github-action@v9.3.0-a
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# We are using a PAT token through our Vault Operator to address the issue of PRs workflows not being triggered
# Refer to issue https://github.com/sqren/backport-github-action/issues/79 for more details.
github_token: ${{ steps.import-secrets.outputs.VAULT_GITHUB_TOKEN }}
auto_backport_label_prefix: backport-
add_original_reviewers: true

- name: Info log
if: ${{ success() }}
run: cat ~/.backport/backport.info.log

- name: Debug log
if: ${{ failure() }}
run: cat ~/.backport/backport.debug.log

run: cat ~/.backport/backport.debug.log

- name: Slack Notification
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: "spectromate"
SLACK_ICON_EMOJI: ":robot_panic:"
SLACK_COLOR: ${{ job.status }}
SLACK_MESSAGE: 'The backport automation flow failed. Review the GitHub Actions logs for more details.'
47 changes: 47 additions & 0 deletions .github/workflows/eslint-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Eslint and Test cases

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "src/**"

concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true

jobs:
run-ci:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
if: ${{ !github.event.pull_request.draft }}
steps:
- run: exit 0

build:
name: Build
needs: [run-ci]
runs-on:
group: Default
labels: docbot
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"

- run: npm ci

- name: Eslint
run: |
npm run lint
- name: Test
run: |
npm run test
4 changes: 2 additions & 2 deletions .github/workflows/gitleaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
if [ "$total_failed_tests" -gt 0 ]; then
echo "GitLeaks validation check failed with above findings..."
exit 1
else
else
echo "GitLeaks validation check passed"
fi
fi
20 changes: 11 additions & 9 deletions .github/workflows/image_optimizer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: image_optimizer
on:
pull_request:
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
- "**.jpg"
- "**.jpeg"
- "**.png"
- "**.webp"

concurrency:
group: image-${{ github.ref }}
Expand All @@ -20,15 +20,17 @@ jobs:
shell: bash
if: ${{ !github.event.pull_request.draft }}
steps:
# If the condition above is not met, aka, the PR is not in draft status, then this step is skipped.
# Because this step is part of the critical path, omission of this step will result in remaining CI steps not gettinge executed.
# As of 8/8/2022 there is now way to enforce this beahvior in GitHub Actions CI.
# If the condition above is not met, aka, the PR is not in draft status, then this step is skipped.
# Because this step is part of the critical path, omission of this step will result in remaining CI steps not gettinge executed.
# As of 8/8/2022 there is now way to enforce this beahvior in GitHub Actions CI.
- run: exit 0

image-optimizer:
name: Image Optimization
needs: [run-ci]
runs-on: ubuntu-latest
runs-on:
group: Default
labels: docbot
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Checkout Repository
Expand All @@ -38,4 +40,4 @@ jobs:
uses: calibreapp/image-actions@main
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
ignorePaths: 'node_modules/**,build'
ignorePaths: "node_modules/**,build"
Loading