Learn how to create a CI/CD pipeline that deploys an application in Kubernetes using the blue-green methodology.
Category Software Engineering
What Is Canary Deployment?
Learn how canary deployment can help you do controlled trials with real users. And what if you combine it with a fast CI/CD workflow?
How to Run Cloud-based Cron Jobs with Semaphore
Using Semaphore’s scheduler, you can run jobs to a timetable – it’s like ‘cron’ for the cloud. Follow this tutorial to find out how.
What Is Blue-Green Deployment?
Learn how blue-green (or blue/green) can help you make safe deployments without downtime or the need for maintenance windows.
Continuous Integration with Deno
Semaphoreβs composable containers feature lets us work with cutting-edge tools and languages like Deno. We can tailor Docker images to exact specifications and use them to drive CI/CD jobs seamlessly. Semaphore supports any container as long as it includes some basic packages like SSH, Git, and FTP.
New Book: CI/CD with Docker and Kubernetes
We have a gift for you: a free, 90-page ebook to learn CI/CD with Docker and Kubernetes. The book is open source, and you can download it today.
Mocking in Ruby with Minitest
Introduction In this tutorial, we will learn how to test Ruby on Rails applications with Minitest. We’ll cover how to do use Minitest’s mocks and stubs to improve the performance of your tests. Once we understand how testing works, we’ll set up a Continuous Integration (CI) pipeline with Semaphore to speed up development. Prerequisites To […]
Getting Started with Gulp.js
Introduction Gulp is a command-line task runner for Node.js. Gulp let us automate processes and run repetitive tasks with ease. What makes Gulp different from other task runners is that it uses Node streams; piping output from one task as an input to the next. It only needs to read a file once, then process […]
What Is React Native? The Rise of Hybrid Mobile Apps
React Native is a JavaScript framework for developing mobile applications that can run natively on both Android and iOS. Learn how it can benefit your company, and when it makes sense to use it.
Testing a Java Spring Boot REST API with Karate
Introduction This tutorial will show you how to write web service tests with the Karate framework. We will start with a short introduction about the basic features, then we will explore the domain-specific language (DSL), and learn how to apply it to verify a web service’s response and the returned JSON structures. As integration with […]
Building and Testing a REST API in Go with Gorilla Mux and PostgreSQL
Introduction This tutorial will illustrate how you can build a REST API backed by PostgreSQL in Go, using Gorilla Mux for routing. The tutorial will employ test-driven development and will conclude by explaining how you can continuously test against a database during development. Goals By the end of this tutorial, you will: Prerequisites This tutorial […]
How to Test Rails Models with RSpec
Testing is where we spend most of our time as developers. Good testing raises the quality of software, reduces bugs and, in the long run, makes our work easier. In this article, we’ll discuss the basics of testing with Ruby on Rails: What is BDD? How to test models in Rails? How to test business […]
Getting Started with Node.js and Mocha
Mocha is a testing library for Node.js, created to be a simple, extensible, and fast. It’s used for unit and integration testing, and it’s a great candidate for BDD (Behavior Driven Development). This article will walk you through its installation and configuration, as well as demonstrate its usage by implementing a color converter that can […]
Getting Started with PHPUnit in Laravel
Introduction PHPUnit is one of the oldest and most well-known unit testing packages for PHP. It is primarily designed for unit testing, which means testing your code in the smallest components possible, but it is also incredibly flexible and can be used for a lot more than just unit testing. PHPUnit includes a lot of […]
Getting Started with RSpec
RSpec is a testing tool for Ruby, created for behavior-driven development (BDD). It is the most frequently used testing library for Ruby in production applications. Even though it has a very rich and powerful DSL (domain-specific language), at its core it is a simple tool which you can start using rather quickly. This RSpec tutorial […]