Skip to content

Commit

Permalink
bump concourse and garden releases. Merge db subkit into core
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Mitchell committed Nov 2, 2017
1 parent 095feed commit 04d6769
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 55 deletions.
53 changes: 32 additions & 21 deletions base/properties.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ instance_groups:
- release: concourse
name: atc
properties:
postgresql:
database: atc
role:
name: atc
password: (( vault meta.vault "/database/atc:password" ))
bind_port: 8080
publicly_viewable: true
postgresql_database: atc
basic_auth_username: concourse
basic_auth_password: (( vault meta.vault "/webui:password" ))
external_url: (( grab params.external_url ))
Expand All @@ -58,21 +62,24 @@ instance_groups:
static_ips: (( static_ips 3 ))
persistent_disk_pool: (( grab params.concourse_disk_type ))
jobs:
- release: concourse
name: postgresql
properties:
- name: postgres
release: postgres
properties:
databases:
port: 5432
databases:
- name: atc
role: atc
password: (( vault meta.vault "/database/atc:password" ))
- name: locker
release: locker
properties:
locker:
user: locker
password: (( vault meta.vault "/locker/api:password" ))
ssl_cert: (( vault meta.vault "/locker/server:certificate" ))
ssl_key: (( vault meta.vault "/locker/server:key" ))
- name: atc
roles:
- name: atc
password: (( vault meta.vault "/database/atc:password" ))
- name: locker
release: locker
properties:
locker:
user: locker
password: (( vault meta.vault "/locker/api:password" ))
ssl_cert: (( vault meta.vault "/locker/server:certificate" ))
ssl_key: (( vault meta.vault "/locker/server:key" ))

- name: worker
instances: 3
Expand Down Expand Up @@ -112,9 +119,13 @@ update:

releases:
- name: concourse
sha1: 65a974b3831bb9908661a5ffffbe456e10185149
url: https://bosh.io/d/github.com/concourse/concourse?v=3.5.0
version: 3.5.0
sha1: 1257bdcd3181ab0a669bc9e34cd87aff584f007b
url: https://bosh.io/d/github.com/concourse/concourse?v=3.6.0
version: 3.6.0
- name: postgres
sha1: 3f378bcab294e20316171d4e656636df88763664
url: https://bosh.io/d/github.com/cloudfoundry/postgres-release?v=20
version: 20
- name: locker
sha1: ccfcc48d63555a3733c3594d9429a5c1875a9dd2
url: https://github.com/cloudfoundry-community/locker-boshrelease/releases/download/v0.2.1/locker-0.2.1.tgz
Expand All @@ -124,9 +135,9 @@ releases:
url: https://bosh.io/d/github.com/cloudfoundry-incubator/haproxy-boshrelease?v=8.4.2
version: 8.4.2
- name: garden-runc
sha1: 58fbc64aff303e6d76899441241dd5dacef50cb7
url: https://bosh.io/d/github.com/cloudfoundry/garden-runc-release?v=1.6.0
version: 1.6.0
sha1: 9cccd7685ac075ad6956cba3ab5881e3435cd7e3
url: https://bosh.io/d/github.com/cloudfoundry/garden-runc-release?v=1.9.4
version: 1.9.4
- name: slack-notification-resource
sha1: a64c65d1f23ea089746e698f29dbe522dd716c1b
url: https://bosh.io/d/github.com/cloudfoundry-community/slack-notification-resource-boshrelease?v=9
Expand Down
2 changes: 0 additions & 2 deletions kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ subkits:
subkit: azure
- prompt: Do you want to install SHIELD on your Concourse for backups?
subkit: shield
- prompt: Do you want to use the newer, dedicated Postgres release (recommended)
subkit: new-postgres-migration

params:
base:
Expand Down
33 changes: 1 addition & 32 deletions subkits/new-postgres-migration/properties.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1 @@
instance_groups:
- name: db
jobs:
- (( delete postgresql ))
- (( append ))
- release: postgres
name: postgres
properties:
databases:
port: 5432
databases:
- name: atc
roles:
- name: atc
password: (( vault meta.vault "/database/atc:password" ))
- name: web
jobs:
- name: atc
properties:
postgresql_database: ~
postgresql:
database: atc
role:
name: atc
password: (( vault meta.vault "/database/atc:password" ))

releases:
- (( append ))
- name: postgres
sha1: 3f378bcab294e20316171d4e656636df88763664
url: https://bosh.io/d/github.com/cloudfoundry/postgres-release?v=20
version: 20
--- {}

0 comments on commit 04d6769

Please sign in to comment.