I’ve been using CircleCI version 1.0 to build, test and upload Scala application packages to S3 for over 2 years. The CircleCI 1.0 template for the Scala apps are easy to understand and implement quickly which was a huge benefit over the older CI/CD solutions I was using. In July 2017, CircleCI 2.0 was released.
CircleCI 2.0 features dramatically reduced build times and gives users more flexibility regarding the build environments than 1.0. Having said all this, there is a cost in upgrading, in that you need to migrate your 1.0 configuration file to the new 2.0 schema.
In this post I’ll walk you through how I migrated a Scala application from 1.0 to 2.0. Below is my CircleCI 1.0 yaml file for a Scala-based app named
samplescala. The source code for the
samplescala app can be found in this github repo.