Skip to content

Instantly share code, notes, and snippets.

View devops-school's full-sized avatar

DevOps School devops-school

View GitHub Profile
@devops-school
devops-school / .gitlab-ci.yml
Created May 28, 2025 02:00
Gitlab Integration with Servicenow
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
@devops-school
devops-school / .gitlab-ci.ym
Created May 28, 2025 01:54
Gitlab Pipeline - Enforce Compliance in pipeline code
# =============================
# 🎯 Pipeline Execution Policy YAML
# Enforces: SAST, Secret Detection, Custom Job
# =============================
type: pipeline
name: enforce-secure-pipeline
enabled: true
rules:
- type: pipeline
branches:

🧪 GitLab Code Section – Student Lab Manual (v18.0)

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.


🎯 Objective

By the end of this lab, you will be able to:

@devops-school
devops-school / DevOpsSchool_Markdown_Certification_Guide.md
Created May 27, 2025 01:59
DevOpsSchool_Markdown_Certification_Guide

🛠️ DevOpsSchool Markdown Reference

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.


📚 DevOps Certifications Offered

Here is a categorized list of certifications you can pursue at DevOpsSchool:

@devops-school
devops-school / .child-pipeline.yml
Created May 26, 2025 18:56
Sample GitLab CI Pipeline: gitlab-ci.yml
stages:
- microservice_build
build_service_a:
stage: microservice_build
script:
- echo "Building microservice A..."
build_service_b:
stage: microservice_build
@devops-school
devops-school / resources.yml
Last active May 21, 2025 05:12
RUNDECK NODE SPEC
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
@devops-school
devops-school / README.md
Created May 7, 2025 15:18
OpenShift Tutorial – Basic Learning Workflow

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.

1. Deployment (for basic deployment)

apiVersion: apps/v1
kind: Deployment
metadata:
  name: httpd-deployment
spec:
@devops-school
devops-school / mflow_demo_cat_dog_classifier.ipynb
Created April 6, 2025 14:59
MLFlow Lab: Cat vs Dog Classifier
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@devops-school
devops-school / README.md
Created December 25, 2024 15:51
Complete Guide to Pytest: From Basics to Advanced

Complete Guide to Pytest: From Basics to Advanced

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.


Table of Contents

  1. Introduction to Pytest
  2. Setting Up Pytest