Sly
Sly
Explore posts from servers
CDCloudflare Developers
Created by Sly on 10/24/2024 in #workers-help
Monorepo - Wrangler Action - Dynamic Secrets
Hey there, I'm currently trying to get a dynamic deployment working via turborepo and the wrangler action without too much of repetition. I'm struggling with dynamically parsing the secrets parameter to the wrangler action. Does one have an idea on how to construct the required yaml list conditionally or from an github env variable / secret dynamically? Otherwise I'd need to basically copy 3 steps for each app in the monorepo :/
1 replies
CDCloudflare Developers
Created by Sly on 9/24/2024 in #workers-help
Sample with "otel-cf-workers" "@cloudflare/vitest-pool-workers" & TypeScript?
Somebody has a sample of a working setup? I'm unfortunately running in issues around:
No such module "Users/.../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/os".
imported from "Users/.../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/HostDetectorSync.js"
No such module "Users/.../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/os".
imported from "Users/.../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/HostDetectorSync.js"
1 replies
CDCloudflare Developers
Created by Sly on 5/18/2023 in #workers-help
Guidance on Turborepo / Monorepo App Deployment to Cloudflare
I am currently working on a project involving the deployment of various workers / pages in a Turborepo. Ideally, I'm aiming to trigger deployments only for the applications that have been updated, rather than deploying all applications with each change. This would certainly help streamline the process and optimize resources. Does anyone have a reference or guide that provides a step-by-step procedure for achieving this? Any insights, suggestions, or resources would be much appreciated!
7 replies
CDCloudflare Developers
Created by Sly on 3/29/2023 in #workers-help
Testing Workers - Collecting Coverage
Hi there, Is there any guideline on how to collect coverage for workers using vitest?
1 replies
CDCloudflare Developers
Created by Sly on 1/26/2023 in #workers-help
Prisma with Module Worker
Anybody got hints how to get Prisma worker with a Module Worker where the Env aren‘t global?
1 replies