🐛 BUG: Wrangler Publish breaks Jenkins builds
See original GitHub issueWhat version of Wrangler
are you using?
2.1.1
What operating system are you using?
node:gallium-alpine3.14
Describe the Bug
Our Jenkins Pipeline uses wrangler on a docker image to publish our Cloudflare workers. This latest build has broken our pipelines when you make a manual change. It is prompting the user to overwrite the manual changes, which breaks our pipeline:
⛅️ wrangler 2.1.1
-------------------
▲ [WARNING] You are about to publish a Workers Service that was last published via the Cloudflare Dashboard.
Edits that have been made via the dashboard will be overridden by your local code and config.
Would you like to continue? (y/n)
[GWould you like to continue? (y/n)
Error: Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
Steps to reproduce:
- Create a worker by code and publish to a git repository
- Create a Docker file to install wrangler and run wrangler publish
- Create a Jenkins Pipeline to build and execute the Docker file
- Manually change the published worker using Quick edit feature in Cloudflare Dashboard
- Make a change to the worker in code and push to git repo
- Run Jenkins Pipeline again - This will fail due to the prompt.
Temporary solution: Use wrangler 2.0.29
Issue Analytics
- State:
- Created a year ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Converting Conditional Build Steps to Jenkins Pipeline
In this post, we'll take a look at how we might converting Freestyle jobs that include conditional build steps to Jenkins Pipeline.
Read more >Show current state of Jenkins build on GitHub repo
Ok, here's how you can set up Jenkins to set GitHub build statuses. This assumes you've already got Jenkins with the GitHub plugin...
Read more >Advanced Jenkins Parallel Builds | Incredibuild
All of a sudden you could define a job with a comfortable declarative DSL, break down a single job into multiple stages, and...
Read more >weathertech.com face shield
Save your windshield from getting covered with bugs on your next long trip! ... in Textured Black for 18-22 Jeep Wrangler JL &...
Read more >6 New DDoS Attack Types and How They Affect Your Security
A vulnerability was identified, which made it possible to launch DDoS attacks with Jenkins. While the bug was fixed, the vulnerability shed light...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You could show the warning, but no interactive dialogs should present themselves in stuff like CI. That’s the fix for this issue at the moment.
Regarding the broader point of not encouraging and making it an error, it’s a breaking change and should be rolled out accordingly, probably in a major.
Amazing, really fast response. Thank you.