Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #572 from gamechanger/js-assets-specs-docs
Browse files Browse the repository at this point in the history
add assets to specs documentation
  • Loading branch information
jsingle committed Sep 8, 2015
2 parents 7096104 + 375e208 commit e5db5a0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/specs/app-specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,23 @@ mount: /my-app

All Dusty commands (once and always) are started in the `mount` directory. You might need to change to or copy from another directory.

## assets

```
assets:
- name: GITHUB_KEY
path: /root/.ssh/id_rsa
- name: AWS_KEY
path: /root/.aws_key
required: false
```

Assets are files which your containers need access to, but which you don't have in a repository. The main usecase here is for private keys.

You must register a local file as an asset with the `dusty assets set` command. When you specify the file, its contents are copied to your VM and shared with your running Dusty containers. Assets are placed in your container at the absolute path specified at `path`.

The `required` key defaults to `true`, and `dusty up` will not succeed if any required assets have not been registered.

## depends

```
Expand Down
17 changes: 17 additions & 0 deletions docs/specs/lib-specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,23 @@ which depend on it.

`mount` is required in lib specs.

## assets

```
assets:
- name: GITHUB_KEY
path: /root/.ssh/id_rsa
- name: AWS_KEY
path: /root/.aws_key
required: false
```

Assets are files which your containers need access to, but which you don't have in a repository. The main usecase here is for private keys.

You must register a local file as an asset with the `dusty assets set` command. When you specify the file, its contents are copied to your VM and shared with your running Dusty containers. Assets are placed in your container at the absolute path specified at `path`.

The `required` key defaults to `true`, and `dusty up` will not succeed if any required assets have not been registered.

## install

```
Expand Down

0 comments on commit e5db5a0

Please sign in to comment.