[PR #81] [MERGED] Feat environment variables #343

Closed
opened 2026-03-03 11:29:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dflow-sh/dflow/pull/81
Author: @pavanbhaskardev
Created: 4/22/2025
Status: Merged
Merged: 4/22/2025
Merged by: @pavanbhaskardev

Base: mainHead: feat-environment-variables


📝 Commits (2)

  • 442f858 feat: added schema for environment variables
  • 15d18fd chore: added support reference variable deployment

📊 Changes

19 files changed (+741 additions, -160 deletions)

View changed files

📝 src/actions/deployment/deploy.ts (+8 -18)
📝 src/actions/service/index.ts (+19 -2)
📝 src/actions/service/validator.ts (+13 -0)
📝 src/app/(frontend)/(dashboard)/dashboard/project/[id]/service/[serviceId]/layout.tsx (+6 -3)
📝 src/app/(frontend)/(dashboard)/dashboard/project/[id]/service/[serviceId]/page.tsx (+2 -2)
📝 src/app/(payload)/admin/importMap.js (+2 -0)
📝 src/components/service/DeploymentForm.tsx (+5 -3)
src/components/service/VariablesForm.tsx (+287 -0)
src/lib/dokku/config/clear.ts (+22 -0)
📝 src/lib/dokku/config/set.ts (+1 -1)
📝 src/lib/dokku/index.ts (+2 -1)
📝 src/lib/server/docker/createImage.ts (+1 -6)
📝 src/payload-types.ts (+16 -0)
📝 src/payload/collections/Services/index.ts (+46 -32)
src/providers/DisableDeployment.tsx (+36 -0)
📝 src/queues/app/dockerImage-deployment.ts (+8 -11)
📝 src/queues/app/dockerfile-deployment.ts (+15 -26)
📝 src/queues/app/railpack-deployment.ts (+14 -18)
📝 src/queues/environment/update.ts (+238 -37)

📄 Description

  1. Redesign the environment-variables storage & usage both on frontend and backend
  2. Added support for reference variables

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dflow-sh/dflow/pull/81 **Author:** [@pavanbhaskardev](https://github.com/pavanbhaskardev) **Created:** 4/22/2025 **Status:** ✅ Merged **Merged:** 4/22/2025 **Merged by:** [@pavanbhaskardev](https://github.com/pavanbhaskardev) **Base:** `main` ← **Head:** `feat-environment-variables` --- ### 📝 Commits (2) - [`442f858`](https://github.com/dflow-sh/dflow/commit/442f8582d6024e001ccffb8f1684e9e292b69c10) feat: added schema for environment variables - [`15d18fd`](https://github.com/dflow-sh/dflow/commit/15d18fdc5ecb4976e937ec4249165c5c956487b6) chore: added support reference variable deployment ### 📊 Changes **19 files changed** (+741 additions, -160 deletions) <details> <summary>View changed files</summary> 📝 `src/actions/deployment/deploy.ts` (+8 -18) 📝 `src/actions/service/index.ts` (+19 -2) 📝 `src/actions/service/validator.ts` (+13 -0) 📝 `src/app/(frontend)/(dashboard)/dashboard/project/[id]/service/[serviceId]/layout.tsx` (+6 -3) 📝 `src/app/(frontend)/(dashboard)/dashboard/project/[id]/service/[serviceId]/page.tsx` (+2 -2) 📝 `src/app/(payload)/admin/importMap.js` (+2 -0) 📝 `src/components/service/DeploymentForm.tsx` (+5 -3) ➕ `src/components/service/VariablesForm.tsx` (+287 -0) ➕ `src/lib/dokku/config/clear.ts` (+22 -0) 📝 `src/lib/dokku/config/set.ts` (+1 -1) 📝 `src/lib/dokku/index.ts` (+2 -1) 📝 `src/lib/server/docker/createImage.ts` (+1 -6) 📝 `src/payload-types.ts` (+16 -0) 📝 `src/payload/collections/Services/index.ts` (+46 -32) ➕ `src/providers/DisableDeployment.tsx` (+36 -0) 📝 `src/queues/app/dockerImage-deployment.ts` (+8 -11) 📝 `src/queues/app/dockerfile-deployment.ts` (+15 -26) 📝 `src/queues/app/railpack-deployment.ts` (+14 -18) 📝 `src/queues/environment/update.ts` (+238 -37) </details> ### 📄 Description 1. Redesign the environment-variables storage & usage both on frontend and backend 2. Added support for reference variables --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:29:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dflow#343
No description provided.