-
Create pipeline in jenkins UI
- Add github project path
- Add github pull request builder
- Add SCM and Jenkinsfile path
-
Add github auth
- To auth with github and jenkins
-
Add docker credentials file - config.json
- For image push to docker hub
In Jenkinsfile create yaml template for require images.
Docker dind for docker build image "docker:stable-dind"
Helm for deploy builded app to the cluster "alpine/helm:3.10.2"
NOTE: It may take a few minutes for the LoadBalancer IP to be available.\
export SERVICE_IP=$(kubectl get svc --namespace app azt-app-azt-nginx --template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}")
echo http://$SERVICE_IP
pull request