How to migrate a git repo to gogs?

Gogs is a self-hosted git server that describes itself as: Gogs a painless self-hosted git service How to Migrate a Git Repo to Gogs To migrate a git repo to gogs – the process is to clone the repo in mirror mode and then push it to gogs in mirror mode. This method will work […]

DevOps Documentation git

Deploying Mkdocs with Gitlab CI and Gitlab Pages

Gitlab does not have mkdocs in their prexisting ci/cd templates. .gitlab-ci.yml On your repo create a .gitlab-ci.yml file with the following contents: image: python:3.8-buster before_script: – pip install –upgrade pip && pip install -r requirements.txt pages: stage: deploy script: – mkdocs build – mv site public artifacts: paths: – public only: – master All Gitlab […]

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 $ […]

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 […]

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 – […]