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

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.

Continuous Deployment of a Python Flask Application with Docker and Semaphore

Learn why continuous deployment for Python is important and how to continuously deploy a Python Flask app to Heroku using Docker and Semaphore

7 Continuous Integration Tools for PHP Laravel Developers

In this article, we’ll learn about 7 tools that you can use to set up a rock-solid continuous integration (CI) process for your PHP project. Together, these tools increase code quality, reduce development time, easily reveal errors and will generally make your life easier. We will learn how we can set up a Semaphore CI continuous integration pipeline for a PHP Laravel application. The game plan is to set up…

Python Continuous Integration and Deployment From Scratch

Learn how to quickly build, test, and deploy a Python Django web application using Semaphore’s CI/CD platform

In Continuous Integration, Run Fast and Fundamental Tests First

While it’s great to keep your entire CI/CD pipeline fast, on many occasions you don’t even need to run all tests to get the feedback you need

1 2 3 13