Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ helm_deploy: &helm_deploy
skip_tls_verify: true
helm_repos: srcd-charts=https://src-d.github.io/charts/
chart: srcd-charts/gitbase-web
chart-version: 0.4.0
chart-version: 0.5.0
release: gp
tiller_ns: kube-system
wait: true
Expand Down Expand Up @@ -64,8 +64,8 @@ pipeline:
<<: *helm_deploy
prefix: STG
secrets: [ STG_API_SERVER, STG_KUBERNETES_TOKEN ]
values: gitbaseWeb.image.tag=commit-${DRONE_COMMIT_SHA:0:7},ingress.globalStaticIpName=gitbase-playground-staging,ingress.hostname=gitbase-playground-staging.srcd.run
values_files: [.helm-staging.yml]
values: gitbaseWeb.image.tag=commit-${DRONE_COMMIT_SHA:0:7}
values_files: [ .helm-defaults.yml, .helm-staging.yml]
when:
branch: [master]
event: [push]
Expand Down
60 changes: 60 additions & 0 deletions .helm-defaults.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
service:
type: NodePort
port: 8080

bblfshdServer:
image:
repository: bblfsh/bblfshd
tag: v2.10.0
pullPolicy: IfNotPresent
drivers:
install: true
languages:
python:
repository: bblfsh/python-driver
tag: v2.4.0
cpp:
repository: bblfsh/cpp-driver
tag: v0.3.0
java:
repository: bblfsh/java-driver
tag: v2.3.0
php:
repository: bblfsh/php-driver
tag: v2.4.0
ruby:
repository: bblfsh/ruby-driver
tag: v2.4.0
javascript:
repository: bblfsh/javascript-driver
tag: v2.3.0
bash:
repository: bblfsh/bash-driver
tag: v2.1.0
go:
repository: bblfsh/go-driver
tag: v2.3.0

gitbaseServer:
# commit defaults to HEAD unless given
repositories:
go-git:
url: https://github.com/src-d/go-git.git
#commit: v4.4.0
gitbase:
url: https://github.com/src-d/gitbase.git
gitbase-web:
url: https://github.com/src-d/gitbase-web.git
bblfshd:
url: https://github.com/bblfsh/bblfshd.git
siva-java:
url: https://github.com/src-d/siva-java.git
image:
repository: srcd/gitbase
tag: v0.17.1
pullPolicy: IfNotPresent
squashEnable: "true"
readonly: "true"

nodeSelector:
cloud.google.com/gke-nodepool: default-pool
73 changes: 13 additions & 60 deletions .helm-staging.yml
Original file line number Diff line number Diff line change
@@ -1,60 +1,13 @@
service:
type: NodePort
port: 8080

bblfshdServer:
image:
repository: bblfsh/bblfshd
tag: v2.10.0
pullPolicy: IfNotPresent
drivers:
install: true
languages:
python:
repository: bblfsh/python-driver
tag: v2.4.0
cpp:
repository: bblfsh/cpp-driver
tag: v0.3.0
java:
repository: bblfsh/java-driver
tag: v2.3.0
php:
repository: bblfsh/php-driver
tag: v2.4.0
ruby:
repository: bblfsh/ruby-driver
tag: v2.4.0
javascript:
repository: bblfsh/javascript-driver
tag: v2.3.0
bash:
repository: bblfsh/bash-driver
tag: v2.1.0
go:
repository: bblfsh/go-driver
tag: v2.3.0

gitbaseServer:
# commit defaults to HEAD unless given
repositories:
go-git:
url: https://github.com/src-d/go-git.git
#commit: v4.4.0
gitbase:
url: https://github.com/src-d/gitbase.git
gitbase-web:
url: https://github.com/src-d/gitbase-web.git
bblfshd:
url: https://github.com/bblfsh/bblfshd.git
siva-java:
url: https://github.com/src-d/siva-java.git
image:
repository: srcd/gitbase
tag: v0.17.1
pullPolicy: IfNotPresent
squashEnable: "true"
readonly: "true"

nodeSelector:
cloud.google.com/gke-nodepool: default-pool
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: gce
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.global-static-ip-name: gitbase-playground-staging
path: /*
hosts:
- gitbase-playground-staging.srcd.run
tls:
- secretName: gitbase-playground-staging-srcd-run-tls
hosts:
- gitbase-playground-staging.srcd.run