Skip to content

feat: part 2 content - #7

Merged
Tien-Cheng merged 36 commits into
mainfrom
part-2
Jun 6, 2026
Merged

Tien-Cheng merged 36 commits into
mainfrom
part-2

Conversation

@Tien-Cheng

Copy link
Copy Markdown
Collaborator

This pull request introduces substantial updates for Part 2 of the deployment workshop, focusing on CI/CD, automated testing, containerization, and improved documentation. It adds new workflows for the "Color Swipe" and "Vibe Search" apps, Docker support for the Python microservice, and updates to the workshop README to guide participants through the new features and setup. There are also improvements to the slides deployment workflow and the addition of environment/configuration files for the new services.

The most important changes are:

CI/CD and Testing Workflows:

  • Added .github/workflows/deploy-color-swipe.yml to define a CI/CD pipeline for the Color Swipe web app, including placeholders for test and deploy steps.
  • Added .github/workflows/deploy-vibe-search.yaml and .github/workflows/test-vibe-search.yaml for testing, building, and deploying the new Vibe Search FastAPI service, using Docker and Render, and running tests with uv and pytest. [1] [2]

Containerization and Service Setup:

  • Introduced Docker support for the Vibe Search app with Dockerfile, Dockerfile.preload, .dockerignore, and .gitignore, enabling containerized builds and deployment. [1] [2] [3] [4]
  • Added example environment configuration in .env.example for Vibe Search, including API key, model name, and Sentry DSN.

Vibe Search FastAPI Service:

  • Created the initial FastAPI app structure (app/, app/api/, app/api/dependencies.py) with a dependency for internal API key authentication. [1] [2]

Workshop Documentation Improvements:

  • Major rewrite and expansion of README.md to document Part 2: new setup instructions, repo structure, local and containerized dev steps, and updated schedule and prerequisites. [1] [2] [3] [4] [5] [6]

Slides Deployment Workflow Enhancements:

  • Updated .github/workflows/deploy-slides.yaml to only deploy from main, pin Biome version, add ACT compatibility, and improve artifact verification and conditional steps. [1] [2] [3] [4]

Tien-Cheng and others added 30 commits June 1, 2026 18:32
Add API unit tests (health, colors with mocked Supabase), client tests
(imageUrl), and a Playwright E2E smoke test (load, verify card, swipe).
Configure vitest.config.ts and playwright.config.ts.
Fill-in-the-blanks workflow for testing (Vitest + Playwright) on PRs
and deploying to Cloudflare Workers on push to main.
Step-by-step guide covering Vitest API tests, client tests, Playwright
E2E smoke test, GitHub Actions workflow setup, and secrets configuration.
Add Testing section (why test, testing pyramid, Vitest, Playwright,
checkpoint slides) and CI/CD section (manual deploy pain, CI/CD concepts,
GitHub Actions walkthrough, secrets, checkpoint slides) before the
existing Docker section. Update container CI/CD slide with callback.
@Tien-Cheng
Tien-Cheng merged commit 5bb2270 into main Jun 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants