ING’s Journey in Building and Deploying Frond-end Code

Rate this content
Bookmark

Within ING we have been dealing with JS/FE for quite some years now. Starting with nothing we evaluated the CI/CD process for this, via multiple stages into what it is right now. I will go along these stages to inspire you to create a similar process for your own company.

This talk has been presented at DevOps.js Conf 2021, check out the latest edition of this JavaScript Conference.

FAQ

Eric van der Voort is one of the engineers of the Fruit Loops team within ING.

The main goal of the Fruit Loops team within ING is to make the life of front-end engineers easier by developing pipelines for building and deploying front-end code.

The first step taken was deploying front-end code on any available web server or in CMS without any reuse, which led to the introduction of the Angular pipeline.

The Angular pipeline was able to pick up every commit from develop and master, enforce a predefined build setup, deploy builds on test and acceptance environments regularly, and deploy to production at least once a day, serving more than 700 modules.

The team moved away from the Angular pipeline because it was restrictive, particularly in testing methods and build tooling, and large libraries that were not versioned required redeployment and testing of every application, which became impractical with over 160 applications.

After the Angular pipeline, the team introduced the Polymer pipeline based on apps and web components, allowing builds and deployments to test on every commit, and provided a portal for teams to manage versions deployed on acceptance and production.

The ING web CLI is a command line interface developed by the Fruit Loops team that captured tasks like build, test, install, and deploy. Its downside was that teams could only use the functionalities available in the CLI, making it somewhat restrictive.

The current pipeline solution used by the Fruit Loops team is based on Azure DevOps with pipelines made from templates and custom tasks, allowing teams to innovate and use other tools beyond what is provided.

The key drivers for the evolution of the pipelines within ING were agility, scaling, and autonomy, aimed at reducing strictness, enabling faster delivery, and allowing teams to innovate.

Eric van der Voort advises other organizations to pick the right drivers that fit their organization, such as team maturity, trust, and the number of teams, and use those drivers to shape their pipelines.

Erik van der Voort
Erik van der Voort
8 min
01 Jul, 2021

Comments

Sign in or register to post your comment.
Video Summary and Transcription
The Fruit Loops team at ING aims to simplify the lives of front-end engineers by introducing pipelines. They started with an Angular pipeline and then introduced a Polymer pipeline based on apps and web components. The ING web CLI and Azure DevOps were used to create pipelines that provided agility, freedom of choice, scaling, and autonomy to teams. The key takeaway is to choose the right drivers to fit your organization's needs when implementing pipelines.

1. Introduction to Fruit Loops team and Pipelines

Short description:

Hi, everyone. My name is Eric van der Voort and I'm one of the engineers of the Fruit Loops team within ING. The main goal of the Fruit Loops team within ING is to make the life of front-end engineers easier. In the past eight years, we have been trying to fit these pipelines into the needs of our organization. We introduced our Angular pipeline and were able to serve more than 700 modules, enabling us to reuse libraries. However, our teams demanded a less restrictive solution, leading us to introduce our Polymer pipeline based on apps and web components.

Hi, everyone. My name is Eric van der Voort and I'm one of the engineers of the Fruit Loops team within ING. The main goal of the Fruit Loops team within ING is to make the life of front-end engineers easier and that's why this team has a history in pipelines for building and deploying front-end code within ING.

In the past eight years, we have been trying to fit these pipelines into the needs of our organization and the journey that we traveled, I would like to take you along in this presentation. The first step we made was just trying out front-end code within ING. We deployed it on any available web server or in CMS. Every team had its own solution. We didn't do any reuse and because the usage was growing, we decided to come up with a better solution.

So within ING, we decided to introduce our Angular pipeline. The pipeline was based on Angular applications and was able to pick up every commit from develop and master. And we enforced a certain setup for your application. And that means that all the steps in your build were predefined. So you just have one flavor. We deployed the results of the build on a regular interval on test and acceptance. And at least once a day we went to production. The result of that was that we were able to serve more than 700 modules. We were able to reuse. So this brought us a pipeline that enabled us to reuse libraries, and it was almost getting us in the direction of continuous delivery. We served about 700 modules. We could reuse stuff.

But our teams were demanding to be a little bit less restrictive. For example, on the testing methods, they could use in the build tooling. And what we also wanted is that we had these huge libraries that were not versioned. And if we had to update one of these libraries, we had to redeploy and test every application in our pipeline. If you only have two or three applications, that's fine. But if you are serving more than 160 applications, it's not funny anymore. So that's why we decided to come up with a better solution. So after that, we introduced within ING our Polymer pipeline based on apps and web components. We were able to build and deploy to test on every commit. And we provided a portal to our teams in which they could manage the versions that were deployed on acceptance and production.

2. ING Pipeline Journey

Short description:

The portal made every web component developed within ING visible to all teams, enabling their reuse. Teams used our ING web CLI, a command line interface capturing build, test, install, deploy tasks. However, it was restrictive, so we moved to Azure DevOps, making pipelines based on templates. Teams can use templates and innovate with new custom tasks. Our journey focused on agility, freedom of choice, scaling, and autonomy. Choose the right drivers to fit your pipelines into your organization.

And what that portal also did was that it made visible every web component that was developed within ING. And it was visible for all the teams. So it really enabled the reuse of web components within ING.

For this, the teams used our ING web CLI, what we developed ourselves. And that is a command line interface in which all the possible tasks like build, test, install, deploy, whatever, they were captured inside that web CLI. The teams could pick whatever they need from that CLI, but there was one downside. If we didn't put it in the CLI, they were not able to use it. So it was restrictive in a way that they could only use what we developed, but they could at least have some choice in how they put the content in their build.

So it was still a little bit too restrictive, and that is why we decided to come up with a better solution. And that's where we are currently now. So we moved to Azure DevOps. And currently we are making our pipelines based on templates. And if we cannot fit it into a template, then we make it a custom task. And teams can use these templates if they like. And they can also use whatever else they want to use. The migration is currently ongoing into that pipeline. And for us, the big advantage is that teams can use other things that we didn't provide to them. So it enables them to innovate the way they are building their applications. And for us, it's an advantage that we can make those innovations available for other teams by putting them into new templates and new custom tasks.

So this is kind of the way that we traveled within ING for our pipelines. The first thing we did was actually just take the burden of build and deploy away from the teams so they could move faster. So the driver here was agility. The second step was that we wanted to give the teams more freedom of choice and enable scaling, so we were able to deliver more applications in our pipelines. And the last step that we made was autonomy. So we enabled the teams to do whatever they wanted and helping them by doing that, so more innovation, and I think that the driver for there is autonomy. If you look at your organization, it might be completely different. For us, our drivers were less strictness, more agility, more scale, more autonomy. But for your organization, it might be drivers like team maturity, trust, maybe even just a simple thing like the number of teams or any other driver that I cannot think of, and maybe you can. So the takeaway is pick your right drivers, use those drivers to fit your pipelines into your organization. And I wish you good luck with that.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Levelling up Monorepos with npm Workspaces
DevOps.js Conf 2022DevOps.js Conf 2022
33 min
Levelling up Monorepos with npm Workspaces
Top Content
NPM workspaces help manage multiple nested packages within a single top-level package, improving since the release of NPM CLI 7.0. You can easily add dependencies to workspaces and handle duplications. Running scripts and orchestration in a monorepo is made easier with NPM workspaces. The npm pkg command is useful for setting and retrieving keys and values from package.json files. NPM workspaces offer benefits compared to Lerna and future plans include better workspace linking and adding missing features.
A Framework for Managing Technical Debt
TechLead Conference 2023TechLead Conference 2023
35 min
A Framework for Managing Technical Debt
Top Content
Today's Talk discusses the importance of managing technical debt through refactoring practices, prioritization, and planning. Successful refactoring requires establishing guidelines, maintaining an inventory, and implementing a process. Celebrating success and ensuring resilience are key to building a strong refactoring culture. Visibility, support, and transparent communication are crucial for addressing technical debt effectively. The team's responsibilities, operating style, and availability should be transparent to product managers.
Debugging JS
React Summit 2023React Summit 2023
24 min
Debugging JS
Top Content
Watch video: Debugging JS
Debugging JavaScript is a crucial skill that is often overlooked in the industry. It is important to understand the problem, reproduce the issue, and identify the root cause. Having a variety of debugging tools and techniques, such as console methods and graphical debuggers, is beneficial. Replay is a time-traveling debugger for JavaScript that allows users to record and inspect bugs. It works with Redux, plain React, and even minified code with the help of source maps.
Building a Voice-Enabled AI Assistant With Javascript
JSNation 2023JSNation 2023
21 min
Building a Voice-Enabled AI Assistant With Javascript
Top Content
This Talk discusses building a voice-activated AI assistant using web APIs and JavaScript. It covers using the Web Speech API for speech recognition and the speech synthesis API for text to speech. The speaker demonstrates how to communicate with the Open AI API and handle the response. The Talk also explores enabling speech recognition and addressing the user. The speaker concludes by mentioning the possibility of creating a product out of the project and using Tauri for native desktop-like experiences.
A Practical Guide for Migrating to Server Components
React Advanced 2023React Advanced 2023
28 min
A Practical Guide for Migrating to Server Components
Top Content
Watch video: A Practical Guide for Migrating to Server Components
React query version five is live and we'll be discussing the migration process to server components using Next.js and React Query. The process involves planning, preparing, and setting up server components, migrating pages, adding layouts, and moving components to the server. We'll also explore the benefits of server components such as reducing JavaScript shipping, enabling powerful caching, and leveraging the features of the app router. Additionally, we'll cover topics like handling authentication, rendering in server components, and the impact on server load and costs.
Power Fixing React Performance Woes
React Advanced 2023React Advanced 2023
22 min
Power Fixing React Performance Woes
Top Content
Watch video: Power Fixing React Performance Woes
This Talk discusses various strategies to improve React performance, including lazy loading iframes, analyzing and optimizing bundles, fixing barrel exports and tree shaking, removing dead code, and caching expensive computations. The speaker shares their experience in identifying and addressing performance issues in a real-world application. They also highlight the importance of regularly auditing webpack and bundle analyzers, using tools like Knip to find unused code, and contributing improvements to open source libraries.

Workshops on related topic

Build Modern Applications Using GraphQL and Javascript
Node Congress 2024Node Congress 2024
152 min
Build Modern Applications Using GraphQL and Javascript
Featured Workshop
Emanuel Scirlet
Miguel Henriques
2 authors
Come and learn how you can supercharge your modern and secure applications using GraphQL and Javascript. In this workshop we will build a GraphQL API and we will demonstrate the benefits of the query language for APIs and what use cases that are fit for it. Basic Javascript knowledge required.
Building a Shopify App with React & Node
React Summit Remote Edition 2021React Summit Remote Edition 2021
87 min
Building a Shopify App with React & Node
Top Content
WorkshopFree
Jennifer Gray
Hanna Chen
2 authors
Shopify merchants have a diverse set of needs, and developers have a unique opportunity to meet those needs building apps. Building an app can be tough work but Shopify has created a set of tools and resources to help you build out a seamless app experience as quickly as possible. Get hands on experience building an embedded Shopify app using the Shopify App CLI, Polaris and Shopify App Bridge.We’ll show you how to create an app that accesses information from a development store and can run in your local environment.
Deploying React Native Apps in the Cloud
React Summit 2023React Summit 2023
88 min
Deploying React Native Apps in the Cloud
WorkshopFree
Cecelia Martinez
Cecelia Martinez
Deploying React Native apps manually on a local machine can be complex. The differences between Android and iOS require developers to use specific tools and processes for each platform, including hardware requirements for iOS. Manual deployments also make it difficult to manage signing credentials, environment configurations, track releases, and to collaborate as a team.
Appflow is the cloud mobile DevOps platform built by Ionic. Using a service like Appflow to build React Native apps not only provides access to powerful computing resources, it can simplify the deployment process by providing a centralized environment for managing and distributing your app to multiple platforms. This can save time and resources, enable collaboration, as well as improve the overall reliability and scalability of an app.
In this workshop, you’ll deploy a React Native application for delivery to Android and iOS test devices using Appflow. You’ll also learn the steps for publishing to Google Play and Apple App Stores. No previous experience with deploying native applications is required, and you’ll come away with a deeper understanding of the mobile deployment process and best practices for how to use a cloud mobile DevOps platform to ship quickly at scale.
Build a chat room with Appwrite and React
JSNation 2022JSNation 2022
41 min
Build a chat room with Appwrite and React
WorkshopFree
Wess Cope
Wess Cope
API's/Backends are difficult and we need websockets. You will be using VS Code as your editor, Parcel.js, Chakra-ui, React, React Icons, and Appwrite. By the end of this workshop, you will have the knowledge to build a real-time app using Appwrite and zero API development. Follow along and you'll have an awesome chat app to show off!
Hard GraphQL Problems at Shopify
GraphQL Galaxy 2021GraphQL Galaxy 2021
164 min
Hard GraphQL Problems at Shopify
WorkshopFree
Rebecca Friedman
Jonathan Baker
Alex Ackerman
Théo Ben Hassen
 Greg MacWilliam
5 authors
At Shopify scale, we solve some pretty hard problems. In this workshop, five different speakers will outline some of the challenges we’ve faced, and how we’ve overcome them.

Table of contents:
1 - The infamous "N+1" problem: Jonathan Baker - Let's talk about what it is, why it is a problem, and how Shopify handles it at scale across several GraphQL APIs.
2 - Contextualizing GraphQL APIs: Alex Ackerman - How and why we decided to use directives. I’ll share what directives are, which directives are available out of the box, and how to create custom directives.
3 - Faster GraphQL queries for mobile clients: Theo Ben Hassen - As your mobile app grows, so will your GraphQL queries. In this talk, I will go over diverse strategies to make your queries faster and more effective.
4 - Building tomorrow’s product today: Greg MacWilliam - How Shopify adopts future features in today’s code.
5 - Managing large APIs effectively: Rebecca Friedman - We have thousands of developers at Shopify. Let’s take a look at how we’re ensuring the quality and consistency of our GraphQL APIs with so many contributors.