Skip to content

Instantly share code, notes, and snippets.

View iEv0lv3's full-sized avatar

Jordan Williams iEv0lv3

  • Population 3
  • Boulder, CO
View GitHub Profile
@iEv0lv3
iEv0lv3 / meltano_docker_pull.sh
Created September 7, 2021 17:29
Meltano :: Docker Pull
docker pull meltano/meltano:latest-python3.8
@iEv0lv3
iEv0lv3 / tap_setup.md
Created June 10, 2021 19:28
Singer Tap :: Setup

Building Taps w/ Singer

This guide will walkthrough the basic construction of a singer tap that uses an api endpoint as its data source. Singer Taps can be built to pull from many different types of endpoints but most commonly used is an api.

Singer Resources: - Singer Docs

Mashey Required Setup: - Python 3.8 + - Singer-Python - Pytest

@iEv0lv3
iEv0lv3 / bv_sql.py
Created February 26, 2021 19:56
BrightView SQL Query
def query_database(
self,
table,
limit=1000,
offset=0,
limit_key='last_operation_time',
limit_key_value='2000-01-11 00:00:00.000000'
):
if table == 'procedure':
self.sql.execute(
@iEv0lv3
iEv0lv3 / meltano_prod.md
Created February 25, 2021 00:07
Meltano + Kubernetes :: Production Deployment

Meltano + Kubernetes :: Production Deploy

This guide assumes:

  • Custom Singer taps and targets are complete and tested
  • The production environment is GCP

The following process is to create a Meltano application that contains the desired extractors and loaders, and then deploy it on GCP Kubernetes Engine.

Environment Requirements:

@iEv0lv3
iEv0lv3 / gcp_docker_rails.md
Last active February 17, 2024 22:32
GCP Cloud Run :: Docker :: Rails

Google Cloud Platform (GCP) :: Docker :: Rails

This guide covers deploying a Docker image of a Rails and PostgreSQL application on Google Cloud Platform using Cloud Build, Container Registry, Cloud Key Management Service, Cloud Run, Cloud SQL, and Cloud Store. The following section provides links to a detailed guide created by a Google Developer Advocate which was the base for my build, but needed to be adjusted.

Cloud Run + Rails + PostgreSQL Guide

Google Cloud Run on Rails: a real life example Part 1

Google Cloud Run on Rails: a real life example Part 2

Google Cloud Run on Rails: a real life example Part 3

@iEv0lv3
iEv0lv3 / circleci_rails_setup.md
Last active July 30, 2020 19:57
CircleCI setup for Rails, PostgreSQL, and Docker app

CircleCI :: Rails

This guide is intended for a Rails application that uses PostgreSQL and is tested, developed, and deployed using Docker. The following link is a setup guide for a Rails + PostgreSQL application using Docker:

https://gist.github.com/iEv0lv3/17e33bc8d3ad4132d317ba5a1cf62d9b

The guide assumes the above Docker + Rails setup is complete. The approach in this guide creates a new Rails environment: staging, and the only responsibility of the staging environment is to be used with CircleCI for CI/CD testing. The environment name can be whatever you'd like, ci, cd, or circleci would all work as environment names as well. Why I prefer this approach is because it allows the use of standard CircleCI environments for the build and test jobs that utilize native CircleCI images for Ruby and PostgreSQL. It also allows for a high degree of customization for CircleCI without affecting Docker test, development, and production deployments.

Completing the ent

@iEv0lv3
iEv0lv3 / docker_rails_setup.md
Last active May 11, 2021 11:33
Docker setup for Rails and PostgreSQL
@iEv0lv3
iEv0lv3 / mod3_group.md
Created April 6, 2020 19:42
Terrificus :: DTR

Group Member Names:

Jordan Williams, Sebastian Sloan, David Holtkamp, Steven Anderson

Goals and Expectations for the Project (What does each group member hope to get out of this project? What do we want to achieve as a team? How will we know that we're successful?):

Group: as a team we hope to build on the foundation of our API skills and further develop new skills with new technologies. One of our primary goals is to make sure we collaborate effectively, help each other, and communicate well. Our gauge for success is if all group members have a good experience while working on this project, and also that we meet all criteria with minimum scores of 3.

Team strengths & collaboration styles (consider discussing your Pairin qualities here):

Project Feedback

Name: < Jordan Williams >

Partner: < Ray Nguyen >

Project Reflection

Project Feedback

Name: < Jordan Williams >

Partner: < David Atkins >

Project Reflection