title: Continuously Deploying Microservices to Kubernetes using Google Container Engine and Google Container Registry date: 2016-06-07 tags: containers, gke, gcr, google container engine, google container registry, author: Toon Verbeek authorTwitterUrl: https://twitter.com/tonnusos gravatarhash: d4b19718f9748779d7cf18c6303dc17f headerBackground : FAFAFA; headerColor : 3DBDEE; headerWidth : 30%;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assistant | |
<reasoning> | |
To solve for SnapFit’s marketing and growth strategy—a social workout app—I assemble this multidisciplinary, high-bar panel: | |
Arielle Zuckerberg, Growth Partner, Long Journey VC (consumer growth, viral loops) | |
Alexandra Zatarain, Co-founder, Eight Sleep (fitness/wellness DTC, community) | |
Lenny Rachitsky, ex-Airbnb, growth & product advisor (marketplaces, retention) | |
Andrew Chen, a16z, author of The Cold Start Problem (network effects, viral launch strategy) | |
Mikayla Nogueira, fitness micro-influencer (creators, UGC) | |
Brian Balfour, CEO Reforge, ex-HubSpot VP Growth (growth loops, analytics) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: Deploy Firebase Functions | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events | |
push: | |
branches: [master] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// index.js | |
// inititalize firebase | |
const functions = require('firebase-functions'); | |
const admin = require('firebase-admin'); | |
// install by running "yarn add date-fns" | |
const { isPast, addHours } = require('date-fns'); | |
admin.initializeApp(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { backup, restore, initializeApp } = require('firestore-export-import') | |
const fs = require('fs-extra'); | |
const args = process.argv.slice(2); | |
if (args.includes('import')) { | |
process.env.FIRESTORE_EMULATOR_HOST = 'localhost:8080'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no-response-timeout: 15 | |
command-timeout: 30 | |
box: maven:3-jdk-8 | |
### This is going to be your first pipeline to get executed in your Workflow | |
build: | |
steps: | |
- script: | |
name: maven build |
This guide is a step-by-step approach to developing, building and deploying a sample app with wercker within minutes.
While this guide uses PHP, the general concepts explained in this tutorial apply to every other programming language.
To be able to follow along with this guide, you will need the following things:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"containerDefinitions": [ | |
{ | |
"volumesFrom": [], | |
"portMappings": [ | |
{ | |
"hostPort": 80, | |
"containerPort": 5001, | |
"protocol": "tcp" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
box: google/golang | |
build: | |
(...) | |
deploy: | |
steps: | |
- script: | |
name: setup phase ENV variables | |
code: | | |
export SILO=/usr/dev/silo |