Jenkins X Environment Specific Variables Mar 4, 2019 Jenkins X is the self described CI/CD solution for modern cloud applications on Kubernetes. Jenkins X uses Helm to manage Kubernetes deployments. This short post is about leveraging the dynamism of Helm charts to allow different environment variables per environment and even per pull request. Prerequisite You have a cluster running that is managed by Jenkins X. There are plenty of getting started tutorials on the Jenkins X website and since this post is more about how to use Helm with Jenkins X, we won’t be covering installation.
Using Minikube with Local Docker Images Sep 20, 2018 When developing locally with Minikube, you may want to use locally built Docker images instead of images hosted in a registry. Why push images up to Google’s GCR or AWS ECR if you’re only testing locally? Thankfully, this is simple with only a few steps. With Minikube running, eval the docker-env to configure your shell to get started. eval $(minikube docker-env) Build your image. In the containers specification of your deployment, use the locally built image and specify the imagePullPolicy.
Static Websites with AWS S3 and Cloudflare Sep 7, 2018 Amazon Web Service’s S3 is an excellent place to deploy a static website. If Cloudflare is your DNS provider, however, there are a few tricks that you need to be aware of when setting up your static site. We’re going to talk about how to get started with your static site on S3 and your DNS in Cloudflare. AWS S3 Bucket Cloudfront Distribution Cloudflare DNS AWS First, of course, we need a static site deployed to S3.
Introducting GReleaser Aug 19, 2018 Do you use Jira? Do you use GitHub? Do you create versions in Jira and also releases in GitHub? Are you tired of manually tagging commits in GitHub and copying release notes from Jira? Then GReleaser is for you! GReleaser is a command line tool that allows you to automatically create releases in GitHub using Jira release notes and names. To create a release in GitHub from a Jira version, it can be as simple as passing the Jira project, version and the name of your GitHub repo.
Supervisor Reread Update Jul 30, 2016 I needed to add some options to gunicorn running under supervisor the other day. I ran gunicorn from the command line with the new argurments — no problem. I added the arguments to the command in supervisor, restarted with supervisorctl — problem. Supervisor wasn’t picking up the new arguments. I restarted again. Nothing. I tried the command arguments inline. I tried a gunicorn conf file. I tried a shell script with the commands.
Creating a Date Dimension Table in PostgreSQL Apr 22, 2016 If you’ve ever read any of Ralph Kimball’s data warehouse books or have any experience with modeling data in the Kimball style, you know that a date dimension is a key part of any star schema. You probably found resources for creating Oracle, SQL Server or MySQL but may have had difficulty finding SQL to create a date dimension table for PostgreSQL. Here’s a bit of code adapted from the PostgreSQL wiki that I like for creating the ever necessary date dimension in PostgreSQL.
Getting Started with LoopBack and SQL Server Mar 23, 2015 Getting started with LoopBack and SQL Server In this tutorial, we’ll talk about getting started with LoopBack and SQL Server. We’ll create an API using an existing SQL Server table as the backend. Let’s jump right in. Prerequisites You have Node.js installed You have some version of SQL Server installed SQL Server You know SQL Server. SQL Server is Microsofts RDMS offering for OLTP, data warehousing, business intelligence and analytics.
Setup Jenkins CI with your Node.js LoopBack API and Bitbucket Mar 22, 2015 Setup Jenkins CI with your Node.js LoopBack API and Bitbucket This tutorial will cover setting up your Nodes.js LoopBack API application with a private Bitbucket repository and Jenkins CI for your continuous integration needs. This is a relatively straightforward process, but there are a few points to which you need to pay attention. Let’s jump right in. Prerequisites You have Node.js installed You have git installed You have a Bitbucket account
Logging LoopBack Requests to Mar 15, 2015 I’ve been experimenting with LoopBack recently, using it to prototype an API. It really is quite amazing how quickly you can get a full-fledged API up and running with LoopBack. Just follow the getting started guide and you’ll see what I mean. After getting a pretty decent API up and running, I began testing a few different ways of logging API requests. I still haven’t quite settled on the way that I want to do this yet, but one issue that I did encounter was trying to get the response time of the call from expressjs/response-time.