Skip to content

chore: Add CD pipline for syft-restrict#9455

Open
rasswanth-s wants to merge 3 commits into
devfrom
rasswanth/enclaves-demo
Open

chore: Add CD pipline for syft-restrict#9455
rasswanth-s wants to merge 3 commits into
devfrom
rasswanth/enclaves-demo

Conversation

@rasswanth-s

Copy link
Copy Markdown
Collaborator

Summary

The PR aims to add CD pipeline for syft-restrict and also unit tests for syft-restrict to CI

Changes

Testing

Asana task


PR naming convention

Your PR title must follow this format or merging will be blocked:

type: short description in lowercase

Example titles:

  • feat: add retry logic to job approval
  • fix: handle timeout in notification sender
  • docs: update syft-bg README
  • chore: bump dependencies
  • refactor: split init flow into helpers
  • test: add criteria validation tests
  • ci: add release train workflow

Allowed types:

Type When to use Example
feat New feature or capability feat: add DS rejection emails
fix Bug fix fix: handle empty peer list
docs Documentation only docs: update syft-bg README
chore Maintenance, deps, config chore: bump dependencies
refactor Code restructuring (no behavior change) refactor: split init flow
test Adding or updating tests test: add approval criteria tests
ci CI/CD workflow changes ci: add release train workflow
perf Performance improvement perf: cache Drive API responses
build Build system or dependency changes build: pin syft-bg>=0.2.0

Just edit the PR title to fix any errors — the check re-runs automatically.

Auto-labeling

Labels are applied automatically — you don't need to add them manually:

  • Type labels from your PR title (e.g., feat: adds feature, fix: adds bugfix)
  • Package labels from which files you changed (e.g., editing packages/syft-bg/ adds pkg:syft-bg)

These labels are used to auto-generate categorized release notes.

@github-actions github-actions Bot added the chore label Jul 20, 2026
Comment on lines +71 to +80
# 3. syft-perms (depends on syft-permissions)
# 4. syft-job + syft-dataset (depend on syft-perms) — parallel
# 5. syft-bg (depends on syft-job)
# 6. syft-client (depends on all above)
#

release-syft-restrict:
needs: [call-linting-tests, call-unit-tests, call-integration-tests]
if: >-
!cancelled() && !failure() &&
Comment on lines +184 to +204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install the project
run: uv sync --all-extras

- name: Install just
run: |
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin

- name: Run restrict tests
run: just test-unit-restrict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants