Bo2SS

Bo2SS

8 GitLab Practices

57 | Why do Chinese Internet companies like GitLab?#

  • Open-source CI reduces enterprise costs
  • Provides a solution for the full DevOps lifecycle
  • Supports Code Review from early stages
  • Multiple maintainers
  • ...

Reference: Why GitLab?

58 | What are the core features of GitLab?#

image

GitLab provides a comprehensive set of services. Reference: DevOps Tools Landscape

Some feature highlights:

  • Manage: Overview--Contribution Analytics
  • Plan: Boards
  • Verify: MR, CR, Pipeline
  • Monitor: Operations

Reference: Simplify your workflow with GitLab--Develop with DevOps in a single application

59 | How to manage projects on GitLab?#

Issues:

  • List
  • Boards
  • Service Desk
  • Milestones
  • ...

Preferred by agile teams. You can refer to GitLab for more information.

60 | How to do code review on GitLab?#

Requirements: Set up protected branches (Settings-- Repository--Protected Branches), MR

Methods: Manual, Automated

61 | How to ensure the quality of integrations on GitLab?#

You can view the process in CI/CD--Pipelines, and there are many tasks that can be added.

CI/CD Pipelines

  • Enable Runner: Settings--CI/CD--Runners
    • Can be understood as a service for running CI tasks
    • You can use a custom Runner or use the shared Runner provided by GitLab

Reference: Get started with GitLab CI/CD - GitLab

62 | How to deploy applications on AWS using GitLab?#

Question: Why are some stages of the Pipelines in CI/CD--Pipelines different?

Answer: There are conditions in the .gitlab-ci.yml file.

Deployment process:

  • Write the .gitlab-ci.yml file and configure the Runner
  • Write the deployment script
    • Some confidential variables can be configured in Settings--CI/CD--Variables

This series only scratches the surface of the Git world. I hope this series will spark readers' interest and encourage them to continue exploring!

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.