Compare commits

..

1 Commits

Author SHA1 Message Date
Chris Farhood ec088c73e9 fix(ci): update pnpm-lock.yaml for elliptic override
The elliptic security override added in commit 5829cf8 was not
accompanied by a corresponding lockfile update, causing CI to fail
at the install step. This commit regenerates the lockfile with
all transitive dependency updates.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-11 12:44:06 +00:00
11 changed files with 565 additions and 818 deletions
+3 -209
View File
@@ -2,218 +2,12 @@ name: CI
on:
push:
branches: ['**']
branches: [main, dev]
pull_request:
branches: [main, dev, uat]
branches: [main, dev]
workflow_dispatch:
workflow_call:
inputs:
node-version:
description: 'Node.js version to use'
required: false
type: string
default: '22'
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
timeout-minutes: 10
container: node:22-slim
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install Python
run: apt-get update && apt-get install -y --no-install-recommends python3 python3-yaml
- name: Validate artifacthub-pkg.yml
run: |
python3 - <<'EOF'
import sys, re
try:
import yaml
except ImportError:
print("::warning::PyYAML not available, skipping artifacthub-pkg.yml validation")
sys.exit(0)
try:
with open("artifacthub-pkg.yml") as f:
pkg = yaml.safe_load(f)
except FileNotFoundError:
print("::error::artifacthub-pkg.yml not found")
sys.exit(1)
except yaml.YAMLError as e:
print(f"::error::artifacthub-pkg.yml is invalid YAML: {e}")
sys.exit(1)
errors = []
for field in ["version", "name", "description", "homeURL"]:
if not pkg.get(field):
errors.append(f"Missing required field: {field}")
version = pkg.get("version", "")
if version and not re.match(r'^\d+\.\d+\.\d+$', str(version)):
errors.append(f"version '{version}' is not SemVer (expected X.Y.Z)")
annotations = pkg.get("annotations", {}) or {}
archive_url = annotations.get("headlamp/plugin/archive-url", "")
archive_checksum = annotations.get("headlamp/plugin/archive-checksum", "")
if not archive_url:
errors.append("Missing annotation: headlamp/plugin/archive-url")
if not archive_checksum:
errors.append("Missing annotation: headlamp/plugin/archive-checksum")
elif not re.match(r'^sha256:[0-9a-f]{64}$', str(archive_checksum)):
errors.append(f"archive-checksum has unexpected format: '{archive_checksum}' (expected sha256:<64 hex chars>)")
if errors:
for e in errors:
print(f"::error::{e}")
sys.exit(1)
print(f"artifacthub-pkg.yml valid: name={pkg['name']} version={pkg['version']}")
EOF
- name: Detect package manager
id: pkg-manager
run: |
if [ -f "pnpm-lock.yaml" ]; then
echo "manager=pnpm" >> $GITHUB_OUTPUT
PM=$(python3 -c "import json,sys; d=json.load(open('package.json')); print('true' if d.get('packageManager','').startswith('pnpm@') else 'false')" 2>/dev/null || echo "false")
echo "has_package_manager=$PM" >> $GITHUB_OUTPUT
else
echo "manager=npm" >> $GITHUB_OUTPUT
echo "has_package_manager=false" >> $GITHUB_OUTPUT
fi
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: ${{ inputs.node-version }}
cache: ${{ steps.pkg-manager.outputs.manager == 'npm' && 'npm' || '' }}
- name: Setup pnpm (via Corepack, reads version from packageManager field)
if: steps.pkg-manager.outputs.manager == 'pnpm' && steps.pkg-manager.outputs.has_package_manager == 'true'
run: |
npm install -g corepack
corepack enable pnpm
corepack install
- name: Setup pnpm (version latest)
if: steps.pkg-manager.outputs.manager == 'pnpm' && steps.pkg-manager.outputs.has_package_manager == 'false'
uses: pnpm/action-setup@v5
with:
run_install: false
version: latest
- name: Get pnpm store directory
id: pnpm-store
if: steps.pkg-manager.outputs.manager == 'pnpm'
run: echo "dir=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
- name: Cache pnpm store
if: steps.pkg-manager.outputs.manager == 'pnpm'
uses: actions/cache@v5
with:
path: ${{ steps.pnpm-store.outputs.dir }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Validate pnpm lockfile freshness
if: steps.pkg-manager.outputs.manager == 'pnpm'
run: |
if [ ! -f "pnpm-lock.yaml" ]; then
echo "No pnpm-lock.yaml found, skipping lockfile freshness check"
exit 0
fi
if ! grep -q 'overrides:' pnpm-lock.yaml 2>/dev/null; then
echo "No overrides section in pnpm-lock.yaml, skipping lockfile freshness check"
exit 0
fi
echo "Detected pnpm-lock.yaml with overrides section. Checking lockfile freshness..."
ERR_FILE=$(mktemp)
if pnpm install --frozen-lockfile 2>&1 | tee "$ERR_FILE"; then
echo "Lockfile is fresh."
else
if grep -q "CONFIG_MISMATCH\|EBADLOCKFILE\|ERR_PNPM_LOCKFILE" "$ERR_FILE"; then
echo ""
echo "::error::pnpm-lock.yaml is out of sync with package.json overrides."
echo "::error::This typically happens when transitive dependencies change but the lockfile wasn't regenerated."
echo "::error::Run 'pnpm install' to regenerate the lockfile and commit the updated pnpm-lock.yaml."
rm -f "$ERR_FILE"
exit 1
fi
rm -f "$ERR_FILE"
echo "::warning::Install failed with a different error. Will retry in the Install dependencies step."
fi
- name: Install dependencies
run: |
max_attempts=3
attempt=1
while [ $attempt -le $max_attempts ]; do
echo "Attempt $attempt of $max_attempts"
if [ "${{ steps.pkg-manager.outputs.manager }}" = "pnpm" ]; then
pnpm install --frozen-lockfile && break
else
npm ci && break
fi
if [ $attempt -lt $max_attempts ]; then
echo "::warning::Install step failed on attempt $attempt. Retrying in 5 seconds..."
sleep 5
fi
attempt=$((attempt + 1))
done
if [ $attempt -gt $max_attempts ]; then
echo "::error::Install step failed after $max_attempts attempts."
exit 1
fi
- name: Build plugin
run: npx @kinvolk/headlamp-plugin build
- name: Lint
run: |
if [ "${{ steps.pkg-manager.outputs.manager }}" = "pnpm" ]; then
pnpm run lint
else
npm run lint
fi
- name: Type-check
run: |
if [ "${{ steps.pkg-manager.outputs.manager }}" = "pnpm" ]; then
pnpm run tsc
else
npm run tsc
fi
- name: Format check
run: |
if [ "${{ steps.pkg-manager.outputs.manager }}" = "pnpm" ]; then
pnpm run format:check
else
npm run format:check
fi
- name: Run tests
run: |
if [ "${{ steps.pkg-manager.outputs.manager }}" = "pnpm" ]; then
pnpm test
else
npm test
fi
- name: Security audit
run: |
if [ "${{ steps.pkg-manager.outputs.manager }}" = "pnpm" ]; then
npx audit-ci --pnpm --audit-level=high --config ./audit-ci.jsonc
else
npx audit-ci --npm --audit-level=high --config ./audit-ci.jsonc
fi
uses: privilegedescalation/.github/.github/workflows/plugin-ci.yaml@main
+23
View File
@@ -0,0 +1,23 @@
name: E2E Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: e2e-${{ github.repository }}
cancel-in-progress: false
jobs:
e2e:
uses: privilegedescalation/.github/.github/workflows/plugin-e2e.yaml@hugh/add-pnpm-support-plugin-e2e
with:
node-version: '22'
headlamp-version: v0.40.1
e2e-namespace: headlamp-dev
+6 -421
View File
@@ -7,434 +7,19 @@ on:
description: 'Release version (e.g. 1.0.0)'
required: true
type: string
node-version:
description: 'Node.js version to use'
required: false
type: string
default: '22'
upstream-repo:
description: 'Upstream repo to fetch appVersion from (e.g. fenio/tns-csi). Leave empty to skip.'
required: false
type: string
default: ''
repository_dispatch:
types: [release]
workflow_call:
inputs:
version:
description: 'Release version (e.g. 1.0.0)'
required: true
type: string
node-version:
description: 'Node.js version to use'
required: false
type: string
default: '22'
upstream-repo:
description: 'Upstream repo to fetch appVersion from (e.g. fenio/tns-csi). Leave empty to skip.'
required: false
type: string
default: ''
secrets:
GITEA_RELEASE_TOKEN:
description: 'Gitea token with write access to repos'
required: true
permissions:
contents: write
pull-requests: write
concurrency:
group: release
cancel-in-progress: false
jobs:
check-secrets:
runs-on: runners-privilegedescalation
outputs:
ready: ${{ steps.check.outputs.ready }}
steps:
- name: Verify GITEA_RELEASE_TOKEN is configured
id: check
env:
GITEA_RELEASE_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
run: |
if [ -z "$GITEA_RELEASE_TOKEN" ]; then
echo "::notice::GITEA_RELEASE_TOKEN org secret is not configured (see PRI-1533). Release skipped — no artifacts will be created."
echo "ready=false" >> $GITHUB_OUTPUT
else
echo "ready=true" >> $GITHUB_OUTPUT
fi
ci:
needs: check-secrets
if: needs.check-secrets.outputs.ready == 'true'
uses: ./.github/workflows/ci.yaml
with:
node-version: ${{ inputs.node-version }}
secrets: inherit
check-token-permissions:
needs: check-secrets
if: needs.check-secrets.outputs.ready == 'true'
runs-on: runners-privilegedescalation
outputs:
has_write: ${{ steps.check.outputs.has_write }}
steps:
- name: Check write permissions via API
id: check
env:
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
REPO: ${{ github.repository }}
run: |
HTTP_CODE=$(curl -sf -o /dev/null -w "%{http_code}" \
-X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Accept: application/json" \
"https://git.farh.net/api/v1/repos/${REPO}/git/refs" \
-d '{"ref":"refs/heads/_release_check","sha":"${{ github.sha }}"}')
if [ "$HTTP_CODE" = "201" ]; then
echo "::notice::Token has write permission — cleaning up test ref."
curl -sf -o /dev/null -w "%{http_code}" \
-X DELETE \
-H "Authorization: token ${GITEA_TOKEN}" \
"https://git.farh.net/api/v1/repos/${REPO}/git/refs/heads/_release_check"
echo "has_write=true" >> $GITHUB_OUTPUT
elif [ "$HTTP_CODE" = "403" ]; then
echo "::error::Token lacks write permission. Release cannot push tags or branches."
echo "has_write=false" >> $GITHUB_OUTPUT
exit 1
else
echo "::warning::Unexpected response ($HTTP_CODE) when checking write permission."
echo "has_write=false" >> $GITHUB_OUTPUT
exit 1
fi
check-tag:
needs: check-secrets
if: needs.check-secrets.outputs.ready == 'true'
runs-on: runners-privilegedescalation
env:
RESOLVED_VERSION: ${{ inputs.version || github.event.client_payload.version }}
outputs:
skip: ${{ steps.check.outputs.skip }}
steps:
- name: Check if tag already exists
id: check
env:
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
REPO: ${{ github.repository }}
run: |
HTTP_CODE=$(curl -sf -o /dev/null -w "%{http_code}" \
-H "Authorization: token ${GITEA_TOKEN}" \
"https://git.farh.net/api/v1/repos/${REPO}/git/refs/tags/v${{ env.RESOLVED_VERSION }}")
if [ "$HTTP_CODE" = "200" ]; then
echo "::notice::Tag v${{ env.RESOLVED_VERSION }} already exists. Release skipped (not an error)."
echo "skip=true" >> $GITHUB_OUTPUT
else
echo "skip=false" >> $GITHUB_OUTPUT
fi
release:
needs: [ci, check-tag, check-secrets, check-token-permissions]
if: needs.check-secrets.outputs.ready == 'true' && needs.check-tag.outputs.skip != 'true' && needs.check-token-permissions.outputs.has_write == 'true'
runs-on: runners-privilegedescalation
timeout-minutes: 10
env:
RESOLVED_VERSION: ${{ inputs.version || github.event.client_payload.version }}
uses: privilegedescalation/.github/.github/workflows/plugin-release.yaml@main
secrets:
RELEASE_APP_ID: ${{ secrets.RELEASE_APP_ID }}
RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
with:
version: ${{ inputs.version || github.event.client_payload.version }}
steps:
- name: Validate version format
run: |
if [[ ! "${{ env.RESOLVED_VERSION }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Error: Version must be in X.Y.Z format"
exit 1
fi
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Detect package manager
id: pkg-manager
run: |
if [ -f "pnpm-lock.yaml" ]; then
echo "manager=pnpm" >> $GITHUB_OUTPUT
echo "lockfile=pnpm-lock.yaml" >> $GITHUB_OUTPUT
PM=$(python3 -c "import json,sys; d=json.load(open('package.json')); print('true' if d.get('packageManager','').startswith('pnpm@') else 'false')" 2>/dev/null || echo "false")
echo "has_package_manager=$PM" >> $GITHUB_OUTPUT
else
echo "manager=npm" >> $GITHUB_OUTPUT
echo "lockfile=package-lock.json" >> $GITHUB_OUTPUT
echo "has_package_manager=false" >> $GITHUB_OUTPUT
fi
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: ${{ inputs.node-version }}
cache: ${{ steps.pkg-manager.outputs.manager == 'npm' && 'npm' || '' }}
- name: Setup pnpm (via Corepack)
if: steps.pkg-manager.outputs.manager == 'pnpm' && steps.pkg-manager.outputs.has_package_manager == 'true'
run: |
npm install -g corepack
corepack enable pnpm
corepack install
- name: Setup pnpm (version latest)
if: steps.pkg-manager.outputs.manager == 'pnpm' && steps.pkg-manager.outputs.has_package_manager == 'false'
uses: pnpm/action-setup@v5
with:
run_install: false
version: latest
- name: Get pnpm store directory
id: pnpm-store
if: steps.pkg-manager.outputs.manager == 'pnpm'
run: echo "dir=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
- name: Cache pnpm store
if: steps.pkg-manager.outputs.manager == 'pnpm'
uses: actions/cache@v5
with:
path: ${{ steps.pnpm-store.outputs.dir }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Configure Git
env:
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git remote set-url origin "https://x-access-token:${GITEA_TOKEN}@git.farh.net/${{ github.repository }}.git"
- name: Update version in package.json
run: |
if [ "${{ steps.pkg-manager.outputs.manager }}" = "pnpm" ]; then
pnpm version ${{ env.RESOLVED_VERSION }} --no-git-tag-version --allow-same-version
else
npm version ${{ env.RESOLVED_VERSION }} --no-git-tag-version --allow-same-version
fi
- name: Update artifacthub-pkg.yml
env:
REPO: ${{ github.repository }}
run: |
VERSION="${{ env.RESOLVED_VERSION }}"
if [ -f artifacthub-pkg.yml ]; then
PKG_NAME=$(grep '^name:' artifacthub-pkg.yml | cut -d: -f2 | tr -d ' "')
else
PKG_NAME=$(jq -r .name package.json | sed 's|^@[^/]*/||')
fi
RELEASE_URL="https://git.farh.net/${REPO}/releases/download/v${VERSION}/${PKG_NAME}-${VERSION}.tar.gz"
sed -i "s/^version:.*/version: \"${VERSION}\"/" artifacthub-pkg.yml
sed -i "s|headlamp/plugin/archive-url:.*|headlamp/plugin/archive-url: \"${RELEASE_URL}\"|" artifacthub-pkg.yml
- name: Update appVersion from upstream release
if: inputs.upstream-repo != ''
env:
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
run: |
APP_VERSION=$(curl -sf \
-H "Authorization: token ${GITEA_TOKEN}" \
"https://git.farh.net/api/v1/repos/${{ inputs.upstream-repo }}/releases/latest" | jq -r '.tag_name | ltrimstr("v")')
if [ -z "$APP_VERSION" ] || [ "$APP_VERSION" = "null" ]; then
echo "::warning::Could not fetch latest upstream release, skipping appVersion update"
else
sed -i "s|^appVersion:.*|appVersion: \"${APP_VERSION}\"|" artifacthub-pkg.yml
echo "appVersion set to ${APP_VERSION}"
fi
- name: Install dependencies
run: |
max_attempts=3
attempt=1
while [ $attempt -le $max_attempts ]; do
echo "Attempt $attempt of $max_attempts"
if [ "${{ steps.pkg-manager.outputs.manager }}" = "pnpm" ]; then
pnpm install --frozen-lockfile && break
else
npm ci && break
fi
if [ $attempt -lt $max_attempts ]; then
echo "::warning::Install step failed on attempt $attempt. Retrying in 5 seconds..."
sleep 5
fi
attempt=$((attempt + 1))
done
if [ $attempt -gt $max_attempts ]; then
echo "::error::Install step failed after $max_attempts attempts."
exit 1
fi
- name: Build plugin
run: npx @kinvolk/headlamp-plugin build
- name: Package plugin
run: npx @kinvolk/headlamp-plugin package
- name: Prepare release tarball
run: |
VERSION="${{ env.RESOLVED_VERSION }}"
if [ -f artifacthub-pkg.yml ]; then
PKG_NAME=$(grep '^name:' artifacthub-pkg.yml | cut -d: -f2 | tr -d ' "')
else
PKG_NAME=$(jq -r .name package.json | sed 's|^@[^/]*/||')
fi
TARBALL="${PKG_NAME}-${VERSION}.tar.gz"
for f in *.tar.gz; do
[ "$f" != "$TARBALL" ] && mv "$f" "$TARBALL"
done
if [ ! -f "$TARBALL" ]; then
echo "Error: Expected tarball $TARBALL not found"
ls -la *.tar.gz 2>/dev/null || echo "No .tar.gz files found"
exit 1
fi
echo "TARBALL=$TARBALL" >> $GITHUB_ENV
echo "PKG_NAME=$PKG_NAME" >> $GITHUB_ENV
- name: Validate tarball
run: |
echo "Tarball: ${{ env.TARBALL }}"
ls -lh "${{ env.TARBALL }}"
tar -tzf "${{ env.TARBALL }}" | head -20
tar -tzf "${{ env.TARBALL }}" | grep -q "main.js" || { echo "Error: main.js not found in tarball"; exit 1; }
- name: Compute checksum
run: |
CHECKSUM=$(sha256sum "${{ env.TARBALL }}" | awk '{print $1}')
echo "CHECKSUM=$CHECKSUM" >> $GITHUB_ENV
sed -i "s|headlamp/plugin/archive-checksum:.*|headlamp/plugin/archive-checksum: sha256:${CHECKSUM}|" artifacthub-pkg.yml
- name: Commit and tag
env:
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
run: |
VERSION="${{ env.RESOLVED_VERSION }}"
BRANCH="release/v${VERSION}"
if git ls-remote --exit-code origin "refs/heads/$BRANCH" 2>/dev/null; then
echo "::notice::Branch $BRANCH already exists — deleting for clean re-trigger."
git push origin --delete "$BRANCH"
fi
git checkout -b "$BRANCH"
git add package.json "${{ steps.pkg-manager.outputs.lockfile }}" artifacthub-pkg.yml
git commit -m "release: v${VERSION}"
git tag "v${VERSION}"
git push origin "$BRANCH"
git push origin "refs/tags/v${VERSION}"
- name: Create Gitea Release
env:
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
REPO: ${{ github.repository }}
run: |
VERSION="${{ env.RESOLVED_VERSION }}"
TARBALL="${{ env.TARBALL }}"
RESPONSE=$(curl -sf -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
"https://git.farh.net/api/v1/repos/${REPO}/releases" \
-d "{
\"tag_name\": \"v${VERSION}\",
\"name\": \"Release v${VERSION}\",
\"draft\": false,
\"prerelease\": false
}")
if [ -z "$RESPONSE" ]; then
echo "::warning::Release creation returned empty response (may already exist)"
else
echo "::notice::Release v${VERSION} created successfully"
fi
UPLOAD_URL=$(echo "$RESPONSE" | jq -r '.upload_url' 2>/dev/null || echo "")
if [ -n "$UPLOAD_URL" ] && [ "$UPLOAD_URL" != "null" ]; then
UPLOAD_URL="${UPLOAD_URL%%\{*}"
curl -sf -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/octet-stream" \
"${UPLOAD_URL}?name=${TARBALL}" \
--data-binary "@${TARBALL}"
echo "::notice::Tarball uploaded successfully"
fi
- name: Create PR for version bump
env:
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
REPO: ${{ github.repository }}
run: |
set -o pipefail
VERSION="${{ env.RESOLVED_VERSION }}"
BODY=$(printf "Automated version bump and checksum update for v%s.\n\ncc @cpfarhood" "${VERSION}")
RESPONSE=$(curl -sf -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
"https://git.farh.net/api/v1/repos/${REPO}/pulls" \
-d "{
\"title\": \"release: v${VERSION}\",
\"body\": \"$BODY\",
\"base\": \"main\",
\"head\": \"release/v${VERSION}\"
}")
PR_NUMBER=$(echo "$RESPONSE" | jq -r '.number' 2>/dev/null || echo "")
if [ -z "$PR_NUMBER" ] || [ "$PR_NUMBER" = "null" ]; then
EXISTING=$(curl -sf \
-H "Authorization: token ${GITEA_TOKEN}" \
"https://git.farh.net/api/v1/repos/${REPO}/pulls?state=open&base=main&head=release/v${VERSION}" \
| jq -r '.[0].number' 2>/dev/null || echo "")
if [ -n "$EXISTING" ] && [ "$EXISTING" != "null" ]; then
PR_NUMBER="$EXISTING"
echo "::notice::Open PR #${PR_NUMBER} for release/v${VERSION} already exists — skipping creation."
else
echo "::error::Could not determine PR number for release/v${VERSION}."
exit 1
fi
fi
echo "::notice::Working with PR #${PR_NUMBER}"
PR_STATE=$(curl -sf \
-H "Authorization: token ${GITEA_TOKEN}" \
"https://git.farh.net/api/v1/repos/${REPO}/pulls/${PR_NUMBER}" \
| jq -r '.state' 2>/dev/null || echo "")
if [ "$PR_STATE" = "merged" ]; then
echo "::notice::PR #${PR_NUMBER} was already merged. Nothing to do."
exit 0
fi
MERGE_RESULT=$(curl -sf -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
"https://git.farh.net/api/v1/repos/${REPO}/pulls/${PR_NUMBER}/merge" \
-d '{"do": "squash"}')
if echo "$MERGE_RESULT" | jq -e '.merged' 2>/dev/null; then
echo "PR merged successfully."
else
if [ "$PR_STATE" = "merged" ]; then
echo "PR was already merged."
else
echo "::warning::Merge response: $MERGE_RESULT"
fi
fi
- name: Verify checksums are consistent (main == tag == tarball)
env:
GITEA_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
REPO: ${{ github.repository }}
run: |
VERSION="${{ env.RESOLVED_VERSION }}"
TARBALL_CS=$(sha256sum "${{ env.TARBALL }}" | awk '{print $1}')
TAG_CS=$(git show "v${VERSION}:artifacthub-pkg.yml" 2>/dev/null \
| grep "archive-checksum" | awk '{print $2}' | sed 's/sha256://')
MAIN_CS=$(git fetch origin main 2>/dev/null; git show "origin/main:artifacthub-pkg.yml" \
| grep "archive-checksum" | awk '{print $2}' | sed 's/sha256://')
echo "Tarball SHA256 : $TARBALL_CS"
echo "Tag artifacthub: $TAG_CS"
echo "Main artifacthub: $MAIN_CS"
FAIL=0
[ "$TARBALL_CS" != "$TAG_CS" ] && echo "ERROR: tag checksum mismatch!" && FAIL=1
[ "$TARBALL_CS" != "$MAIN_CS" ] && echo "ERROR: main checksum mismatch!" && FAIL=1
[ "$FAIL" = "1" ] && exit 1
echo "All checksums consistent — ArtifactHub will index correctly."
+1 -1
View File
@@ -10,5 +10,5 @@ jobs:
- uses: actions/checkout@v4
- uses: renovatebot/github-action@v40.3.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
configurationFile: renovate.json
renovate-json5: true
+69
View File
@@ -0,0 +1,69 @@
import { test as setup, expect, Page } from '@playwright/test';
const AUTH_STATE_PATH = 'e2e/.auth/state.json';
async function authenticateWithOIDC(page: Page, username: string, password: string): Promise<void> {
await page.goto('/');
await page.waitForURL('**/login');
const popupPromise = page.waitForEvent('popup');
await page.getByRole('button', { name: /sign in/i }).click();
const popup = await popupPromise;
await popup.waitForLoadState('domcontentloaded');
await popup.waitForLoadState('networkidle');
const usernameField = popup.getByRole('textbox', { name: /email or username/i });
await usernameField.waitFor({ state: 'visible', timeout: 15_000 });
await usernameField.fill(username);
await popup.getByRole('button', { name: /log in/i }).click();
await popup.waitForLoadState('networkidle');
const passwordField = popup.getByRole('textbox', { name: /password/i });
await passwordField.waitFor({ state: 'visible', timeout: 15_000 });
await passwordField.fill(password);
await popup.getByRole('button', { name: /continue|log in/i }).click();
await popup.waitForEvent('close', { timeout: 15_000 });
await expect(page.getByRole('navigation', { name: 'Navigation' })).toBeVisible({
timeout: 15_000,
});
}
async function authenticateWithToken(page: Page, token: string): Promise<void> {
await page.goto('/');
await page.waitForURL(/\/(login|token)$/);
if (page.url().includes('/login')) {
const useTokenBtn = page.getByRole('button', { name: /use a token/i });
await useTokenBtn.waitFor({ state: 'visible', timeout: 15_000 });
await useTokenBtn.click();
await page.waitForURL('**/token');
}
await page.getByRole('textbox', { name: /id token/i }).fill(token);
await page.getByRole('button', { name: /authenticate/i }).click();
await expect(page.getByRole('navigation', { name: 'Navigation' })).toBeVisible({
timeout: 15_000,
});
}
setup('authenticate with Headlamp', async ({ page }) => {
const username = process.env.AUTHENTIK_USERNAME;
const password = process.env.AUTHENTIK_PASSWORD;
const token = process.env.HEADLAMP_TOKEN;
if (username && password) {
await authenticateWithOIDC(page, username, password);
} else if (token) {
await authenticateWithToken(page, token);
} else {
throw new Error(
'Set AUTHENTIK_USERNAME + AUTHENTIK_PASSWORD for OIDC auth, or HEADLAMP_TOKEN for token auth'
);
}
await page.context().storageState({ path: AUTH_STATE_PATH });
});
+63
View File
@@ -0,0 +1,63 @@
import { test, expect } from '@playwright/test';
async function waitForSidebar(page: import('@playwright/test').Page) {
const sidebar = page.getByRole('navigation', { name: 'Navigation' });
await expect(sidebar).toBeVisible({ timeout: 15_000 });
await page.waitForLoadState('networkidle');
return sidebar;
}
test.describe('Rook plugin smoke tests', () => {
test('sidebar contains Rook entry', async ({ page }) => {
await page.goto('/');
const sidebar = await waitForSidebar(page);
await expect(sidebar.getByRole('button', { name: /rook/i })).toBeVisible();
});
test('Rook sidebar entry navigates to overview', async ({ page }) => {
await page.goto('/');
const sidebar = await waitForSidebar(page);
const rookEntry = sidebar.getByRole('button', { name: /rook/i });
await expect(rookEntry).toBeVisible();
await rookEntry.click();
await page.waitForLoadState('networkidle');
await expect(page).toHaveURL(/rook-ceph/);
await expect(page.getByRole('heading', { name: /overview/i })).toBeVisible();
});
test('overview page renders content', async ({ page }) => {
await page.goto('/c/main/rook-ceph');
await waitForSidebar(page);
await expect(page.getByRole('heading', { name: /overview/i })).toBeVisible({
timeout: 15_000,
});
const hasContent = await page.locator('text=/cluster|ceph|status/i').first().isVisible().catch(() => false);
const hasDashboard = await page.locator('[class*="Mui"]').first().isVisible().catch(() => false);
expect(hasContent || hasDashboard).toBe(true);
});
test('navigation to storage classes view works', async ({ page }) => {
await page.goto('/c/main/rook-ceph');
const sidebar = page.getByRole('navigation', { name: 'Navigation' });
const storageClassesLink = sidebar.getByRole('link', { name: /storage classes/i });
await expect(storageClassesLink).toBeVisible({ timeout: 10_000 });
await storageClassesLink.click();
await page.waitForLoadState('networkidle');
await expect(page).toHaveURL(/rook-ceph\/storage-classes/);
await expect(page.getByRole('heading', { name: /storage class/i })).toBeVisible({ timeout: 15_000 });
});
test('plugin settings page shows rook plugin entry', async ({ page }) => {
await page.goto('/settings/plugins');
await page.waitForLoadState('networkidle');
const pluginEntry = page.locator('text=rook').first();
await expect(pluginEntry).toBeVisible({ timeout: 30_000 });
});
});
+4 -9
View File
@@ -22,12 +22,15 @@
"format": "prettier --write src/",
"format:check": "prettier --check src/",
"test": "vitest run",
"test:watch": "vitest"
"test:watch": "vitest",
"e2e": "playwright test",
"e2e:headed": "playwright test --headed"
},
"devDependencies": {
"@headlamp-k8s/eslint-config": "^0.6.0",
"@kinvolk/headlamp-plugin": "^0.13.0",
"@mui/material": "^5.15.14",
"@playwright/test": "^1.58.2",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
@@ -49,13 +52,5 @@
"vite": ">=6.4.2",
"lodash": ">=4.18.0",
"elliptic": ">=6.6.1"
},
"packageManager": "pnpm@9.15.4",
"pnpm": {
"onlyBuiltDependencies": [
"@swc/core",
"esbuild",
"msw"
]
}
}
+27
View File
@@ -0,0 +1,27 @@
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
timeout: 30_000,
expect: { timeout: 10_000 },
fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 1 : 0,
reporter: 'list',
use: {
baseURL: process.env.HEADLAMP_URL || (() => { throw new Error('HEADLAMP_URL is required — run scripts/deploy-e2e-headlamp.sh first'); })(),
trace: 'on-first-retry',
screenshot: 'only-on-failure',
},
projects: [
{ name: 'setup', testMatch: /auth\.setup\.ts/, timeout: 60_000 },
{
name: 'chromium',
use: {
...devices['Desktop Chrome'],
storageState: 'e2e/.auth/state.json',
},
dependencies: ['setup'],
},
],
});
+143 -178
View File
@@ -10,13 +10,16 @@ importers:
devDependencies:
'@headlamp-k8s/eslint-config':
specifier: ^0.6.0
version: 0.6.0(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1)
version: 0.6.0(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1)
'@kinvolk/headlamp-plugin':
specifier: ^0.13.0
version: 0.13.1(@swc/core@1.15.33)(@types/debug@4.1.13)(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(esbuild@0.25.12)(immer@11.1.8)(openapi-types@12.1.3)(postcss@8.5.14)(redux@5.0.1)(rollup@4.60.3)(terser@5.47.1)(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))
version: 0.13.1(@swc/core@1.15.33)(@types/debug@4.1.13)(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(csstype@3.2.3)(esbuild@0.25.12)(immer@11.1.8)(openapi-types@12.1.3)(postcss@8.5.14)(redux@5.0.1)(rollup@4.60.3)(terser@5.47.1)(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))
'@mui/material':
specifier: ^5.15.14
version: 5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@playwright/test':
specifier: ^1.58.2
version: 1.59.1
'@testing-library/jest-dom':
specifier: ^6.4.8
version: 6.9.1
@@ -40,7 +43,7 @@ importers:
version: 24.1.3
notistack:
specifier: ^3.0.0
version: 3.0.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
version: 3.0.2(csstype@3.2.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
prettier:
specifier: ^2.8.8
version: 2.8.8
@@ -58,7 +61,7 @@ importers:
version: 5.6.3
vitest:
specifier: ^3.2.4
version: 3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.8.4)
version: 3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.9.0)
packages:
@@ -988,6 +991,11 @@ packages:
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
engines: {node: '>=14'}
'@playwright/test@1.59.1':
resolution: {integrity: sha512-PG6q63nQg5c9rIi4/Z5lR5IVF7yU5MqmKaPOe0HSc0O2cX1fPi96sUQu5j7eo4gKCkB2AnNGoWt7y4/Xx3Kcqg==}
engines: {node: '>=18'}
hasBin: true
'@popperjs/core@2.11.8':
resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}
@@ -1057,79 +1065,66 @@ packages:
resolution: {integrity: sha512-DV6fJoxEYWJOvaZIsok7KrYl0tPvga5OZ2yvKHNNYyk/2roMLqQAbGhr78EQ5YhHpnhLKJD3S1WFusAkmUuV5g==}
cpu: [arm]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-arm-musleabihf@4.60.3':
resolution: {integrity: sha512-mQKoJAzvuOs6F+TZybQO4GOTSMUu7v0WdxEk24krQ/uUxXoPTtHjuaUuPmFhtBcM4K0ons8nrE3JyhTuCFtT/w==}
cpu: [arm]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-arm64-gnu@4.60.3':
resolution: {integrity: sha512-Whjj2qoiJ6+OOJMGptTYazaJvjOJm+iKHpXQM1P3LzGjt7Ff++Tp7nH4N8J/BUA7R9IHfDyx4DJIflifwnbmIA==}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-arm64-musl@4.60.3':
resolution: {integrity: sha512-4YTNHKqGng5+yiZt3mg77nmyuCfmNfX4fPmyUapBcIk+BdwSwmCWGXOUxhXbBEkFHtoN5boLj/5NON+u5QC9tg==}
cpu: [arm64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-loong64-gnu@4.60.3':
resolution: {integrity: sha512-SU3kNlhkpI4UqlUc2VXPGK9o886ZsSeGfMAX2ba2b8DKmMXq4AL7KUrkSWVbb7koVqx41Yczx6dx5PNargIrEA==}
cpu: [loong64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-loong64-musl@4.60.3':
resolution: {integrity: sha512-6lDLl5h4TXpB1mTf2rQWnAk/LcXrx9vBfu/DT5TIPhvMhRWaZ5MxkIc8u4lJAmBo6klTe1ywXIUHFjylW505sg==}
cpu: [loong64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-ppc64-gnu@4.60.3':
resolution: {integrity: sha512-BMo8bOw8evlup/8G+cj5xWtPyp93xPdyoSN16Zy90Q2QZ0ZYRhCt6ZJSwbrRzG9HApFabjwj2p25TUPDWrhzqQ==}
cpu: [ppc64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-ppc64-musl@4.60.3':
resolution: {integrity: sha512-E0L8X1dZN1/Rph+5VPF6Xj2G7JJvMACVXtamTJIDrVI44Y3K+G8gQaMEAavbqCGTa16InptiVrX6eM6pmJ+7qA==}
cpu: [ppc64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-riscv64-gnu@4.60.3':
resolution: {integrity: sha512-oZJ/WHaVfHUiRAtmTAeo3DcevNsVvH8mbvodjZy7D5QKvCefO371SiKRpxoDcCxB3PTRTLayWBkvmDQKTcX/sw==}
cpu: [riscv64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-riscv64-musl@4.60.3':
resolution: {integrity: sha512-Dhbyh7j9FybM3YaTgaHmVALwA8AkUwTPccyCQ79TG9AJUsMQqgN1DDEZNr4+QUfwiWvLDumW5vdwzoeUF+TNxQ==}
cpu: [riscv64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-s390x-gnu@4.60.3':
resolution: {integrity: sha512-cJd1X5XhHHlltkaypz1UcWLA8AcoIi1aWhsvaWDskD1oz2eKCypnqvTQ8ykMNI0RSmm7NkTdSqSSD7zM0xa6Ig==}
cpu: [s390x]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-x64-gnu@4.60.3':
resolution: {integrity: sha512-DAZDBHQfG2oQuhY7mc6I3/qB4LU2fQCjRvxbDwd/Jdvb9fypP4IJ4qmtu6lNjes6B531AI8cg1aKC2di97bUxA==}
cpu: [x64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-x64-musl@4.60.3':
resolution: {integrity: sha512-cRxsE8c13mZOh3vP+wLDxpQBRrOHDIGOWyDL93Sy0Ga8y515fBcC2pjUfFwUe5T7tqvTvWbCpg1URM/AXdWIXA==}
cpu: [x64]
os: [linux]
libc: [musl]
'@rollup/rollup-openbsd-x64@4.60.3':
resolution: {integrity: sha512-QaWcIgRxqEdQdhJqW4DJctsH6HCmo5vHxY0krHSX4jMtOqfzC+dqDGuHM87bu4H8JBeibWx7jFz+h6/4C8wA5Q==}
@@ -1372,42 +1367,36 @@ packages:
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@swc/core-linux-arm64-musl@1.15.33':
resolution: {integrity: sha512-il7tYM+CpUNzieQbwAjFT1P8zqAhmGWNAGhQZBnxurXZ0aNn+5nqYFTEUKNZl7QibtT0uQXzTZrNGHCIj6Y1Og==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
libc: [musl]
'@swc/core-linux-ppc64-gnu@1.15.33':
resolution: {integrity: sha512-ZtNBwN0Z7CFj9Il0FcPaKdjgP7URyKu/3RfH46vq+0paOBqLj4NYldD6Qo//Duif/7IOtAraUfDOmp0PLAufog==}
engines: {node: '>=10'}
cpu: [ppc64]
os: [linux]
libc: [glibc]
'@swc/core-linux-s390x-gnu@1.15.33':
resolution: {integrity: sha512-De1IyajoOmhOYYjw/lx66bKlyDpHZTueqwpDrWgf5O7T6d1ODeJJO9/OqMBmrBQc5C+dNnlmIufHsp4QVCWufA==}
engines: {node: '>=10'}
cpu: [s390x]
os: [linux]
libc: [glibc]
'@swc/core-linux-x64-gnu@1.15.33':
resolution: {integrity: sha512-mGTH0YxmUN+x6vRN/I6NOk5X0ogNktkwPnJ94IMvR7QjhRDwL0O8RXEDhyUM0YtwWrryBOqaJQBX4zruxEPRGw==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
libc: [glibc]
'@swc/core-linux-x64-musl@1.15.33':
resolution: {integrity: sha512-hj628ZkSEJf6zMf5VMbYrG2O6QqyTIp2qwY6VlCjvIa9lAEZ5c2lfPblCLVGYubTeLJDxadLB/CxqQYOQABeEQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
libc: [musl]
'@swc/core-win32-arm64-msvc@1.15.33':
resolution: {integrity: sha512-GV2oohtN2/5+KSccl86VULu3aT+LrISC8uzgSq0FRnikpD+Zwc+sBlXmoKQ+Db6jI57ITUOIB8jRkdGMABC29g==}
@@ -3052,6 +3041,11 @@ packages:
fs.realpath@1.0.0:
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
fsevents@2.3.2:
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
os: [darwin]
fsevents@2.3.3:
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
@@ -4188,6 +4182,16 @@ packages:
resolution: {integrity: sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==}
engines: {node: '>=10'}
playwright-core@1.59.1:
resolution: {integrity: sha512-HBV/RJg81z5BiiZ9yPzIiClYV/QMsDCKUyogwH9p3MCP6IYjUFu/MActgYAvK0oWyV9NlwM3GLBjADyWgydVyg==}
engines: {node: '>=18'}
hasBin: true
playwright@1.59.1:
resolution: {integrity: sha512-C8oWjPR3F81yljW9o5OxcWzfh6avkVwDD2VYdwIGqTkl+OGFISgypqzfu7dOe4QNLL2aqcWBmI3PMtLIK233lw==}
engines: {node: '>=18'}
hasBin: true
possible-typed-array-names@1.1.0:
resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}
engines: {node: '>= 0.4'}
@@ -5503,8 +5507,8 @@ packages:
resolution: {integrity: sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA==}
engines: {node: '>= 6'}
yaml@2.8.4:
resolution: {integrity: sha512-ml/JPOj9fOQK8RNnWojA67GbZ0ApXAUlN2UQclwv2eVgTgn7O9gg9o7paZWKMp4g0H3nTLtS9LVzhkpOFIKzog==}
yaml@2.9.0:
resolution: {integrity: sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==}
engines: {node: '>= 14.6'}
hasBin: true
@@ -6009,7 +6013,7 @@ snapshots:
dependencies:
is-negated-glob: 1.0.0
'@headlamp-k8s/eslint-config@0.6.0(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1)':
'@headlamp-k8s/eslint-config@0.6.0(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1)':
dependencies:
'@typescript-eslint/eslint-plugin': 8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)
'@typescript-eslint/parser': 8.59.2(eslint@8.57.1)(typescript@5.5.4)
@@ -6020,7 +6024,7 @@ snapshots:
eslint-plugin-react: 7.35.0(eslint@8.57.1)
eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1)
eslint-plugin-simple-import-sort: 12.1.1(eslint@8.57.1)
eslint-plugin-unused-imports: 4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)
eslint-plugin-unused-imports: 4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
@@ -6104,12 +6108,12 @@ snapshots:
'@istanbuljs/schema@0.1.6': {}
'@joshwooding/vite-plugin-react-docgen-typescript@0.6.1(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))':
'@joshwooding/vite-plugin-react-docgen-typescript@0.6.1(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))':
dependencies:
glob: 10.5.0
magic-string: 0.30.21
react-docgen-typescript: 2.4.0(typescript@5.6.2)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
optionalDependencies:
typescript: 5.6.2
@@ -6147,12 +6151,12 @@ snapshots:
dependencies:
jsep: 1.4.0
'@kinvolk/headlamp-plugin@0.13.1(@swc/core@1.15.33)(@types/debug@4.1.13)(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(esbuild@0.25.12)(immer@11.1.8)(openapi-types@12.1.3)(postcss@8.5.14)(redux@5.0.1)(rollup@4.60.3)(terser@5.47.1)(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))':
'@kinvolk/headlamp-plugin@0.13.1(@swc/core@1.15.33)(@types/debug@4.1.13)(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(csstype@3.2.3)(esbuild@0.25.12)(immer@11.1.8)(openapi-types@12.1.3)(postcss@8.5.14)(redux@5.0.1)(rollup@4.60.3)(terser@5.47.1)(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))':
dependencies:
'@apidevtools/swagger-parser': 10.1.1(openapi-types@12.1.3)
'@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1)
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
'@headlamp-k8s/eslint-config': 0.6.0(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint@8.57.1)
'@headlamp-k8s/eslint-config': 0.6.0(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint-config-prettier@9.1.2(eslint@8.57.1))(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.35.0(eslint@8.57.1))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.1))(eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1))(eslint@8.57.1)
'@headlamp-k8s/pluginctl': 0.1.1
'@iconify/icons-mdi': 1.2.48
'@iconify/react': 3.2.2(react@18.3.1)
@@ -6164,11 +6168,11 @@ snapshots:
'@mui/x-date-pickers': 7.29.4(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@mui/x-tree-view': 6.17.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@mui/material@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@mui/system@5.18.0(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@emotion/styled@11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@reduxjs/toolkit': 2.11.2(react-redux@9.2.0(@types/react@18.3.28)(react@18.3.1)(redux@5.0.1))(react@18.3.1)
'@storybook/addon-docs': 9.1.20(@types/react@18.3.28)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))
'@storybook/addon-links': 9.1.20(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))
'@storybook/addon-docs': 9.1.20(@types/react@18.3.28)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))
'@storybook/addon-links': 9.1.20(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))
'@storybook/addon-webpack5-compiler-swc': 3.0.0(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))
'@storybook/react-vite': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.60.3)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
'@storybook/react-webpack5': 9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)
'@storybook/react-vite': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.60.3)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
'@storybook/react-webpack5': 9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)
'@tanstack/react-query': 5.100.9(react@18.3.1)
'@testing-library/dom': 10.4.1
'@testing-library/jest-dom': 6.9.1
@@ -6186,9 +6190,9 @@ snapshots:
'@types/react-router-dom': 5.3.3
'@types/react-window': 1.8.8
'@types/semver': 7.7.1
'@typescript-eslint/eslint-plugin': 8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2)
'@vitejs/plugin-react': 4.7.0(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
'@vitest/coverage-istanbul': 3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.8.4))
'@typescript-eslint/eslint-plugin': 8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)
'@vitejs/plugin-react': 4.7.0(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
'@vitest/coverage-istanbul': 3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.9.0))
'@xterm/addon-fit': 0.10.0(@xterm/xterm@5.5.0)
'@xterm/addon-search': 0.15.0(@xterm/xterm@5.5.0)
'@xterm/xterm': 5.5.0
@@ -6203,7 +6207,7 @@ snapshots:
eslint-plugin-react: 7.35.0(eslint@8.57.1)
eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1)
eslint-plugin-simple-import-sort: 12.1.1(eslint@8.57.1)
eslint-plugin-unused-imports: 4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)
eslint-plugin-unused-imports: 4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)
fast-check: 4.7.0
fs-extra: 11.3.5
fuse.js: 7.3.0
@@ -6216,11 +6220,11 @@ snapshots:
jsdom: 24.1.3
jsonpath-plus: 10.4.0
lodash: 4.18.1
material-react-table: 2.13.3(93149b7a28d7dcf9399e2d03ebc8c990)
material-react-table: 2.13.3(fztvggcltry67ds2nv4c5qir4m)
monaco-editor: 0.52.2
msw: 2.4.9(typescript@5.6.2)
msw-storybook-addon: 2.0.3(msw@2.4.9(typescript@5.6.3))
notistack: 3.0.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
notistack: 3.0.2(csstype@3.2.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
path-browserify: 1.0.1
prettier: 2.8.8
process: 0.11.10
@@ -6239,19 +6243,19 @@ snapshots:
shx: 0.4.0
simple-eval: 2.0.0
spacetime: 7.12.0
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
table: 6.9.0
tar: 7.5.15
ts-loader: 9.5.7(typescript@5.6.2)(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))
typescript: 5.6.2
validate-npm-package-name: 3.0.0
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite-plugin-css-injected-by-js: 3.5.2(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
vite-plugin-node-polyfills: 0.23.0(rollup@4.60.3)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
vite-plugin-static-copy: 3.4.0(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
vite-plugin-svgr: 4.5.0(rollup@4.60.3)(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
vitest: 3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.8.4)
yaml: 2.8.4
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
vite-plugin-css-injected-by-js: 3.5.2(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
vite-plugin-node-polyfills: 0.23.0(rollup@4.60.3)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
vite-plugin-static-copy: 3.4.0(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
vite-plugin-svgr: 4.5.0(rollup@4.60.3)(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
vitest: 3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.9.0)
yaml: 2.9.0
yargs: 17.7.2
transitivePeerDependencies:
- '@edge-runtime/vm'
@@ -6271,6 +6275,7 @@ snapshots:
- clean-css
- cssnano
- csso
- csstype
- date-fns
- date-fns-jalali
- dayjs
@@ -6559,6 +6564,10 @@ snapshots:
'@pkgjs/parseargs@0.11.0':
optional: true
'@playwright/test@1.59.1':
dependencies:
playwright: 1.59.1
'@popperjs/core@2.11.8': {}
'@reduxjs/toolkit@2.11.2(react-redux@9.2.0(@types/react@18.3.28)(react@18.3.1)(redux@5.0.1))(react@18.3.1)':
@@ -6672,23 +6681,23 @@ snapshots:
'@standard-schema/utils@0.3.0': {}
'@storybook/addon-docs@9.1.20(@types/react@18.3.28)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))':
'@storybook/addon-docs@9.1.20(@types/react@18.3.28)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))':
dependencies:
'@mdx-js/react': 3.1.1(@types/react@18.3.28)(react@18.3.1)
'@storybook/csf-plugin': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))
'@storybook/csf-plugin': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))
'@storybook/icons': 1.6.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@storybook/react-dom-shim': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))
'@storybook/react-dom-shim': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
ts-dedent: 2.2.0
transitivePeerDependencies:
- '@types/react'
'@storybook/addon-links@9.1.20(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))':
'@storybook/addon-links@9.1.20(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))':
dependencies:
'@storybook/global': 5.0.0
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
optionalDependencies:
react: 18.3.1
@@ -6700,16 +6709,16 @@ snapshots:
- '@swc/helpers'
- webpack
'@storybook/builder-vite@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))':
'@storybook/builder-vite@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))':
dependencies:
'@storybook/csf-plugin': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
'@storybook/csf-plugin': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
ts-dedent: 2.2.0
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
'@storybook/builder-webpack5@9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)':
'@storybook/builder-webpack5@9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)':
dependencies:
'@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))
'@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))
case-sensitive-paths-webpack-plugin: 2.4.0
cjs-module-lexer: 1.4.3
css-loader: 6.11.0(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))
@@ -6717,7 +6726,7 @@ snapshots:
fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.6.2)(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))
html-webpack-plugin: 5.6.7(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))
magic-string: 0.30.21
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
style-loader: 3.3.4(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))
terser-webpack-plugin: 5.6.0(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))
ts-dedent: 2.2.0
@@ -6743,14 +6752,14 @@ snapshots:
- uglify-js
- webpack-cli
'@storybook/core-webpack@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))':
'@storybook/core-webpack@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))':
dependencies:
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
ts-dedent: 2.2.0
'@storybook/csf-plugin@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))':
'@storybook/csf-plugin@9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))':
dependencies:
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
unplugin: 1.16.1
'@storybook/global@5.0.0': {}
@@ -6760,9 +6769,9 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
'@storybook/preset-react-webpack@9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)':
'@storybook/preset-react-webpack@9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)':
dependencies:
'@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))
'@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))
'@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.6.2)(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14))
'@types/semver': 7.7.1
find-up: 7.0.0
@@ -6772,7 +6781,7 @@ snapshots:
react-dom: 18.3.1(react@18.3.1)
resolve: 1.22.12
semver: 7.8.0
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
tsconfig-paths: 4.2.0
webpack: 5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)
optionalDependencies:
@@ -6807,40 +6816,40 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@storybook/react-dom-shim@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))':
'@storybook/react-dom-shim@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))':
dependencies:
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
'@storybook/react-vite@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.60.3)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))':
'@storybook/react-vite@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.60.3)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))':
dependencies:
'@joshwooding/vite-plugin-react-docgen-typescript': 0.6.1(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
'@joshwooding/vite-plugin-react-docgen-typescript': 0.6.1(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
'@rollup/pluginutils': 5.3.0(rollup@4.60.3)
'@storybook/builder-vite': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
'@storybook/react': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)
'@storybook/builder-vite': 9.1.20(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
'@storybook/react': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)
find-up: 7.0.0
magic-string: 0.30.21
react: 18.3.1
react-docgen: 8.0.3
react-dom: 18.3.1(react@18.3.1)
resolve: 1.22.12
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
tsconfig-paths: 4.2.0
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
transitivePeerDependencies:
- rollup
- supports-color
- typescript
'@storybook/react-webpack5@9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)':
'@storybook/react-webpack5@9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)':
dependencies:
'@storybook/builder-webpack5': 9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)
'@storybook/preset-react-webpack': 9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)
'@storybook/react': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)
'@storybook/builder-webpack5': 9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)
'@storybook/preset-react-webpack': 9.1.20(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)
'@storybook/react': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
optionalDependencies:
typescript: 5.6.2
transitivePeerDependencies:
@@ -6860,13 +6869,13 @@ snapshots:
- uglify-js
- webpack-cli
'@storybook/react@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))(typescript@5.6.2)':
'@storybook/react@9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))(typescript@5.6.2)':
dependencies:
'@storybook/global': 5.0.0
'@storybook/react-dom-shim': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)))
'@storybook/react-dom-shim': 9.1.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)))
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
storybook: 9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
optionalDependencies:
typescript: 5.6.2
@@ -7260,7 +7269,7 @@ snapshots:
'@types/wrap-ansi@3.0.0': {}
'@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2)':
'@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)':
dependencies:
'@eslint-community/regexpp': 4.12.2
'@typescript-eslint/parser': 8.59.2(eslint@8.57.1)(typescript@5.6.3)
@@ -7272,22 +7281,6 @@ snapshots:
ignore: 7.0.5
natural-compare: 1.4.0
ts-api-utils: 2.5.0(typescript@5.6.2)
typescript: 5.6.2
transitivePeerDependencies:
- supports-color
'@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)':
dependencies:
'@eslint-community/regexpp': 4.12.2
'@typescript-eslint/parser': 8.59.2(eslint@8.57.1)(typescript@5.6.3)
'@typescript-eslint/scope-manager': 8.59.2
'@typescript-eslint/type-utils': 8.59.2(eslint@8.57.1)(typescript@5.6.3)
'@typescript-eslint/utils': 8.59.2(eslint@8.57.1)(typescript@5.6.3)
'@typescript-eslint/visitor-keys': 8.59.2
eslint: 8.57.1
ignore: 7.0.5
natural-compare: 1.4.0
ts-api-utils: 2.5.0(typescript@5.6.3)
typescript: 5.6.3
transitivePeerDependencies:
- supports-color
@@ -7334,15 +7327,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/project-service@8.59.2(typescript@5.6.3)':
dependencies:
'@typescript-eslint/tsconfig-utils': 8.59.2(typescript@5.6.3)
'@typescript-eslint/types': 8.59.2
debug: 4.4.3
typescript: 5.6.3
transitivePeerDependencies:
- supports-color
'@typescript-eslint/scope-manager@8.59.2':
dependencies:
'@typescript-eslint/types': 8.59.2
@@ -7356,10 +7340,6 @@ snapshots:
dependencies:
typescript: 5.6.2
'@typescript-eslint/tsconfig-utils@8.59.2(typescript@5.6.3)':
dependencies:
typescript: 5.6.3
'@typescript-eslint/type-utils@8.59.2(eslint@8.57.1)(typescript@5.6.2)':
dependencies:
'@typescript-eslint/types': 8.59.2
@@ -7372,18 +7352,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/type-utils@8.59.2(eslint@8.57.1)(typescript@5.6.3)':
dependencies:
'@typescript-eslint/types': 8.59.2
'@typescript-eslint/typescript-estree': 8.59.2(typescript@5.6.3)
'@typescript-eslint/utils': 8.59.2(eslint@8.57.1)(typescript@5.6.3)
debug: 4.4.3
eslint: 8.57.1
ts-api-utils: 2.5.0(typescript@5.6.3)
typescript: 5.6.3
transitivePeerDependencies:
- supports-color
'@typescript-eslint/types@8.59.2': {}
'@typescript-eslint/typescript-estree@8.59.2(typescript@5.5.4)':
@@ -7418,15 +7386,15 @@ snapshots:
'@typescript-eslint/typescript-estree@8.59.2(typescript@5.6.3)':
dependencies:
'@typescript-eslint/project-service': 8.59.2(typescript@5.6.3)
'@typescript-eslint/tsconfig-utils': 8.59.2(typescript@5.6.3)
'@typescript-eslint/project-service': 8.59.2(typescript@5.6.2)
'@typescript-eslint/tsconfig-utils': 8.59.2(typescript@5.6.2)
'@typescript-eslint/types': 8.59.2
'@typescript-eslint/visitor-keys': 8.59.2
debug: 4.4.3
minimatch: 10.2.5
semver: 7.8.0
tinyglobby: 0.2.16
ts-api-utils: 2.5.0(typescript@5.6.3)
ts-api-utils: 2.5.0(typescript@5.6.2)
typescript: 5.6.3
transitivePeerDependencies:
- supports-color
@@ -7442,17 +7410,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/utils@8.59.2(eslint@8.57.1)(typescript@5.6.3)':
dependencies:
'@eslint-community/eslint-utils': 4.9.1(eslint@8.57.1)
'@typescript-eslint/scope-manager': 8.59.2
'@typescript-eslint/types': 8.59.2
'@typescript-eslint/typescript-estree': 8.59.2(typescript@5.6.3)
eslint: 8.57.1
typescript: 5.6.3
transitivePeerDependencies:
- supports-color
'@typescript-eslint/visitor-keys@8.59.2':
dependencies:
'@typescript-eslint/types': 8.59.2
@@ -7460,7 +7417,7 @@ snapshots:
'@ungap/structured-clone@1.3.1': {}
'@vitejs/plugin-react@4.7.0(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))':
'@vitejs/plugin-react@4.7.0(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))':
dependencies:
'@babel/core': 7.29.0
'@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.29.0)
@@ -7468,11 +7425,11 @@ snapshots:
'@rolldown/pluginutils': 1.0.0-beta.27
'@types/babel__core': 7.20.5
react-refresh: 0.17.0
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
transitivePeerDependencies:
- supports-color
'@vitest/coverage-istanbul@3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.8.4))':
'@vitest/coverage-istanbul@3.2.4(vitest@3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.9.0))':
dependencies:
'@istanbuljs/schema': 0.1.6
debug: 4.4.3
@@ -7484,7 +7441,7 @@ snapshots:
magicast: 0.3.5
test-exclude: 7.0.2
tinyrainbow: 2.0.0
vitest: 3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.8.4)
vitest: 3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.9.0)
transitivePeerDependencies:
- supports-color
@@ -7496,23 +7453,23 @@ snapshots:
chai: 5.3.3
tinyrainbow: 2.0.0
'@vitest/mocker@3.2.4(msw@2.4.9(typescript@5.6.3))(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))':
'@vitest/mocker@3.2.4(msw@2.4.9(typescript@5.6.3))(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))':
dependencies:
'@vitest/spy': 3.2.4
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
msw: 2.4.9(typescript@5.6.2)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
'@vitest/mocker@3.2.4(msw@2.4.9(typescript@5.6.3))(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))':
'@vitest/mocker@3.2.4(msw@2.4.9(typescript@5.6.3))(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))':
dependencies:
'@vitest/spy': 3.2.4
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
msw: 2.4.9(typescript@5.6.2)
vite: 7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
'@vitest/pretty-format@3.2.4':
dependencies:
@@ -8815,7 +8772,7 @@ snapshots:
dependencies:
eslint: 8.57.1
eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1):
eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.59.2(@typescript-eslint/parser@8.59.2(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1):
dependencies:
eslint: 8.57.1
optionalDependencies:
@@ -9099,6 +9056,9 @@ snapshots:
fs.realpath@1.0.0: {}
fsevents@2.3.2:
optional: true
fsevents@2.3.3:
optional: true
@@ -9843,7 +9803,7 @@ snapshots:
'@types/minimatch': 3.0.5
minimatch: 3.1.5
material-react-table@2.13.3(93149b7a28d7dcf9399e2d03ebc8c990):
material-react-table@2.13.3(fztvggcltry67ds2nv4c5qir4m):
dependencies:
'@emotion/react': 11.14.0(@types/react@18.3.28)(react@18.3.1)
'@emotion/styled': 11.14.1(@emotion/react@11.14.0(@types/react@18.3.28)(react@18.3.1))(@types/react@18.3.28)(react@18.3.1)
@@ -10234,13 +10194,14 @@ snapshots:
normalize-path@3.0.0: {}
notistack@3.0.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
notistack@3.0.2(csstype@3.2.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
dependencies:
clsx: 1.2.1
csstype: 3.2.3
goober: 2.1.18(csstype@3.2.3)
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
transitivePeerDependencies:
- csstype
now-and-later@3.0.0:
dependencies:
@@ -10478,6 +10439,14 @@ snapshots:
dependencies:
find-up: 5.0.0
playwright-core@1.59.1: {}
playwright@1.59.1:
dependencies:
playwright-core: 1.59.1
optionalDependencies:
fsevents: 2.3.2
possible-typed-array-names@1.1.0: {}
postcss-modules-extract-imports@3.1.0(postcss@8.5.14):
@@ -11144,13 +11113,13 @@ snapshots:
es-errors: 1.3.0
internal-slot: 1.1.0
storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)):
storybook@9.1.20(@testing-library/dom@10.4.1)(msw@2.4.9(typescript@5.6.3))(prettier@2.8.8)(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)):
dependencies:
'@storybook/global': 5.0.0
'@testing-library/jest-dom': 6.9.1
'@testing-library/user-event': 14.6.1(@testing-library/dom@10.4.1)
'@vitest/expect': 3.2.4
'@vitest/mocker': 3.2.4(msw@2.4.9(typescript@5.6.3))(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
'@vitest/mocker': 3.2.4(msw@2.4.9(typescript@5.6.3))(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
'@vitest/spy': 3.2.4
better-opn: 3.0.2
esbuild: 0.25.12
@@ -11461,10 +11430,6 @@ snapshots:
dependencies:
typescript: 5.6.2
ts-api-utils@2.5.0(typescript@5.6.3):
dependencies:
typescript: 5.6.3
ts-dedent@2.2.0: {}
ts-loader@9.5.7(typescript@5.6.2)(webpack@5.106.2(@swc/core@1.15.33)(esbuild@0.25.12)(postcss@8.5.14)):
@@ -11726,13 +11691,13 @@ snapshots:
- bare-abort-controller
- react-native-b4a
vite-node@3.2.4(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4):
vite-node@3.2.4(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0):
dependencies:
cac: 6.7.14
debug: 4.4.3
es-module-lexer: 1.7.0
pathe: 2.0.3
vite: 7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
transitivePeerDependencies:
- '@types/node'
- jiti
@@ -11747,38 +11712,38 @@ snapshots:
- tsx
- yaml
vite-plugin-css-injected-by-js@3.5.2(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)):
vite-plugin-css-injected-by-js@3.5.2(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)):
dependencies:
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
vite-plugin-node-polyfills@0.23.0(rollup@4.60.3)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)):
vite-plugin-node-polyfills@0.23.0(rollup@4.60.3)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)):
dependencies:
'@rollup/plugin-inject': 5.0.5(rollup@4.60.3)
node-stdlib-browser: 1.3.1
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
transitivePeerDependencies:
- rollup
vite-plugin-static-copy@3.4.0(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)):
vite-plugin-static-copy@3.4.0(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)):
dependencies:
chokidar: 3.6.0
p-map: 7.0.4
picocolors: 1.1.1
tinyglobby: 0.2.16
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
vite-plugin-svgr@4.5.0(rollup@4.60.3)(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)):
vite-plugin-svgr@4.5.0(rollup@4.60.3)(typescript@5.6.2)(vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)):
dependencies:
'@rollup/pluginutils': 5.3.0(rollup@4.60.3)
'@svgr/core': 8.1.0(typescript@5.6.2)
'@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0(typescript@5.6.2))
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
transitivePeerDependencies:
- rollup
- supports-color
- typescript
vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4):
vite@6.4.2(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0):
dependencies:
esbuild: 0.25.12
fdir: 6.5.0(picomatch@4.0.4)
@@ -11790,9 +11755,9 @@ snapshots:
'@types/node': 20.19.40
fsevents: 2.3.3
terser: 5.47.1
yaml: 2.8.4
yaml: 2.9.0
vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4):
vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0):
dependencies:
esbuild: 0.27.7
fdir: 6.5.0(picomatch@4.0.4)
@@ -11804,13 +11769,13 @@ snapshots:
'@types/node': 20.19.40
fsevents: 2.3.3
terser: 5.47.1
yaml: 2.8.4
yaml: 2.9.0
vitest@3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.8.4):
vitest@3.2.4(@types/debug@4.1.13)(@types/node@20.19.40)(jsdom@24.1.3)(msw@2.4.9(typescript@5.6.3))(terser@5.47.1)(yaml@2.9.0):
dependencies:
'@types/chai': 5.2.3
'@vitest/expect': 3.2.4
'@vitest/mocker': 3.2.4(msw@2.4.9(typescript@5.6.3))(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4))
'@vitest/mocker': 3.2.4(msw@2.4.9(typescript@5.6.3))(vite@7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0))
'@vitest/pretty-format': 3.2.4
'@vitest/runner': 3.2.4
'@vitest/snapshot': 3.2.4
@@ -11828,8 +11793,8 @@ snapshots:
tinyglobby: 0.2.16
tinypool: 1.1.1
tinyrainbow: 2.0.0
vite: 7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite-node: 3.2.4(@types/node@20.19.40)(terser@5.47.1)(yaml@2.8.4)
vite: 7.3.3(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
vite-node: 3.2.4(@types/node@20.19.40)(terser@5.47.1)(yaml@2.9.0)
why-is-node-running: 2.3.0
optionalDependencies:
'@types/debug': 4.1.13
@@ -12034,7 +11999,7 @@ snapshots:
yaml@1.10.3: {}
yaml@2.8.4: {}
yaml@2.9.0: {}
yargs-parser@21.1.1: {}
+189
View File
@@ -0,0 +1,189 @@
#!/usr/bin/env bash
# deploy-e2e-headlamp.sh
#
# Deploys a stock Headlamp instance with the rook plugin loaded via
# a ConfigMap volume mount.
#
# E2E resources are deployed to the `headlamp-dev` namespace. Nothing
# persists beyond the test run — teardown cleans up all created resources.
#
# Prerequisites:
# - Plugin built (dist/ exists with plugin-main.js + package.json)
# - kubectl configured with cluster access
#
# Environment:
# E2E_NAMESPACE — namespace for E2E Headlamp (default: headlamp-dev)
# E2E_RELEASE — release/resource name prefix (default: headlamp-e2e)
# HEADLAMP_VERSION — Headlamp image tag (default: latest)
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
DIST_DIR="$REPO_ROOT/dist"
E2E_NAMESPACE="${E2E_NAMESPACE:-headlamp-dev}"
E2E_RELEASE="${E2E_RELEASE:-headlamp-e2e}"
HEADLAMP_VERSION="${HEADLAMP_VERSION:-latest}"
if [ ! -d "$DIST_DIR" ]; then
echo "ERROR: dist/ not found. Run 'pnpm build' first." >&2
exit 1
fi
echo "Checking RBAC permissions in namespace '${E2E_NAMESPACE}'..."
if ! kubectl auth can-i delete configmaps -n "$E2E_NAMESPACE" --quiet 2>/dev/null; then
echo "ERROR: Missing RBAC — cannot delete configmaps in namespace '${E2E_NAMESPACE}'." >&2
exit 1
fi
echo "=== E2E Headlamp Deployment ==="
echo " Image: ghcr.io/headlamp-k8s/headlamp:${HEADLAMP_VERSION}"
echo " Namespace: $E2E_NAMESPACE"
echo " Release: $E2E_RELEASE"
echo ""
echo "Creating ConfigMap with plugin files..."
kubectl delete configmap headlamp-rook-plugin \
-n "$E2E_NAMESPACE" --ignore-not-found
kubectl create configmap headlamp-rook-plugin \
-n "$E2E_NAMESPACE" \
--from-file="$DIST_DIR" \
--from-file=package.json="$REPO_ROOT/package.json"
echo ""
echo "Removing any existing E2E deployment (clean-start)..."
kubectl delete deployment "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found --wait
kubectl delete service "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found --wait
kubectl delete serviceaccount "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found --wait
echo ""
echo "Deploying Headlamp E2E instance..."
kubectl apply -f - <<EOF
apiVersion: v1
kind: ServiceAccount
metadata:
name: ${E2E_RELEASE}
namespace: ${E2E_NAMESPACE}
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ${E2E_RELEASE}
namespace: ${E2E_NAMESPACE}
labels:
app.kubernetes.io/name: headlamp
app.kubernetes.io/instance: ${E2E_RELEASE}
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: headlamp
app.kubernetes.io/instance: ${E2E_RELEASE}
template:
metadata:
labels:
app.kubernetes.io/name: headlamp
app.kubernetes.io/instance: ${E2E_RELEASE}
spec:
serviceAccountName: ${E2E_RELEASE}
automountServiceAccountToken: true
securityContext: {}
containers:
- name: headlamp
image: ghcr.io/headlamp-k8s/headlamp:${HEADLAMP_VERSION}
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
privileged: false
runAsUser: 100
runAsGroup: 101
args:
- "-in-cluster"
- "-in-cluster-context-name=main"
- "-plugins-dir=/headlamp/plugins"
ports:
- name: http
containerPort: 4466
protocol: TCP
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 5
failureThreshold: 6
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 10
volumeMounts:
- name: rook-plugin
mountPath: /headlamp/plugins/headlamp-rook
readOnly: true
volumes:
- name: rook-plugin
configMap:
name: headlamp-rook-plugin
---
apiVersion: v1
kind: Service
metadata:
name: ${E2E_RELEASE}
namespace: ${E2E_NAMESPACE}
labels:
app.kubernetes.io/name: headlamp
app.kubernetes.io/instance: ${E2E_RELEASE}
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: headlamp
app.kubernetes.io/instance: ${E2E_RELEASE}
ports:
- name: http
port: 80
targetPort: http
protocol: TCP
EOF
echo "Waiting for rollout..."
kubectl rollout status "deployment/${E2E_RELEASE}" \
-n "$E2E_NAMESPACE" --timeout=120s
SVC_URL="http://${E2E_RELEASE}.${E2E_NAMESPACE}.svc.cluster.local"
echo ""
echo "Waiting for ${SVC_URL} to be reachable..."
ATTEMPTS=0
MAX_ATTEMPTS=24
until curl -sf --max-time 5 "${SVC_URL}" -o /dev/null 2>/dev/null; do
ATTEMPTS=$((ATTEMPTS + 1))
if [ "$ATTEMPTS" -ge "$MAX_ATTEMPTS" ]; then
echo "ERROR: ${SVC_URL} not reachable after $((MAX_ATTEMPTS * 5))s" >&2
exit 1
fi
echo " [${ATTEMPTS}/${MAX_ATTEMPTS}] not yet reachable, retrying in 5s..."
sleep 5
done
echo ""
echo "E2E Headlamp is ready at: ${SVC_URL}"
echo ""
echo "Creating service account token for E2E auth..."
kubectl create serviceaccount headlamp-e2e-test \
-n "$E2E_NAMESPACE" --dry-run=client -o yaml | kubectl apply -f -
TOKEN=$(kubectl create token headlamp-e2e-test -n "$E2E_NAMESPACE" --duration=1h 2>/dev/null || echo "")
if [ -n "$TOKEN" ]; then
echo "HEADLAMP_URL=${SVC_URL}" > "$REPO_ROOT/.env.e2e"
echo "HEADLAMP_TOKEN=${TOKEN}" >> "$REPO_ROOT/.env.e2e"
echo "Wrote .env.e2e with HEADLAMP_URL and HEADLAMP_TOKEN"
else
echo " WARNING: Could not generate token."
fi
echo ""
echo "E2E deployment complete."
+37
View File
@@ -0,0 +1,37 @@
#!/usr/bin/env bash
# teardown-e2e-headlamp.sh
#
# Tears down the dedicated E2E Headlamp instance deployed by deploy-e2e-headlamp.sh.
#
# Environment:
# E2E_NAMESPACE — namespace to clean up (default: headlamp-dev)
# E2E_RELEASE — release/resource name prefix (default: headlamp-e2e)
set -euo pipefail
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
E2E_NAMESPACE="${E2E_NAMESPACE:-headlamp-dev}"
E2E_RELEASE="${E2E_RELEASE:-headlamp-e2e}"
echo "=== E2E Headlamp Teardown ==="
echo " Namespace: $E2E_NAMESPACE"
echo " Release: $E2E_RELEASE"
echo "Removing Headlamp Deployment, Service, and ServiceAccount..."
kubectl delete deployment "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found
kubectl delete service "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found
kubectl delete serviceaccount "${E2E_RELEASE}" -n "$E2E_NAMESPACE" --ignore-not-found
echo "Cleaning up ConfigMap..."
kubectl delete configmap headlamp-rook-plugin -n "$E2E_NAMESPACE" --ignore-not-found
echo "Cleaning up test service account..."
kubectl delete serviceaccount headlamp-e2e-test -n "$E2E_NAMESPACE" --ignore-not-found
if [ -f "$REPO_ROOT/.env.e2e" ]; then
rm "$REPO_ROOT/.env.e2e"
echo "Removed .env.e2e"
fi
echo ""
echo "E2E teardown complete."