OSDN Git Service

updates screwdriver roles.
authorwhitestar <whitestar@users.osdn.me>
Fri, 24 Aug 2018 14:29:01 +0000 (23:29 +0900)
committerwhitestar <whitestar@users.osdn.me>
Fri, 24 Aug 2018 14:29:01 +0000 (23:29 +0900)
roles/screwdriver-all-on-docker-override.rb
roles/screwdriver-on-docker-override.rb

index 0f7cbf8..ef68a4c 100644 (file)
@@ -103,6 +103,11 @@ override_attributes(
               #'ECOSYSTEM_STORE' => "http://#{node['fqdn']}:#{store_port}",
               #'DATASTORE_SEQUELIZE_DIALECT' => 'mysql',  # or 'postgres'
             },
+            # examples for development
+            # 'volumes' => [
+            #   '/your/home/dev/github.com/your_org/screwdriver:/usr/src/app/node_modules/screwdriver-api:rw',
+            #   '/your/home/dev/github.com/your_org/data-schema:/usr/src/app/node_modules/screwdriver-data-schema:rw',
+            # ],
           },
           'ui' => {
             'image' => "screwdrivercd/ui:#{ui_ver}",
@@ -124,6 +129,10 @@ override_attributes(
               # This variable will be set by the screwdriver::docker-compose recipe automatically.
               #'ECOSYSTEM_UI' => "http://#{node['fqdn']}:#{ui_port}",
             },
+            # examples for development
+            # 'volumes' => [
+            #   '/your/home/dev/github.com/your_org/store:/usr/src/app/node_modules/screwdriver-store:rw',
+            # ],
           },
           'db' => {
           },
index 9047401..2815d96 100644 (file)
@@ -102,6 +102,11 @@ override_attributes(
               #'ECOSYSTEM_UI' => "http://#{node['fqdn']}:#{ui_port}",
               #'ECOSYSTEM_STORE' => "http://#{node['fqdn']}:#{store_port}",
             },
+            # examples for development
+            # 'volumes' => [
+            #   '/your/home/dev/github.com/your_org/screwdriver:/usr/src/app/node_modules/screwdriver-api:rw',
+            #   '/your/home/dev/github.com/your_org/data-schema:/usr/src/app/node_modules/screwdriver-data-schema:rw',
+            # ],
           },
           'ui' => {
             'image' => "screwdrivercd/ui:#{ui_ver}",
@@ -123,6 +128,10 @@ override_attributes(
               # This variable will be set by the screwdriver::docker-compose recipe automatically.
               #'ECOSYSTEM_UI' => "http://#{node['fqdn']}:#{ui_port}",
             },
+            # examples for development
+            # 'volumes' => [
+            #   '/your/home/dev/github.com/your_org/store:/usr/src/app/node_modules/screwdriver-store:rw',
+            # ],
           },
         },
       },