If you are seeing such error when doing build in OpenShift - 'error: build error: fatal: git fetch-pack: expected shallow list', then you probably have missed the ref in your build configuration, ref can be tag or branch name. spec: triggers: - type: ConfigChange source: type: Git git: uri: 'http://github.com.au/jc1518/dilbert.git' ref: master
Tag: DevOps
Run Hubot on OpenShift
In this article, I will demonstrate how to build a Hubot bot on OpenShift. Four key take-away points. Create secret for git clone Use docker strategy to build if you prefer Dockerfile over S2I Inject environment variables from ConfigMap If needed, you can replace the FROM or CMD that defined in Dockerfile during deployment. In … Continue reading Run Hubot on OpenShift
Huggies – AWS Elastic Beanstalk Automation Tool
Huggies is a side project that I started when working for the NAPI team which pronounced as ['næpɪ], and that is why I named it as Huggies 😉 The team's environments are mostly on AWS Elastic Beanstalk. In general, Elastic Beanstalk is a good tool as it abstracts the complexicity of managing Elastic Load Balancer, … Continue reading Huggies – AWS Elastic Beanstalk Automation Tool
Site Reliability Engineering
How Google Runs Production Systems? Table of Contents Table of Contents Foreword Preface Part I - Introduction Chapter 1 - Introduction Chapter 2 - The Production Environment at Google, from the Viewpoint of an SRE Part II - Principles Chapter 3 - Embracing Risk Chapter 4 - Service Level Objectives Chapter 5 - Eliminating Toil … Continue reading Site Reliability Engineering
Code smartly to avoid exceed AWS request rate
Have your http calls ever been throttled by AWS? If not, congratulations! And if you are curious about what it looks like, here you go: Below is what AWS says about the EC2 request rate limits. The same principal applies to other AWS services, e.g Autoscaling group, in which I encountered the rate exceeded problem. … Continue reading Code smartly to avoid exceed AWS request rate

