Continue with part one, I will show you the details of the CICD scripts and also the Bamboo plan. Lets start with the CICD scripts, it can be found in my OpenShift-CICD repository on GitHub. The key parts are two OpenShift configuration files: build.yaml and deploy.yaml. The script is to make a copy from the template … Continue reading CICD on OpenShift Part Two
Tag: DevOps
CICD on OpenShift Part One
I have successfully migrated 'Dilbert' from EC2 instance to OpenShift. Dilbert is an automation bot that we use to offload some daily operations. In this article, I will show you how it works. In the Dilbert project, I have one build configuration. For each version, I only build once. This to ensure only one binary … Continue reading CICD on OpenShift Part One
Simple version of CICD Workflow
Above is my simple version of CICD workflow that I use as a guidance in day to day work. A bit explanations on how to use it. The workflow has six stages and seven scenarios. Six Stages: Commit Change: When user commit changes to code repository. Build Binary: When CI server builds the binary to … Continue reading Simple version of CICD Workflow
OpenShift build error: fatal: git fetch-pack: expected shallow list
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
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