Deploying Jenkins with infrastructure as code (IaC) Introduction Many guides start by showing how to build an application locally, but entirely omit guidance for deploying that application to a production environment – often because each organization has unique needs/preferences for a production deployment.
In contrast, this initial guide will create a “walking skeleton” of a production-like Jenkins deployment. In more words, this guide will describe not only how to run Jenkins on your local machine, but also how to configure all the tooling required to provision a cloud server, deploy Jenkins on that server, and make the instance available to the world wide web.
Finding Python performance problemsWhen a Python program is running too slowly, use a profiler to measure which parts of the code are hurting performance the most.
Measure Code Performance with cProfile Start by writing a decorator which will add profiling metrics to the decorated function:
Creating a custom Vue component library with Storybook and VitestMany developers are familiar with using a component library (e.g. Vuetify, Quasar, PrimeVue, etc.), but there comes a time when it’s useful to create your own.
Multiple projects which should share custom components. A large project which is hard to test. This comprehensive, step-by-step guide1 will take you from a new, empty folder all the way to a fully-functional component library with robust automated testing tools which follow software engineering best practices. The techniques described here are neither theoretical nor a mere “proof-of-concept” – they have been used successfully in critical production applications.
2023
Automatically merging trusted pull requests on GitHubYou can increase development velocity by automatically merging pull requests from individuals or bots you trust. Here’s how…
Enable Allow auto-merge pull requests in repository settings The default settings for GitHub repositories block auto-merging any Pull Requests. This is a beneficial security measure which makes it harder for untrusted actors to integrate malicious code into your repository.