Skip to content

Commit

Permalink
release: inertia v0.6.0 (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi authored Mar 22, 2020
1 parent f386362 commit 7773add
Show file tree
Hide file tree
Showing 73 changed files with 1,003 additions and 475 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 UBC Launch Pad
Copyright (c) 2020 UBC Launch Pad

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func main() {
// set up a client to your remote
var inertia = client.NewClient(
&cfg.Remote{
Version: "v0.5.2",
Version: "v0.6.0",
Name: "gcloud",
IP: "my.host.addr",
/* ... */
Expand Down
4 changes: 2 additions & 2 deletions client/internal/compiled.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions contrib/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inertia-cli",
"version": "0.5.3",
"version": "0.6.0",
"description": "Inertia-CLI",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand All @@ -13,7 +13,7 @@
"url": "git+https://github.com/ubclaunchpad/inertia.git"
},
"keywords": [
"ubc-launchpad",
"ubc",
"launchpad",
"inertia",
"inertia-cli"
Expand All @@ -23,7 +23,7 @@
"bugs": {
"url": "https://github.com/ubclaunchpad/inertia/issues"
},
"homepage": "https://github.com/ubclaunchpad/inertia#readme",
"homepage": "https://inertia.ubclaunchpad.com",
"dependencies": {
"fs-extra": "^7.0.1",
"mkdirp": "^0.5.1",
Expand Down
545 changes: 284 additions & 261 deletions docs/api/index.html

Large diffs are not rendered by default.

32 changes: 23 additions & 9 deletions docs/api/swagger.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.0

info:
version: 0.5.2
version: 0.6.0
title: Inertia Daemon API Reference
description: |
Expand Down Expand Up @@ -279,16 +279,30 @@ paths:
example: 500
responses:
200:
description: Log contents retrieved
description: Success!
content:
text/plain:
type: string
example: |
No deployment detected
Setting up project...
Cloning branch dev from [email protected]:example/example.git...
application/json:
schema:
allOf:
- $ref: '#/components/schemas/OKResponse'
- type: object
required: [ data ]
properties:
data:
type: object
required: [ token ]
properties:
token:
type: array
items:
type: string
description: Array of log entries
example:
- No deployment detected
- Setting up project...
- Cloning branch dev from [email protected]:example/example.git...
4XX,5XX:
$ref: '#/components/responses/Error'
$ref: '#/components/responses/Error'

# auth

Expand Down
4 changes: 2 additions & 2 deletions docs/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ For a more general usage guide, refer to the [Inertia Usage Guide](https://inert

For documentation regarding the daemon API, refer to the [API Reference](https://inertia.ubclaunchpad.com/api).

* Generated: 2019-Feb-17
* Version: v0.5.2-19-g31e5cf9
* Generated: 2020-Mar-19
* Version: v0.6.0
14 changes: 9 additions & 5 deletions docs/cli/inertia.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Effortless, self-hosted continuous deployment for small teams and projects

### Synopsis

Inertia is an effortless, self-hosted continuous deployment platform.
Inertia is an effortless, self-hosted continuous deployment platform 🚀

Initialization involves preparing a server to run an application, then
activating a daemon which will continuously update the production server
Expand All @@ -14,21 +14,25 @@ Once you have set up a remote with 'inertia remote add [remote]', use
'inertia [remote] --help' to see what you can do with your remote. To list
available remotes, use 'inertia remote ls'.

Repository: https://github.com/ubclaunchpad/inertia/
Issue tracker: https://github.com/ubclaunchpad/inertia/issues
Global inertia configuration is stored in '~/.inertia'.

💻 Repository: https://github.com/ubclaunchpad/inertia/
🎫 Issue tracker: https://github.com/ubclaunchpad/inertia/issues
📚 Documentation: https://inertia.ubclaunchpad.com

### Options

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
--config string specify relative path to Inertia project configuration (default "inertia.toml")
-h, --help help for inertia
--simple disable colour and emoji output
```

### SEE ALSO

* [inertia ${remote_name}](inertia_${remote_name}.md) - Configure deployment to ${remote_name}
* [inertia config](inertia_config.md) - Update and configure Inertia project settings
* [inertia init](inertia_init.md) - Initialize an Inertia project in this repository
* [inertia project](inertia_project.md) - Update and configure Inertia project settings
* [inertia provision](inertia_provision.md) - Provision a new remote host to deploy your project on
* [inertia remote](inertia_remote.md) - Configure the local settings for a remote host

11 changes: 6 additions & 5 deletions docs/cli/inertia_${remote_name}.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,23 @@ Requires:

Continuous deployment requires the daemon's webhook address to be registered in your remote repository.

If the SSH key for your remote requires a passphrase, it can be provided via 'PEM_PASSPHRASE'.
If the SSH key for your remote requires a passphrase, it can be provided via 'IDENTITY_PASSPHRASE'.

Run 'inertia [remote] init' to gather this information.

### Options

```
-h, --help help for ${remote_name}
-s, --short don't stream output from command
--verify-ssl verify SSL communications - requires a signed SSL certificate
--debug enable debug output from Inertia client
-h, --help help for ${remote_name}
-s, --short don't stream output from command
```

### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_down.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ inertia ${remote_name} down [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
-d, --debug enable debug output from Inertia client
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_env.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ as follows:
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
-d, --debug enable debug output from Inertia client
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_env_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ inertia ${remote_name} env ls [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
-d, --debug enable debug output from Inertia client
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_env_rm.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ inertia ${remote_name} env rm [name] [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
-d, --debug enable debug output from Inertia client
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_env_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ inertia ${remote_name} env set [name] [value] [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
-d, --debug enable debug output from Inertia client
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ inertia ${remote_name} init [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
-d, --debug enable debug output from Inertia client
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ inertia ${remote_name} logs [container] [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
-d, --debug enable debug output from Inertia client
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_prune.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ inertia ${remote_name} prune [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--verify-ssl verify SSL communications - requires a signed SSL certificate
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
33 changes: 33 additions & 0 deletions docs/cli/inertia_${remote_name}_send.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## inertia ${remote_name} send

Send a file to your Inertia deployment

### Synopsis

Sends a file, such as a configuration or .env file, to your Inertia deployment.

```
inertia ${remote_name} send [filepath] [flags]
```

### Options

```
-d, --dest string path relative from project root to send file to
-h, --help help for send
-p, --perm string permissions settings to create file with (default "0655")
```

### Options inherited from parent commands

```
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--simple disable colour and emoji output
```

### SEE ALSO

* [inertia ${remote_name}](inertia_${remote_name}.md) - Configure deployment to ${remote_name}

5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ inertia ${remote_name} ssh [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--verify-ssl verify SSL communications - requires a signed SSL certificate
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ inertia ${remote_name} status [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
-d, --debug enable debug output from Inertia client
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
6 changes: 4 additions & 2 deletions docs/cli/inertia_${remote_name}_token.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ inertia ${remote_name} token [flags]

```
-h, --help help for token
--ssh generate token over SSH
```

### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--verify-ssl verify SSL communications - requires a signed SSL certificate
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ inertia ${remote_name} uninstall [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--verify-ssl verify SSL communications - requires a signed SSL certificate
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_up.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ inertia ${remote_name} up [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
-d, --debug enable debug output from Inertia client
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
5 changes: 3 additions & 2 deletions docs/cli/inertia_${remote_name}_upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ inertia ${remote_name} upgrade [flags]
### Options inherited from parent commands

```
--config string specify relative path to Inertia configuration (default "inertia.toml")
--config string specify relative path to Inertia project configuration (default "inertia.toml")
--debug enable debug output from Inertia client
-s, --short don't stream output from command
--verify-ssl verify SSL communications - requires a signed SSL certificate
--simple disable colour and emoji output
```

### SEE ALSO
Expand Down
Loading

0 comments on commit 7773add

Please sign in to comment.