#
-# Copyright 2017, whitestar
+# Copyright 2017-2018, whitestar
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
)
override_attributes(
+ 'docker-grid' => {
+ 'engine' => {
+ #'skip_setup' => true, # default: false
+ },
+ 'compose' => {
+ #'skip_setup' => true, # default: false
+ },
+ },
'screwdriver' => {
'api' => {
'config' => {
'scms' => {
+=begin
+ # **REQUIRED**: SCM settings
'github.com' => { # id and display name
'plugin' => 'github',
'config' => {
- # **REQUIRED**: SCM OAuth client ID, secret and webhook secret (GitHub only)
-=begin
# These 3 secrets should be set by the following `['screwdriver']['api']['scms_vault_items']` attribute.
'oauthClientId' => 'YOU-PROBABLY-WANT-SOMETHING-HERE', # The client id used for OAuth with github. GitHub OAuth (https://developer.github.com/v3/oauth/)
'oauthClientSecret' => 'AGAIN-SOMETHING-HERE-IS-USEFUL', # The client secret used for OAuth with github
'username' => 'sd-buildbot', # [Optional] Username for code checkout
'email' => 'dev-null@screwdriver.cd', # [Optional] Email for code checkout
'privateRepo' => false, # [Optional] Set to true to support private repo; will need read and write access to public and private repos (https://developer.github.com/v3/oauth/#scopes)
-=end
},
},
+=end
},
},
},
'config' => {
'services' => {
'api' => {
+ 'image' => 'screwdrivercd/screwdriver:latest',
'ports' => [
#"#{api_port}:80",
],
},
},
'ui' => {
+ 'image' => 'screwdrivercd/ui:latest',
'ports' => [
#"#{ui_port}:80",
],
},
},
'store' => {
+ 'image' => 'screwdrivercd/store:latest',
'ports' => [
#"#{store_port}:80",
],