DevOps application solution based on Docker containers

Table of Contents Experimental requirements: 1. Preparation work 2.gitlab host operation 3. harbor host operation 4. jenkins host operation Write jenkins pipeline script Experimental requirements: 1. Deploy gitlab and upload the code of the above project to your own gitlab warehouse (the first host) 2. Deploy jenkins based on tomcat (second host) 3. Deploy harbor […]

Implement devops application based on docker container

Article directory Implement devops application based on docker container 1. Deploy Gitlab and upload a project 2. Deploy jenkins based on tomcat 2.1 Deploy tomcat 2.2 Deploy Jenkins 3. Deploy harbor warehouse 3.1 Modify the mapping file on other hosts that need to use private warehouses 3.2 Deploy harbor warehouse 4. Deploy docker 5. Make […]

DevOps application solution based on Docker container

Article directory Environment introduction 1. Deploy gitlab warehouse 2. Deploy jenkins 3. Install the harbo warehouse 4. Deploy docker on the fourth host, and make a tomcat image and upload it to the harbor warehouse 5. Upload the code to the gitlab warehouse 6. Install docker on the jenkins host and create a pipeline script […]

Azure DevOps YAML files have different output variables and conditions for different stages, jobs, and tasks.

Application of stage, job, task and condition in YAML Introduction Resource preparation structural relationship Code writing (task) Define variables within task task condition gets variable value task code explanation Test task code Code writing (job) job variable definition Get job variable value job condition job code explanation Test job code Code writing (stage) stage code […]

DevOps deploys python’s AzureFunctions (Httptrigger) + DevOps deploys Terraform to build and deploy Infra resources

DevOps + Terraform deployment Infra + Azure Functions deployment Resources Introduction Terraform What is Terraform? Terraform run mode? Terraform version control? AzureDevOps AzureFunctions Background introduction Resource preparation code writing Project code Infra code Write infra code Follow-up: [For subsequent deployment, please refer to DevOps deployment of python AzureFunctions (Httptrigger) + DevOps deployment of Terraform to […]

DevOps deploys python’s AzureFunctions (Httptrigger) + DevOps deploys Terraform to build and deploy Infra resources (2)

DevOps + Terraform Deployment Infra + Azure Functions Deployment 2 Deployment preparation Push the project, create a Self-Host Agent or use Microsoft’s own compiler (here we use Microsoft’s own compiler) Create Service Principal Create a storage account and a container to store files generated by running Terraform Deploy and create code Terraform controls Release code […]

Implement database CI/CD best practices based on Azure DevOps

Database changes have always been the least efficient, most complex, and risky link in the entire application release process. It is also the most difficult position to conquer in the DevOps process. So can we handle database changes like code in a specific CI/CD process? DORA Research Report DORA (DevOps Research & Assessment) is a […]

Implement GitOps with GitHub, Argo CD, and KCL to simplify DevOps

Foreword In modern software development, GitOps plays a key role in improving efficiency and reducing human error as a single-truth automated approach to managing infrastructure and applications, and is now widely popular in areas such as cloud native. However, there are not many practical examples related to GitOps. This article will use KCL, GitHub, Argo […]

How to use test automation to implement DevOps?

The DevOps framework essentially leverages culture, the shared values and vision of a team, to facilitate collaboration between business, operations, and development teams to create, test, and deploy software in a faster, more efficient way. In this process, the importance of testing is self-evident. If companies want to deliver high-quality software quickly and consistently, they […]