Example app that displays how to automate build, testing and deploys with github
The accompanying Virtual machine should be copied to your local hard drive.
- Download and install virtualbox
- Import the appliance on virtual box
- Make sure the network is set on bridged
Username: ubuntu Password: password
The development server is installed with all te necessary tools to start this workshop.
To be able to run docker as a user you will need to add your user to the docker group
sudo usermod -aG docker ubuntu
newgrp docker
Configure helm and k9s to deploy to the correct cluster
microk8s enable hostpath-storage
microk8s config > ~/.kube/config
Configure a new runner in your github project
- Goto settings (tab on top)
- In the left menu: actions->runners
- Green button at the top new self-hosted runner
- execute the configure step uitvoeren in /home/ubuntu/actions-runner (without run.sh)
- Install service
ubuntu@ubuntu:~/actions-runner$ sudo ./svc.sh install
- Execute runner
ubuntu@ubuntu:~/actions-runner$ sudo ./svc.sh start