Categories
Containerisation Containers Continuous Integration DevOps git Uncategorized

Cannot use harbor robot account ImagePullBackOff pull access denied

This post is mainly about harbor robot accounts. Robot accounts are accounts used to run automated operations and have no access to the frontend. The account to use in your continuous integration or k8s registry secrets. You create a robot account by going to: Project -> Robot Accounts -> New Robot Account The Problem $ […]

Categories
Containerisation Containers Continuous Integration git

Use Self-hosted Gitlab to build and deploy images to Harbor

I have a gitlab version control and CI instance running. I also have a Harbor registry running. Now I want to ensure the I can build and push images from gitlab onto harbor using gitlab’s continuous integration and continuous deployment (CI/CD). First Steps Create a git repo on gitlab with your Dockerfile Create a user […]

Categories
Containerisation Continuous Integration Docker

Help Me Understand Containerisation (Docker) – Part 2

This is part 2, I’d recommend checking out Part 1 of Help Me Understand Containerisation (Docker) We have gone over the development workflow – in a django context – and it was quite a hefty chunk. Now let us look at continuous integration with gitlab and containers. The Container CI Workflow We are going to […]

Categories
Containerisation Continuous Integration DevOps

Help me Understand Containerisation (Docker) – Part 1

I was looking at nodeJS servers, how they work and ways to scale them. I came across a best practices repo and it said: “Be stateless, kill your Servers almost every day“. I’ve always been skeptical of docker and containers – granted I haven’t used them extensively but I’ve always thought of them as needless […]

Categories
ansible Continuous Integration git jenkins

Getting Jenkins to deploy with ansible using SSH Agent Forwarding

Your CI/CD tool needs access to code and server, for linting, testing and deploying. Setup up access on the various devices in a secure manner can be very time consuming. It is important to make use of available technology to make our lives easier. Jenkins needs access You will have created credentials for Jenkins – […]