Commit 0359008
committed
Refactor backend and API to support helm deployments
The frontend has placeholders for helm apps for now.
representing
Squashed commit of the following:
commit a84cd5a
Author: Emma Zheng <zheng861@purdue.edu>
Date: Thu Jan 15 14:04:16 2026 -0500
Remove commit step from workflow
commit 6c2470a
Merge: c53dfac 54929fc
Author: zheng861 <zheng861@purdue.edu>
Date: Thu Jan 15 14:01:47 2026 -0500
Merge branch 'main' into helm-backend
commit c53dfac
Author: zheng861 <zheng861@purdue.edu>
Date: Wed Jan 14 16:09:13 2026 -0500
Update charts
Move hardcoded securityContext and resources to values.yaml
- Including the same key twice(once hardcoded and once conditionally from values) resulted in yaml unmarshal errors
commit bd93fac
Author: zheng861 <zheng861@purdue.edu>
Date: Wed Jan 14 12:47:58 2026 -0500
Bug fixes in deletion and conflicts
commit caabacd
Author: zheng861 <zheng861@purdue.edu>
Date: Wed Jan 14 12:09:26 2026 -0500
Create namespace before running helm job
Otherwise, the job fails because the service user doesn't have permission to read inside a nonexistent namespace.
This also adds the Rancher annotations.
commit c48dbf9
Author: zheng861 <zheng861@purdue.edu>
Date: Tue Jan 13 20:45:48 2026 -0500
Fix status bugs and missing projectId
commit 4678fe4
Author: zheng861 <zheng861@purdue.edu>
Date: Tue Jan 13 19:56:54 2026 -0500
Fix bugs in workflow run handling
commit 8e5d15c
Author: zheng861 <zheng861@purdue.edu>
Date: Tue Jan 13 17:09:15 2026 -0500
Update commit hash and image tag on webhook event
commit 997f015
Author: zheng861 <zheng861@purdue.edu>
Date: Mon Jan 12 17:02:58 2026 -0500
Bug fixes
Avoid cloning functions with structuredClone
Omit deploymentConfigId from configs
Create app group after validating apps, avoiding empty app groups when apps are invalid
commit 4590499
Author: zheng861 <zheng861@purdue.edu>
Date: Mon Jan 12 16:20:08 2026 -0500
Pass projectId in API call
commit 5893510
Author: Emma Zheng <zheng861@purdue.edu>
Date: Sun Jan 11 22:30:07 2026 -0500
Update credentials
commit 75431b7
Author: zheng861 <zheng861@purdue.edu>
Date: Sun Jan 11 22:22:58 2026 -0500
Restore staging build-push workflow
commit e6922c1
Author: zheng861 <zheng861@purdue.edu>
Date: Sun Jan 11 22:14:44 2026 -0500
Directly query OCI repository for chart info
commit ac27491
Author: zheng861 <zheng861@purdue.edu>
Date: Sun Jan 11 20:46:51 2026 -0500
Enable helm deployments from values.yaml
commit 895361e
Author: zheng861 <zheng861@purdue.edu>
Date: Sun Jan 11 19:43:37 2026 -0500
Misc. fixes
- Move @relation to WorkloadConfig and HelmConfig for effective cascade deletion
- Remove REGISTRY_API_URL environment variable
- Add create and update types to prepareMetadataForApps
- Return a deployment title in getDeployment
- Return non-applicable fields as null from getDeployment
- Cache the result of listCharts
- Create or update helm apps using a Job
- Hide non-applicable tabs and fields for helm apps
commit ec207db
Author: FluxCapacitor2 <31071265+FluxCapacitor2@users.noreply.github.com>
Date: Tue Jan 6 03:57:16 2026 -0500
Small misc. changes
commit fd41baa
Author: FluxCapacitor2 <31071265+FluxCapacitor2@users.noreply.github.com>
Date: Tue Jan 6 02:18:13 2026 -0500
Use Promise.allSettled instead of manual try/catch + returning value or error
commit de20bbe
Author: FluxCapacitor2 <31071265+FluxCapacitor2@users.noreply.github.com>
Date: Tue Jan 6 01:58:33 2026 -0500
Add cast methods that enforce correct config type
commit 8b45bc0
Author: FluxCapacitor2 <31071265+FluxCapacitor2@users.noreply.github.com>
Date: Tue Jan 6 01:22:54 2026 -0500
Reduce duplicate in preprocessing deployment configs received from database
commit 6872691
Author: FluxCapacitor2 <31071265+FluxCapacitor2@users.noreply.github.com>
Date: Tue Jan 6 01:03:55 2026 -0500
Add explicit `await`
Not sure if this changes semantics but it matches the convention of the other functions in the file. Maybe try/catch behavior is different?
commit adc6f4f
Author: FluxCapacitor2 <31071265+FluxCapacitor2@users.noreply.github.com>
Date: Tue Jan 6 00:36:01 2026 -0500
Add generic rethrow in createApp when calling db.app.create after ConflictError handler
commit 6c88859
Author: FluxCapacitor2 <31071265+FluxCapacitor2@users.noreply.github.com>
Date: Tue Jan 6 00:23:34 2026 -0500
Let Docker populate the TARGETARCH argument automatically
Tested on an x86_64 system (TARGETARCH=amd64). Works with `docker build` and from Tilt. Should work on 64-bit ARM systems; won't work on 32-bit ARM since Tini's binary naming convention doesn't line up.
Source: https://github.com/BretFisher/multi-platform-docker-build
commit 9eebc79
Author: Emma Zheng <zheng861@purdue.edu>
Date: Mon Jan 5 19:07:58 2026 -0700
Update trigger and image repository
commit c82babe
Merge: b15cd63 d1742d2
Author: zheng861 <zheng861@purdue.edu>
Date: Fri Jan 2 16:27:27 2026 -0700
Merge branch 'main' into helm-backend
commit b15cd63
Author: zheng861 <zheng861@purdue.edu>
Date: Fri Jan 2 13:46:29 2026 -0700
Refactor frontend for helm and workload configs
- Write types for the form states of configs of different sources
- Add helper functions for form state and config generation
- Move source or app type-specific code into separate components
- Separate DiffInput into DiffInput and DiffSelect for speed
commit 5d59f0a
Author: zheng861 <zheng861@purdue.edu>
Date: Fri Jan 2 12:50:24 2026 -0700
Organize config and diff components by app source
commit 0b527be
Author: zheng861 <zheng861@purdue.edu>
Date: Fri Jan 2 12:15:10 2026 -0700
Fix updateApp, listChart, and helm upgrade
commit 2f20e98
Author: zheng861 <zheng861@purdue.edu>
Date: Wed Dec 31 18:36:12 2025 -0700
Fix update and deployment bugs
commit d092487
Author: zheng861 <zheng861@purdue.edu>
Date: Wed Dec 31 15:21:55 2025 -0700
Backend fixes
- Add TARGETARCH buildarg to migration job Dockerfile for local testing
- Fix workload migration to use correct appType parameter and sequence starting value
- Omit id from Workload and Helm configs to avoid confusion
- List all missing env vars
- Fix incorrect image registry URL
- Ignore not found error when deleting a namespace
- Fix various API handlers
- Fix async error handling during app validation
- Do not await deployment process after validation and creating a Deployment
- Update git version
commit fb022de
Author: zheng861 <zheng861@purdue.edu>
Date: Fri Dec 26 16:31:18 2025 -0700
Move deployment process logic to DeploymentService
commit 359b13a
Author: zheng861 <zheng861@purdue.edu>
Date: Wed Dec 24 20:26:54 2025 -0700
Merge branch 'main' into helm
commit bea8f84
Author: zheng861 <zheng861@purdue.edu>
Date: Tue Dec 23 16:40:12 2025 -0700
Write migration for splitting deployment configs by app type
commit 8945122
Author: zheng861 <zheng861@purdue.edu>
Date: Tue Dec 23 16:39:51 2025 -0700
Update backend with helm configs
commit 2e65b5b
Author: zheng861 <zheng861@purdue.edu>
Date: Mon Dec 22 15:21:56 2025 -0700
Write database migration and refactor createApp/createAppGroup to deploy Helm apps
commit c2d329d
Author: zheng861 <zheng861@purdue.edu>
Date: Sun Dec 21 23:42:32 2025 -0700
Start writing testable deployment controller to handle various app types
commit afc4709
Author: zheng861 <zheng861@purdue.edu>
Date: Sun Dec 21 18:37:39 2025 -0700
Add Helm config model
commit f2289b6
Author: zheng861 <zheng861@purdue.edu>
Date: Sat Dec 20 11:48:35 2025 -0700
Write API handler for listing custom charts
commit e8c32c0
Merge: a009231 b1bd5b1
Author: zheng861 <zheng861@purdue.edu>
Date: Tue Dec 16 12:20:27 2025 -0500
Merge branch 'main' into helm
commit a009231
Author: zheng861 <zheng861@purdue.edu>
Date: Tue Dec 9 09:12:55 2025 -0500
Move spilo chart to charts
commit 9e1fc81
Merge: cac41e7 5d608ed
Author: zheng861 <zheng861@purdue.edu>
Date: Mon Dec 8 19:26:59 2025 -0500
Merge branch 'main' into helm
commit cac41e7
Author: zheng861 <zheng861@purdue.edu>
Date: Mon Dec 8 19:07:54 2025 -0500
Install from chart URL
commit cfd5a8b
Author: zheng861 <zheng861@purdue.edu>
Date: Sun Oct 26 10:47:30 2025 -0400
Create postgres chart1 parent 88a5994 commit 0359008
111 files changed
Lines changed: 5823 additions & 4437 deletions
File tree
- .github/workflows
- backend
- prisma
- migrations/20251222211930_separate_workload_and_helm_configs
- src
- db
- repo
- handlers
- lib
- cluster
- resources
- service
- helper
- builders/helm
- charts
- anvilops
- templates/anvilops
- spilo
- templates
- frontend/src
- components
- config
- helm
- workload
- git
- image
- diff
- helm
- workload
- git
- image
- lib
- pages
- app
- overview
- create-app
- openapi
- tilt
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments