GitLab DevOps Workflow Lab

Overview

The GitLab DevOps Workflow Lab provides a hands-on experience to learn how to set up and manage a GitLab project while implementing DevOps practices. Participants will work with technologies such as Flask for application development, Docker for containerization, and GitLab for CI/CD pipelines. This lab combines collaborative workflow strategies (issues, branches, and merge requests) with practical implementation tasks to build a Python-based web application.

Inside This Lab

You'll learn to:


  1. Set up a GitLab Project: Create and configure a project with proper visibility and documentation.
  2. Python App Development: Build a simple Flask-based app and manage dependencies using requirements.txt.
  3. Containerization with Docker: Add Docker and Docker-Compose support for application portability across environments.
  4. CI/CD Pipeline Creation: Establish automated workflows for building, testing, and deploying the app using .gitlab-ci.yml.
  5. Project Management: Organize tasks using GitLab features like milestones, labels, boards, and issues.
  6. Version Control Workflow: Learn branching strategies and implement changes using merge requests.
  7. Testing and Code Quality: Add unit tests to your application using pytest and practice reviewing code in GitLab.

This lab is ideal for those with a basic understanding of Git and Python, offering a medium-level challenge to establish a streamlined DevOps workflow.

Key Technologies

  • GitLab: Version control, CI/CD, and project management.
  • Docker: Application containerization and portability.
  • Flask: Lightweight Python web framework for app development.

Benefits

Participants will develop expertise in the DevOps lifecycle, including efficient project collaboration, continuous integration and deployment, and streamlined application management with modern tools.


Feel free to explore each step in this lab to build your confidence in managing and deploying Python-based projects using GitLab's robust capabilities.

Difficulty
Beginner
Time to Complete
60 minutes
Price
Premium
Environments You will be given access to live environments below as part of this lab
Docker Docker
Ubuntu Ubuntu
About Author

Review Project Content id: 685102bda96b69c6d0681047 By Starting this lab you agree to Prepare.Sh Terms of Service (TOS)