Dockerizing a PHP Application

Introduction In this tutorial, you will learn what Docker is and how you can use it to create sophisticated working environments. We’ll learn how to: Install Docker Run Docker images Create customer images to run programs Use Docker Compose to set up a dev environment Run our application in Heroku Test our application with Continuous Integration (CI) Deploy our application with Continous Deployment (CD) To practice, we will start from…

How To Build and Deploy a Node.js Application To DigitalOcean Kubernetes Using CI/CD

This article was originally published on DigitalOcean on October 10, 2019. Kubernetes allows users to create resilient and scalable services with a single command. Like anything that sounds too good to be true, it has a catch: you must first prepare a suitable Docker image and thoroughly test it. Continuous Integration (CI) is the practice of testing the application on each update. Doing this manually is tedious and error-prone, but a CI platform runs…

A Step-by-Step Guide to Continuous Deployment on Kubernetes

How to deploy an app to Kubernetes by creating a working Kubernetes deployment and continuous delivery workflow.

Stubbing and Mocking in Java with the Spock Testing Framework

Introduction When it comes to true unit tests, having a mocking framework such as Spock for Java is essential. Using a mocking framework ensures that your unit tests are fast, self-contained and deterministic. A mocking framework can help you fake external systems, pre-program your classes with expected responses, and test hard-to-replicate error conditions. There are several mocking frameworks in the Java world, but the most popular one is Mockito. Our…

Tutorial: Build, Test, & Deploy an iOS App with CI/CD

When we develop iOS apps, we usually manage the app publication process using the Xcode Organizer. Then we sign, test, build, archive, submit, change versions, submit new builds again and again to the TestFlight or AppStore. If we generate our builds daily, this process is tedious and tiring. Sooner or later, you will ask yourself: How can we automate this entire process? Continuous Integration and Continuous Delivery (CI/CD) for iOS enable us to…

How to Release Faster with Continuous Delivery for Google Kubernetes

In this hands-on post, we’ll learn to deliver continuously a demo application to Google Kubernetes using Semaphore CI/CD.

Continuous Integration and Delivery to AWS Kubernetes

Learn how to combine Semaphore with AWS Elastic Container Registry and Kubernetes Service to implement fully managed continuous delivery

Inside WeTransfer’s App Testing Process with Antoine van der Lee

It’s not every day that you get to peek inside the inner workings of a major tech company like WeTransfer. But today, I had the absolute pleasure of chatting with Antoine van der Lee about his work as a lead iOS engineer at the file transfer company. Antoine van der Lee, who lives in Amsterdam, is also the founder of SwiftLee, a weekly blog jam-packed with useful Swift, iOS, and…

Testing Python Applications with Pytest

Introduction Testing applications has become a standard skill set required for any competent developer today. The Python community embraces testing, and even the Python standard library has good inbuilt tools to support testing. In the larger Python ecosystem, there are a lot of testing tools. Pytest stands out among them due to its ease of use and its ability to handle increasingly complex testing needs. This tutorial will demonstrate how…

A CI/CD Pipeline for Serverless Cloudflare Workers

In this tutorial, we’ll learn how to use Semaphore to deploy serverless functions to Cloudflare.

Serverless CI/CD and hosting with Semaphore and ZEIT Now

In this article, we will test and deploy an application using ZEIT Now to build and host it and Semaphore to drive CI/CD pipelines.

Stubbing and Mocking with Mockito and JUnit

Introduction Mocking and stubbing are the cornerstones of having quick and simple unit tests. Mocks are useful if you have a dependency on an external system, file reading takes too long, the database connection is unreliable, or if you don’t want to send an email after every test. Unlike with integration or functional tests, where the real system is being tested as a whole, unit tests should focus on a…

Docker Image Size – Does It Matter?

Does Docker image size matter? The answer I usually hear is “yes”.The logical question that follows is “why?”. I’ve heard the following two answers too often for my liking: A smaller image takes less disk space. A large image is difficult to upload. It takes a long time. Although both these statements sound like they make sense, neither is generally true.

CI/CD for Microservices on DigitalOcean Kubernetes

Semaphore gives you the power to easily create CI/CD pipelines that build, run and deploy Docker containers. DigitalOcean recently introduced a managed Kubernetes service which simplifies running cloud-native applications. Together, they’re a great match for productive software development. In this article, we’ll show you how to connect these two services together in a fast continuous delivery pipeline. What we’re building We’ll use a Ruby Sinatra microservice which exposes a few…

CI/CD for Spring Boot Microservices

In this tutorial, we’ll learn how to build and test a Docker image using Continuous Integration. Then, we’ll extend CI/CD with Continuous Deployment to a Kubernetes cluster.

1 2 3 31