This file contains 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
apiVersion: apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: {{ include "themeparks-bot.fullname" . }} | |
labels: | |
app: {{ include "themeparks-bot.name" . }} | |
chart: {{ include "themeparks-bot.chart" . }} | |
release: {{ .Release.Name }} | |
heritage: {{ .Release.Service }} | |
annotations: |
This file contains 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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: {{ include "themeparks-bot.fullname" . }} | |
labels: | |
app: {{ include "themeparks-bot.name" . }} | |
chart: {{ include "themeparks-bot.chart" . }} | |
release: {{ .Release.Name }} | |
heritage: {{ .Release.Service }} | |
annotations: |
This file contains 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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: {{ include "themeparks-bot.fullname" . }} | |
labels: | |
app: {{ include "themeparks-bot.name" . }} | |
chart: {{ include "themeparks-bot.chart" . }} | |
release: {{ .Release.Name }} | |
heritage: {{ .Release.Service }} | |
annotations: |
This file contains 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
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: {{ include "themeparks-bot.fullname" . }} | |
labels: | |
app: {{ include "themeparks-bot.name" . }} | |
chart: {{ include "themeparks-bot.chart" . }} | |
release: {{ .Release.Name }} | |
heritage: {{ .Release.Service }} | |
annotations: |
This file contains 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
#!/bin/bash | |
# Setting -e and -v as pert https://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps | |
# -e: immediately exit if any command has a non-zero exit status | |
# -v: print all lines in the script before executing them | |
# -o: prevents errors in a pipeline from being masked | |
set -euo pipefail | |
# IFS new value is less likely to cause confusing bugs when looping arrays or arguments (e.g. $@) | |
IFS=$'\n\t' |
This file contains 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
#!/bin/bash | |
# Setting -e and -v as pert https://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps | |
# -e: immediately exit if any command has a non-zero exit status | |
# -v: print all lines in the script before executing them | |
# -o: prevents errors in a pipeline from being masked | |
set -euo pipefail | |
# IFS new value is less likely to cause confusing bugs when looping arrays or arguments (e.g. $@) | |
IFS=$'\n\t' |
This file contains 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
before_install: | |
- echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ wheezy main" | sudo tee /etc/apt/sources.list.d/azure-cli.list | |
- sudo apt-key adv --keyserver packages.microsoft.com --recv-keys 52E16F86FEE04B979B07E28DB02C46DF417A0893 | |
- sudo apt-get -qq update | |
- sudo apt-get install -qq apt-transport-https | |
- sudo apt-get install -qq azure-cli | |
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl | |
- chmod +x ./kubectl | |
- sudo mv ./kubectl /usr/local/bin/kubectl | |
- curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh |
This file contains 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
#!/bin/bash | |
# Setting -e and -v as pert https://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps | |
# -e: immediately exit if any command has a non-zero exit status | |
# -v: print all lines in the script before executing them | |
# -o: prevents errors in a pipeline from being masked | |
set -euo pipefail | |
# IFS new value is less likely to cause confusing bugs when looping arrays or arguments (e.g. $@) | |
IFS=$'\n\t' |
This file contains 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
#!/bin/bash | |
# Setting -e and -v as pert https://docs.travis-ci.com/user/customizing-the-build/#Implementing-Complex-Build-Steps | |
# -e: immediately exit if any command has a non-zero exit status | |
# -v: print all lines in the script before executing them | |
# -o: prevents errors in a pipeline from being masked | |
set -euo pipefail | |
# IFS new value is less likely to cause confusing bugs when looping arrays or arguments (e.g. $@) | |
IFS=$'\n\t' |
This file contains 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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"environmentName": { | |
"type": "string", | |
"defaultValue": "dev", | |
"allowedValues": [ | |
"dev", | |
"prod" |