Welcome to the GitLab Lab Manual for the Code section. This hands-on guide will walk you through using essential version control and collaboration tools available under a GitLab project’s Code tab.
By the end of this lab, you will be able to:
stages: | |
- plan | |
- approval | |
- deploy | |
variables: | |
SERVICENOW_INSTANCE: "https://your-instance.service-now.com" | |
CHANGE_REQUEST_ID_FILE: "change_request_id.txt" | |
# Step 1: Create a Change Request in ServiceNow |
# ============================= | |
# 🎯 Pipeline Execution Policy YAML | |
# Enforces: SAST, Secret Detection, Custom Job | |
# ============================= | |
type: pipeline | |
name: enforce-secure-pipeline | |
enabled: true | |
rules: | |
- type: pipeline | |
branches: |
Welcome to the GitLab Lab Manual for the Code section. This hands-on guide will walk you through using essential version control and collaboration tools available under a GitLab project’s Code tab.
By the end of this lab, you will be able to:
Welcome to DevOpsSchool – your one-stop platform for mastering DevOps and Cloud skills. Below is a demonstration of Markdown language features while introducing our top certifications and frameworks.
Here is a categorized list of certifications you can pursue at DevOpsSchool:
stages: | |
- microservice_build | |
build_service_a: | |
stage: microservice_build | |
script: | |
- echo "Building microservice A..." | |
build_service_b: | |
stage: microservice_build |
localhost: | |
nodename: local-1 | |
hostname: localhost | |
osVersion: 26~22.04.1-Ubuntu | |
osFamily: Linux | |
osArch: amd64 | |
description: Rundeck server node | |
osName: Linux | |
username: ubuntu | |
tags: '' |
Centos | |
https://packagecloud.io/pagerduty/rundeck/packages/rpm_any/rpm_any/rundeck-5.12.0.20250512-1.noarch.rpm/download.rpm?distro_version_id=227 | |
Docker | |
docker pull rundeck/rundeck:5.12.0 | |
Debian | |
https://packagecloud.io/pagerduty/rundeck/packages/any/any/rundeck_5.12.0.20250512-1_all.deb/download.deb?distro_version_id=35 | |
Fedora |
To deploy an image in OpenShift using the openshift/httpd
image, and configure different Kubernetes resources such as StatefulSets, Secrets, ConfigMaps, CronJobs, Jobs, DaemonSets, and HPA, here are the YAML configurations and relevant commands for each.
apiVersion: apps/v1
kind: Deployment
metadata:
name: httpd-deployment
spec:
Pytest is a powerful Python testing framework that is widely used for unit testing, integration testing, and functional testing. This guide will take you step by step from basic to advanced features of Pytest, providing a comprehensive understanding of its capabilities.