Skip to content

Instantly share code, notes, and snippets.

View debianmaster's full-sized avatar
🏠
Hyderabad

chakra j debianmaster

🏠
Hyderabad
View GitHub Profile

Step-by-Step Guide to Setting Up a DevOps Pipeline for an Application

Overview

This guide provides a step-by-step process to set up a DevOps pipeline for an application. The pipeline covers the following key areas:

  1. Initializing a repository.
  2. Creating a Dockerfile.
  3. Building a Docker image and pushing it to DockerHub.
  4. Creating Helm charts for deployment.
  5. Setting up GitHub Actions workflows for automation.
  6. Deploying the application using Helm.
import asyncio
import base64
import json
import os
import pyaudio
from websockets.asyncio.client import connect
class SimpleGeminiVoice:
def __init__(self):
@debianmaster
debianmaster / jwks.json
Last active February 20, 2024 16:04
jwks.json
{
"crv": "P-256",
"key_ops": [
"verify"
],
"kty": "EC",
"x": "ZuuYsUCk32GoFmwrTJ-AV6wkEe5b5aDw3RuDQ3HYE80",
"y": "E2QrjlebU3iqkivxSmj_fYArTiu_dbLSgwwTuV76mTE",
"alg": "ES256",
"use": "sig",
name: Docker build
on: push
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Kaniko build
uses: aevea/action-kaniko@master
with:
var seconds = 0;
var mins = 0 ;
var hours =0
const lengthOfTime=3;
function updateTimer() {
seconds = seconds+1;
if(seconds>=lengthOfTime){
seconds=0;
mins = mins+1;
apiVersion: v1
data:
password: WU9VUl9QQVNTV09SRA==
kind: Secret
metadata:
creationTimestamp: null
name: mysql-pass
---
apiVersion: v1
kind: Service
```
keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias
curl -o app.apk -L https://github.com/appium/sample-apps/blob/master/pre-built/selendroid-test-app.apk?raw=true
zipalign -v -p 4 app.apk app-aligned.apk
apksigner sign --ks my-release-key.jks --ks-pass pass:"test123" --out app-release.apk app-aligned.apk
```
@debianmaster
debianmaster / install.yaml
Created October 17, 2020 05:27
peer-calls
---
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: peercalls
annotations:
cert-manager.io/issuer: "ca-issuer"
spec:
rules:
- host: 10.0.0.180.nip.io
apiVersion: v1
kind: Namespace
metadata:
name: ingress-nginx
labels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/instance: ingress-nginx
---
apiVersion: v1
entries:
kubefed:
- apiVersion: v1
created: "2019-08-16T20:55:41.543976601-07:00"
description: KubeFed helm chart
digest: e538f9ea432865d957d842442938dc926a54e4b462996d0600d9e4d9405ced4c
name: kubefed
urls:
- https://github.com/kubernetes-sigs/kubefed/releases/download/v0.1.0-rc6/kubefed-0.1.0-rc6.tgz