glean-ci-integration

Featured

CI/CD for Glean connectors with automated indexing tests and search quality validation. Trigger: "glean CI", "glean GitHub Actions", "glean connector CI/CD".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Glean CI Integration ## Overview Set up CI/CD for Glean enterprise search integrations: run unit tests with mocked search and indexing responses on every PR, validate connector document transforms and search quality against a staging Glean instance on merge to main. Glean indexes content across SaaS tools, so CI pipelines focus on connector data transforms, indexing API calls, and search relevance regression testing. ## GitHub Actions Workflow ```yaml # .github/workflows/glean-ci.yml name: Glean CI on: pull_request: paths: ['src/connectors/**', 'tests/**'] push: branches: [main] jobs: unit-tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: { node-version: '20' } - run: npm ci - run: npm test -- --reporter=verbose integration-tests: if: github.ref == 'refs/heads/main' needs: unit-tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: { node-version: '20' } - run: npm ci - run: npm run test:integration env: GLEAN_API_KEY: ${{ secrets.GLEAN_API_KEY }} GLEAN_DOMAIN: ${{ secrets.GLEAN_DOMAIN }} ``` ## Mock-Based Unit Tests ```typescript // tests/glean-service.test.ts import { describe, it, expect, vi } from 'vitest'; import { indexDocuments, searchDocuments } from '../src/glean-service'; vi.mock('../src/glean-client', () => ({ GleanClient: vi.fn...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category