You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ If you would like contribute to this project, please do the following:
40
40
1.**Wizard**: A script that is run before the `up` action. After the wizard has been executed a proper [DevlabConfig.json or DevlabConfig.yaml](#devlab-configuration) should exist. It is normal for the wizard to result in more files than just a `DevlabConfig.json` or `DevlabConfig.yaml`, and those files can be added to the config so that devlab can reset the wizard (forcing it to run again) if so desired.
41
41
42
42
# Usage
43
-
All actions have a `--help` which should display relevent help. The following options below are "global" options and *should* preceed any action:
43
+
All actions have a `--help` which should display relevent help. The following options below are "common" options and *should* preceed any action:
44
44
45
45
```
46
46
-h, --help show this help message and exit
@@ -49,7 +49,7 @@ All actions have a `--help` which should display relevent help. The following op
The "wizard" logic will be invoked the first time you run a `devlab up` command. This can be invoked separately with `wizard` if you so desire.
55
55
@@ -128,6 +128,7 @@ The structure looks like this:
128
128
{
129
129
"image": "",
130
130
"systemd_support": false,
131
+
"systemd_tmpfs_args": "",
131
132
"enabled": false,
132
133
"cmd": "",
133
134
"ports": [],
@@ -153,6 +154,7 @@ All Keys that are in **bold** are required
153
154
| --- | --- | --- |
154
155
|**image**| String | A docker notation of docker image to use for the component. This can also reference a devlab base image, as well as a project's [runtime image](#runtime-image-structure)|
155
156
| systemd_support | Boolean | If set to `true` then this will start the component with proper `/run`, `/run/lock`, `/tmp`, and `/sys/fs/cgroup` mounts so systemd can run |
157
+
| systemd_tmpfs_args | String | If `systemd_support` is set to `true`, and this argument is set, then the value is appended to the tmpfs mounts as arguments for systemd support. This way you can specify things like: `rw`, `exec`, etc... |
156
158
|**enabled**| Boolean | Whether or not the component should be brought [up](#up-action) and images [built](#build-action)|
157
159
|**_name_**| String | This is only supported for `foreground_components` but required. It indicates the name of the component |
158
160
| type | String | This only only supported for `foreground_components`, but can be either `host` or `container`. If set to host then `cmd` is executed on the local system instead of a container |
@@ -457,7 +459,7 @@ foreground_component:
457
459
```
458
460
459
461
# Devlab Argument documentation
460
-
All actions have a `--help` which should display relevent help. The following options below are "global" options and *should* preceed any action:
462
+
All actions have a `--help` which should display relevent help. The following options below are "common" options and *should* preceed any action:
461
463
462
464
```
463
465
-h, --help show this help message and exit
@@ -466,7 +468,7 @@ All actions have a `--help` which should display relevent help. The following op
Copy file name to clipboardExpand all lines: devlab
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,11 @@ if __name__ == '__main__':
98
98
PARSER_RESET.add_argument('--full', '-f', action='store_true', help='Remove all component specific files, wizard files, as well as devlab files AND potentially files you\'re working on. BE CAREFUL IF YOU HAVE MANUAL CHANGES IN PATHS DEFINED IN YOUR \'paths.reset_full\'!!')
PARSER_GLOBAL_RESTART=SUBPARSERS.add_parser('global-restart', help='Restart components across all environments managed by devlab')
103
+
PARSER_GLOBAL_RESTART.add_argument('--update-images', '-u', action='store_true', help='Look for images that components are using, and try to either build new versions, or pull new ones')
0 commit comments