Skip to content

Instantly share code, notes, and snippets.

View gowthamshankar99's full-sized avatar
🎯
Focusing

gowthamshankar99

🎯
Focusing
View GitHub Profile
AWSTemplateFormatVersion: '2010-09-09'
Resources:
MyStepFunctionStateMachine:
Type: AWS::StepFunctions::StateMachine
Properties:
DefinitionString:
Fn::Sub:
- |
{
@gowthamshankar99
gowthamshankar99 / apache_airflow.md
Last active April 15, 2024 15:47
Apache Airflow

Apache Airflow

How does Apache Airflow work ?

DAG - Directed Acyclic Graph

  • Blueprint for your workflow
  • Tasks are executed in a specific order

What is an Airflow Operator

@gowthamshankar99
gowthamshankar99 / Jenkins_Dynamicvars.md
Last active July 24, 2023 05:55
Potential ways to variablize Jenkinsfile to avoid using multiple Jenkins file for different environments

Use JENKINS_URL environment variable to restrict environment specific deployment

The below method can be used for dynamically picking a serviceaccont based on the JENKINS_URL as well.

pipeline {
    agent any
    environment {
        ENV_NAME = 'production'
 }
@gowthamshankar99
gowthamshankar99 / snow_tap.md
Last active August 15, 2022 18:34
This gist explains how to integrate ServiceNow with Tanzu Application Platform Supply Chain

Problem Statement

Tanzu Application Platform leverages Cartographer's Supply chain to orchestrate the CI/CD Process. However TAP works with tools installed within the TAP Cluster like Tekton, Flux, Grype etc. In this Gist, we will look at integrating TAP with external tools like ServiceNow.

Note

For the purpose of this Demo - We took the liberty to integrate TAP Supply chain with the Snow's Incident module. However integrating with other modules like ChangeRequest, RITM, Task follows the same pattern. The only change would be to update the API call to point to the other modules.

Prerequisites