andifined.dev
andifined.dev
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
Okay then I encrypted it afterwards and not it works even with encryption, thank you very much 😄
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
Problem found: it's because I encrypt the value as a secret within the dashboard. After adding it again as env variable without encrypting it, it's available at buildtime. But what's the difference?
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
Okay the only difference I've found is, that you've configured a build section within your wangler.jsonc. But when I understand the documentation correct the automated worker build doesn't respect this at the moment?
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
Yes maybe, hopefully there will come some changes in the future. Every product should get the opportunity to rise and get better. D1 makes such a promising appearance!
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
Yes that right and I totally understand that choice of design. But my question in relation to architecture is: how to implement that using cf workers and d1 bindings? For example, let's say I would implement a per user choice of design, everytime a new user signs up, automatically a D1 instance for that users should be generated. Don't think it's possible right now to do this using wrangler bindings? Think I have to use the rest api for that? When I would like to query every D1 to get the total count of all rooms created by my community, it's not possible otherwise querying every user instance by itself and I have to keep track of existing users within another D1? And when I have to do some table migrations, I would keep every single D1 instance in sync of course. Maybe I'm just unexperienced here but I don't see a stable and scalable way of doing that. So I'll keep using another serverless db provider where that's not possible, but keeping an eye on changelogs for D1 so maybe one day it's possible to move everything to cloudflare stack, that would be awesome :cloudflare:
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
No description
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
Thanks for the honest opinion! So I think I'll do that. It's not the direct access from outside workers, I'm kind of wondering how it should be possible to scale let's say per user base und how to maintain migrations etc. Can't find any architecture examples on that, etc. And if spacing stays at 10GB per database at the moment it's no opion. Thank you very much!
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
So D1 related: looking into moving my Database setup to D1 but currently there are too many limitations for be confident in moving. Sice limitations and scaling related one. Do you something about the future roadmap and whats on the horizon there?
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
Okay that‘s confusing. Will try again with yout adjustments and report the results! In the meantime, thank you very much for your time and examples!!!! Would have some more questions about D1 and calls. Can you help me there as well? Some General questions.
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
import { defineConfig } from 'drizzle-kit'; interface Process { env: { NEON_DATABASE_URL: string; } } declare global { // @ts-ignore const process: Process } export default defineConfig({ out: './drizzle', schema: './drizzle/schema.ts', dialect: 'postgresql', dbCredentials: { url: process.env.NEON_DATABASE_URL!, }, verbose: true });
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
npx drizzle-kit migrate --config=drizzle.config.ts
19:03:46.189
19:03:46.623 Reading config file '/opt/buildhome/repo/drizzle.config.ts' 19:03:46.689 Error Please provide required params for Postgres driver: 19:03:46.689 [x] url: '' 19:03:46.713 Failed: error occurred while running build command
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
Doesn‘t work for me so
21 replies
CDCloudflare Developers
Created by andifined.dev on 3/20/2025 in #workers-and-pages-discussions
Workers CI Variables
Don‘t worry thank you very much!
21 replies
CDCloudflare Developers
Created by andifined.dev on 11/23/2024 in #workers-help
Not able to connect worker to gitlab repository
@Cloudflare (Server Owner) tried again some months later today, still the same issue. What am I doing wrong? Seems to be related to sub-group projects.
4 replies