Sha256: 661553003364070dc75be7f9a59b6dbe4b1a4ef4406bb9a54c2a480953d7bab5

Contents?: true

Size: 1.11 KB

Versions: 15

Compression:

Stored size: 1.11 KB

Contents

# Deployment

The packaged tar files can be consumed using any tool and protocol (http, s3 etc),  opsk has built in support for deploying public sandboxes into:

* Bintray 

  ```bash 
   $ opsk package
   $ opsk deploy_bintray <bintray-repo>
     deployed foo-sandbox-0.0.1.tar.gz to http://dl.bintray.com/narkisr/<bintray-repo>/foo-sandbox-0.0.1.tar.gz
```

  Make sure to  [configure](https://github.com/narkisr/bintray-deploy#usage) the bintray API key.

* S3:

  ```bash 
   $ opsk package
   $ opsk deploy_s3 <bucket> <path>
     deployed foo-sandbox-0.0.1.tar.gz to opsk-boxes/foo/foo-sandbox-0.0.1.tar.gz
  ```
 Make sure to configure s3 section under ~/.configuration.rb:

 ```ruby
  Configuration.for('s3') {
    access_key ''
    secret_key ''
    region ''
  }
 ```

* Scp:
   ```bash 
   $ opsk package
   $ opsk deploy_scp bar
     deployed foo-sandbox-0.0.1.tar.gz to foo@opsk-boxes:/var/boxes
  ```
 Make sure to configure scp section under ~/.configuration.rb:

 ```ruby
  Configuration.for('scp') {
    bar {
     host 'opsk-boxes'
     user 'foo'
     dest '/var/boxes'
     # optional
     port 2222
    }
 }
 ```





Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
opskeleton-0.10.1 docs/deploy.md
opskeleton-0.9.9 docs/deploy.md
opskeleton-0.9.8 docs/deploy.md
opskeleton-0.9.7 docs/deploy.md
opskeleton-0.9.6 docs/deploy.md
opskeleton-0.9.5 docs/deploy.md
opskeleton-0.9.4 docs/deploy.md
opskeleton-0.9.3 docs/deploy.md
opskeleton-0.9.2 docs/deploy.md
opskeleton-0.9.1 docs/deploy.md
opskeleton-0.9.0 docs/deploy.md
opskeleton-0.8.12 docs/deploy.md
opskeleton-0.8.11 docs/deploy.md
opskeleton-0.8.10 docs/deploy.md
opskeleton-0.8.9 docs/deploy.md