####Assumptions
- QGIS installed (if not: http://qgis.com/)
We will use the Electoral District and Polling Division shapefiles found on the Elections Ontario site:
| # Referenced videos: | |
| # - Argo CD - Applying GitOps Principles To Manage Production Environment In Kubernetes: https://youtu.be/vpWQeoaiRM4 | |
| # - kind - How to run local multi-node Kubernetes clusters: https://youtu.be/C0v5gJSWuSo | |
| # - GitHub CLI - How to manage repositories more efficiently: https://youtu.be/BII6ZY2Rnlc | |
| # - Argo Workflows and Pipelines - CI/CD, Machine Learning, and Other Kubernetes Workflows: https://youtu.be/UMaivwrAyTA | |
| # - Running Jenkins In Kubernetes - Tutorial And Review: https://youtu.be/2Kc3fUJANAc | |
| # - Github Actions Review And Tutorial: https://youtu.be/eZcAvTb0rbA | |
| # - Tekton - Kubernetes Cloud-Native CI/CD Pipelines And Workflows: https://youtu.be/7mvrpxz_BfE | |
| # - Environments Based On Pull Requests (PRs): Using Argo CD To Apply GitOps Principles On Previews: https://youtu.be/cpAaI8p4R60 | |
| # - How To Apply GitOps To Everything - Combining Argo CD And Crossplane: https://youtu.be/yrj4lmScKHQ |
| # Source: https://gist.github.com/0d73463668d1f75ac0e94c7cd7d03fed | |
| ############################################### | |
| # GitHub CLI # | |
| # How to manage repositories more efficiently # | |
| # https://youtu.be/BII6ZY2Rnlc # | |
| ############################################### | |
| # Referenced videos: | |
| # - Ketch - How to Simplify Kubernetes Deployments: https://youtu.be/sMOIiTfGnj0 |
| # Source: https://gist.github.com/28e2adb5946ca366d7845780608591d7 | |
| ########################################################### | |
| # Argo Workflows & Pipelines # | |
| # CI/CD, Machine Learning, and Other Kubernetes Workflows # | |
| # https://youtu.be/UMaivwrAyTA # | |
| ########################################################### | |
| # Referenced videos: | |
| # - Argo CD - Applying GitOps Principles To Manage Production Environment In Kubernetes: https://youtu.be/vpWQeoaiRM4 |
| # Source: https://gist.github.com/a0a7ff04a7e22409cdfd8b466edb4e48 | |
| ################################################# | |
| # Argo Events # | |
| # Event-Based Dependency Manager for Kubernetes # | |
| # https://youtu.be/sUPkGChvD54 # | |
| ################################################# | |
| ######### | |
| # Setup # |
| # Source: https://gist.github.com/820aecf0799d679d9082eef00d07b515 | |
| ############################################################################# | |
| # Bitnami Sealed Secrets # | |
| # How To Store Kubernetes Secrets In Git Repositories Without Getting Fired # | |
| # https://youtu.be/xd2QoV6GJlc # | |
| ############################################################################# | |
| # Referenced videos: | |
| # - What Is GitOps And Why Do We Want It?: https://youtu.be/qwyRJlmG5ew |
| # Move to root directory... | |
| cd / | |
| mkdir keys | |
| cd keys | |
| # Generate a self signed certificate for the CA along with a key. | |
| mkdir -p ca/private | |
| chmod 700 ca/private | |
| # NOTE: I'm using -nodes, this means that once anybody gets | |
| # their hands on this particular key, they can become this CA. |
####Assumptions
We will use the Electoral District and Polling Division shapefiles found on the Elections Ontario site:
| # You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
| # This is how I upload my new Sol Trader builds (http://soltrader.net) | |
| # Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
| S3KEY="my aws key" | |
| S3SECRET="my aws secret" # pass these in | |
| function putS3 | |
| { | |
| path=$1 |
| 'use strict'; | |
| var Q = require('q'); | |
| module.exports = function (sequelize, DataTypes) { | |
| return sequelize.define('Snapshot', { | |
| time: { | |
| type: DataTypes.DATE | |
| } | |
| }, { |
Finishing this guide you'll get:
Specification of latest running installation: