CI/CD

Red Hat OpenShift
Article

Building Java 11 and Gradle containers for OpenShift

Michael Vorburger

This article discusses a fast and easy way to get Java apps running in a cloud by using OpenShift’s Source-to-Image (S2I) builder with Maven, Gradle,or Java 11.

.NET Core
Article

Building .NET Core container images using S2I

Tom Deseyn

This article describes how to build .NET Core container images using source-to-image (S2I). The container images can be built directly from a git repository, from local sources, or from a pre-built application on, which can be useful on your development machine or as part of a CI/CD pipeline.

Logos of many projects on openshift kubernetes
Article

Leveraging Kubernetes and OpenShift for automated performance tests (part 1)

Frédéric Giloux

Part 1 of a series about leveraging OpenShift or Kubernetes for automated performance tests. It provides an overview of the setup for automated performance testing using a container platform. Points to consider when executing and analyzing performance tests are covered.

Container-native
Article

Container-native integration testing

Raffaele Spazzoli

It can be complex to set up an end-to-end integration test infrastructure, but the process can be simplified by using an infrastructure-as-code approach. In addition, running integration tests for multiple OS/browser combinations can waste resources and time, but a container orchestrator and ephemeral workloads can help mitigate that. This article shows how to build behavior-driven development (BDD) container-native integration tests and run them in OpenShift to overcome these obstacles.

Using API keys securely in your OpenShift microservices and applications
Article

Container Testing in OpenShift with Meta Test Family

Petr Hracek

Using Meta Test Family, writing tests for containers is really easy. Container testing helps you guarantee that a container is working properly just as an RPM package would.

MicroProfile
Article

MicroProfile Status in Version 1.3

Antoine Sabot-Durand

The Eclipse MicroProfile project is moving fast with four releases and eight subspecs having at least two implementations each. This post provides an overview of MicroProfile 1.3, which was released on September 30th, and helps you to get started with the specification.

Red Hat Open Innovation Labs residency
Article

Inside a Red Hat Open Innovation Labs Residency (Part 3)

Eric D. Schabell

This is part 3 in a series on a journey to peek inside life in a Red Hat Open Innovation Labs residency. This is the top-tier experience for any customer, exposing them to open collaboration, open technologies, and fast agile application delivery methods. This post covers delivery week, known as Demo Day.

Red Hat Open Innovation Labs
Article

Inside a Red Hat Open Innovation Labs Residency (Part 2)

Eric D. Schabell

This series takes the reader on a journey, taking a peek inside an Open Innovation Labs Residency. A top tier experience for any customer, a residency exposes them to open collaboration, open technologies, and fast agile application delivery methods.

Eclipse Vert.x logo
Article

JUnit 5 support lands in Eclipse Vert.x for testing asynchronous operations

Julien Ponge

Eclipse Vert.x is increasingly popular for writing reactive applications on the JVM. Testing code with asynchronous operations is more challenging than it seems. JUnit 5 is a rewrite of the famous Java testing framework that brings new interesting features. Testing using JUnit 5 is now available in Vert.x

Falcon and RHSCL
Article

Create a scalable REST API with Falcon and RHSCL

Shane Boulden

APIs are critical to automation, integration and developing cloud-native applications, and it's vital they can be scaled to meet the demands of your user-base. In this article, we'll create a database-backed REST API based on the Python Falcon framework using Red Hat Software Collections (RHSCL)

How to customize OpenShift RBAC permissions
Article

Dynamically Creating Java Keystores in OpenShift

Raffaele Spazzoli +1

Introduction With a simple annotation to a service, you can dynamically create certificates in OpenShift. Certificates created this way are in PEM (base64-encoded certificates) format and cannot be directly consumed by Java applications, which need certificates to be stored in Java KeyStores . In this post, we are going to show a simple approach to enable Java applications to benefit from certificates dynamically created by OpenShift. Why certificates Certificates are part of a PKI infrastructure and can be used to...

Red Hat Logo
Article

Building Declarative Pipelines with OpenShift DSL Plugin

Siamak Sadeghianfar

Jenkinsfiles have only become a part of Jenkins since version 2 but they have quickly become the de-facto standard for building continuous delivery pipelines with Jenkins. Jenkinsfile allows defining pipelines as code using a groovy DSL syntax and checking it into source version control which allows you to track, review, audit and manage the lifecycle of changes to the continuous delivery pipelines the same way that you manage the source code of your application. Although the groovy DSL syntax which...

Dynamic Storage
Article

How to configure persistent storage with OpenShift or Kubernetes for development environment

Chandra Shekhar Pandey

We know that containers in Openshift or Kubernetes don't persist data. Every time we start an application, it is started in a new container with an immutable Docker image. Hence, any persisted data in the file systems is lost when the container stops. Hence if an application or container is rebuilt or restarted than we can't view previous logs or if we are using containers with mysql or any other database then schema, tables, and all data will be lost...

Continuous Integration: A "Typical" Process
Article

Continuous Integration: A "Typical" Process

AbdulBasit Kabir

Typical CI process (source: www.pepgotesting.com) Continuous Integration (CI) is a phase in the software development cycle where code from different team members or different features are integrated together. This usually involves merging code (integration), building the application and carrying out basic tests all within an ephemeral environment. In the past, the code was integrated at an “integration phase” of the software development life cycle. This phase came after different teams would have spent weeks, months or even years working in...

A MicroProfile-based microservice on OpenShift Container Platform
Article

A MicroProfile-based microservice on OpenShift Container Platform - Part 1

Cesar Saavedra

Creating a simple MicroProfile-based microservice and deploying it to OpenShift Container Platform Eclipse MicroProfile is an open source specification for Enterprise Java microservices. It is a community of individuals, vendors, and organizations collaborating and working on innovative microservices patterns for Enterprise Java within the context of modern development, architectures, and underlying infrastructures, e.g. health checks, fault tolerance, metrics, and security propagation within a cloud environment. Its first release was based on 3 Java EE JSRs/libraries/APIs, but this does not necessarily...

Skinny on Fat
Article

The Skinny on Fat, Thin, Hollow, and Uber

James Falkner

"I used WildFly Swarm to shrink my app from 45 megabytes to only 2243 bytes." I was recently playing around with various techniques for packaging Java microservices and running on OpenShift using various runtimes and frameworks to illustrate their differences (WildFly Swarm vs. WildFly, Spring Boot vs. the world, etc). Around the same time as I was doing this an internal email list thread ignited discussing some of the differences and using terms like Uber JARs, Thin WARs, Skinny WARs...

Managing Windows Updates with Ansible in Red Hat Enterprise Linux
Article

New level of automation with Ansible

muayyad alsadi

Ansible is a simple agent-less automation tool that has changed the world for the better. It has many use cases and wide adoption (used by many upstream projects like Kubernetes and there are thousands of rules submitted to Ansible Galaxy). In this article, we are going to demonstrate Ansible. The intention of this article is not to teach you the basics of Ansible, but to motivate you to learn it. Why is Bash scripting not automation? Shell has been the...

Video Thumbnail
Video

Microservices with Kubernetes, Docker, and Jenkins (Rafael Benevides, Christian Posta)

Red Hat Developer Program

A lot of functionality necessary for running in a microservices architecture have been built into Kubernetes; why would you re-invent the wheel with lots of complicated client-side libraries? Have you ever asked why you should use containers and what are the benefits for your application? This talk will present a microservices application that have been built using different Java platforms: WildFly Swarm and Eclipse Vert.x. Then we will deploy this application in a Kubernetes cluster to present the advantages of containers for MSA (Microservices Architectures) and DevOps. The attendees will learn how to create, edit, build, deploy Java Microservices, and also how to perform service discovery, rolling updates, persistent volumes and much more. Finally we will fix a bug and see how a CI/CD Pipeline automates the process and reduces the deployment time.

Video Thumbnail
Video

Fabric8-Ing Continuous Improvement - Kubernetes/Jenkins Pipeline (James Rawlings & James Strachan)

Red Hat Developer Program

Using Docker for building and packaging small discrete microservices, and Kubernetes to ensure they stay running and gaining OOTB service discovery, significantly reduces the challenges of having a consistent way to build, package, and run applications. Then, there's how to develop, test, promote, release, support, and improve our container-based architectures, taking an idea from inception to repeatable releasing in a live environment. In this session, we'll look at how fabric8, which runs on top of OpenShift 3 by Red Hat and Kubernetes, uses Docker and Jenkins workflow for pipeline orchestration to provide an extensible OOTB CD solution. Fabric8 significantly simplifies the creation of new projects with a one-click setup and the wiring-together of tooling such and version control systems, artifact repositories, and release pipelines. With human approval, automated integration testing, ChatOps, environment + pipeline visualisation, commit traceability, and a developer experience that helps teams deliver value faster, we'll see how the strength of the open source community works together to provide a consistent approach to building and releasing software for new, cloud-based microservices.

Video Thumbnail
Video

Ultimate DevOps: OpenShift Dedicated With CloudBees Jenkins Platform (Andy Pemberton)

Red Hat Developer Program

Are you ready to innovate with cloud-native app development? Are you ready to accelerate business agility with continuous delivery (CD)? Well, now you can easily do both using CloudBees Jenkins Platform within OpenShift Dedicated by Red Hat. In this session, you'll learn how to seamlessly use this CD solution to fully automate your application development, test, and delivery life cycle. Using the CloudBees platform to automate your CD pipelines allows your developers to focus on what they do best—innovating. Combine that with the elasticity and scale of the Docker-based OpenShift Dedicated environment, and you'll remove many of the obstacles to business growth. Come see the future of digital innovation.

Video Thumbnail
Video

Push It. Push It Good: Continuous Integration And Deployment For The People (Andrew Lee Rubinger)

Red Hat Developer Program

We know how to code. We know how to test. But all too often, we’re disjointed in bringing our applications to life in production. In this practical session based on the lessons showcased in the Summit middleware keynote, we’ll walk through both the concepts and software that lets developers push to production with confidence. Join the Developer Experience Engineering team as we give you a chance to quickly get started with a full deployment pipeline for new applications, focusing on: * Testability as a first-class citizen * Using the cloud as an extension of your local development environment * Reviewing your changes in isolation in a production-like environment * A smooth merge process to get your changes upstream * Getting your stuff live, reliably and efficiently See how we brought everything to life on the big stage during the middleware keynote and take some lessons home to try yourself.

Red Hat OpenShift.io is an end-to-end development environment for planning, building and deploying cloud-native applications.
Article

Achieving Deployment Excellence with Red Hat OpenShift.io

Rob Terzi

Recently, the focus on the continuous delivery of value has created a lot of interest in microservices, CI/CD, and containers. The idea is that microservices are small and well defined enough to enable rapid innovation, automated testing, and frequent deployments with minimal risk. This is made possible by adopting continuous integration and continuous delivery pipelines. CI/CD requires the ability to quickly, easily, reliably, and automatically create and tear down complete execution environments. Linux containers address this need by creating lightweight...