Bo2SS

Bo2SS

8 GitLab Practice

57 | Why do domestic internet companies prefer GitLab?#

  • Open-source CI reduces enterprise costs
  • Provides a solution for the entire DevOps lifecycle
  • Supported Code Review early on
  • Many maintainers
  • ...

Reference Why GitLab?

58 | What are the core features of GitLab?#

image

GitLab's services are very comprehensive, refer to DevOps Tools Landscape

Some feature introductions:

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

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
  • ...

Agile teams prefer, can observe GitLab——GitLab

60 | How to conduct code review on GitLab?#

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

Methods: Manual, Automatic

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

You can view its process in CI/CD——Pipelines, and there are many tasks that can be added

image

  • Enable Runner: Settings——CI/CD——Runners
    • Can be understood as a service that runs 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 to AWS?#

Question: In CI/CD——Pipelines, why are some Pipeline Stages different?

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

Deployment process:

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

This series is just the tip of the iceberg in the Git world, hoping to 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.