Рет қаралды 781
We discussed about the best practices of GitOps for building CI/CD pipeline, introduced a cool CD solution for deployment on Kubernetes and demo'ed to build CI/CD pipelines from scratch.
The repos for the 2 sample pipelines in the video:
1. gitlab.com/zzhao2010/zztalk-a...
2. gitlab.com/zzhao2010/zztalk-a...
Documentation: argo-cd.readthedocs.io/en/sta...
The fix regarding the docker PATH issue at 44:36 in the video if you install Jenkins via HomeBrew and host it on macOS.
Issue:
The /user/local/bin directory is not included in the macOS PATH for docker images by default.
Solution:
Add /usr/local/bin to the PATH and recycle the Jenkins instance.
vim /usr/local/opt/jenkins-lts/homebrew.mxcl.jenkins-lts.plist
(Note: Please add the angle brackets below before you paste it because angle brackets are not allowed in the description..)
key EnvironmentVariables /key
dict
key PATH /key
string /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin /string
/dict
Timestamps:
0:00 - GitOps concept & DevOps best practices
21:31 - Demo part 1: Application containerization with Docker
30:22 - Demo part 2: Build CI pipeline with Jenkins
49:00 - Demo part 3: Build CD pipeline with ArgoCD
Related Videos for Docker:
1. • Containerization - Doc...
2. • Manipulating Container...
3. • Build Custom Image via...
#zzTalk #automation #cicd #jenkins #kubernetes #argocd #pipeline #devops