Skip to content

Commit

Permalink
Merge pull request #914 from architect-team/rc
Browse files Browse the repository at this point in the history
Production Release
  • Loading branch information
mueschm authored Jun 5, 2023
2 parents 79986d3 + 0c43798 commit 33fc4d1
Showing 25 changed files with 639 additions and 134 deletions.
71 changes: 36 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ $ npm install -g @architect-io/cli
$ architect COMMAND
running command...
$ architect (--version)
@architect-io/cli/1.40.0-rc.5 linux-x64 node-v16.20.0
@architect-io/cli/1.40.0-rc.9 linux-x64 node-v16.20.0
$ architect --help [COMMAND]
USAGE
$ architect COMMAND
@@ -143,7 +143,7 @@ EXAMPLES
$ architect clusters --account=myaccount mycluster
```

_See code: [src/commands/clusters/index.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/clusters/index.ts)_
_See code: [src/commands/clusters/index.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/clusters/index.ts)_

## `architect clusters:create [CLUSTER]`

@@ -178,7 +178,7 @@ EXAMPLES
$ architect clusters:register --account=myaccount --kubeconfig=~/.kube/config --auto-approve
```

_See code: [src/commands/clusters/create.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/clusters/create.ts)_
_See code: [src/commands/clusters/create.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/clusters/create.ts)_

## `architect clusters:destroy [CLUSTER]`

@@ -209,7 +209,7 @@ EXAMPLES
$ architect clusters:deregister --account=myaccount --auto-approve --force architect
```

_See code: [src/commands/clusters/destroy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/clusters/destroy.ts)_
_See code: [src/commands/clusters/destroy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/clusters/destroy.ts)_

## `architect components:versions [COMPONENT_NAME]`

@@ -235,7 +235,7 @@ EXAMPLES
$ architect component:versions --account=myaccount mycomponent
```

_See code: [src/commands/components/versions.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/components/versions.ts)_
_See code: [src/commands/components/versions.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/components/versions.ts)_

## `architect config:get OPTION`

@@ -255,7 +255,7 @@ EXAMPLES
$ architect config:get log_level
```

_See code: [src/commands/config/get.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/config/get.ts)_
_See code: [src/commands/config/get.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/config/get.ts)_

## `architect config:set OPTION VALUE`

@@ -276,7 +276,7 @@ EXAMPLES
$ architect config:set log_level info
```

_See code: [src/commands/config/set.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/config/set.ts)_
_See code: [src/commands/config/set.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/config/set.ts)_

## `architect config:view`

@@ -296,7 +296,7 @@ EXAMPLES
$ architect config
```

_See code: [src/commands/config/view.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/config/view.ts)_
_See code: [src/commands/config/view.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/config/view.ts)_

## `architect deploy [CONFIGS_OR_COMPONENTS]`

@@ -339,7 +339,7 @@ EXAMPLES
$ architect deploy ./myfolder/architect.yml --secret-file=./mysecrets.yml --environment=myenvironment --account=myaccount --auto-approve
```

_See code: [src/commands/deploy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/deploy.ts)_
_See code: [src/commands/deploy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/deploy.ts)_

## `architect destroy`

@@ -365,7 +365,7 @@ EXAMPLES
$ architect destroy --account=myaccount --environment=myenvironment --auto-approve
```

_See code: [src/commands/destroy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/destroy.ts)_
_See code: [src/commands/destroy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/destroy.ts)_

## `architect dev [CONFIGS_OR_COMPONENTS]`

@@ -394,8 +394,7 @@ FLAGS
--debug=<value> [default: true] Turn debug mode on (true) or off (false)
--overlay=<value> [default: true] Displays an overlay in the bottom right corner of the screen with quick
commands
--port=<value> Port for the gateway. Defaults to 443, or 80 if --ssl=false. Allowed port numbers are 80,
443, or any port between 1024 and 66535.
--port=<value> Port for the gateway. Defaults to 443. If --ssl=false is set, defaults to 80 instead.
--secret-file=<value>... [default: ] Path of secrets file
--ssl=<value> [default: true] Use https for all ingresses
--wait-timeout=<value> [default: 10m] Time to wait for services to be ready/healthy before detaching.
@@ -411,7 +410,7 @@ EXAMPLES
$ architect dev --port=1234 --browser=false --debug=true --secret-file=./mycomponent/mysecrets.yml ./mycomponent/architect.yml
```

_See code: [src/commands/dev/index.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/dev/index.ts)_
_See code: [src/commands/dev/index.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/dev/index.ts)_

## `architect dev:list`

@@ -432,7 +431,7 @@ EXAMPLES
$ architect dev:list
```

_See code: [src/commands/dev/list.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/dev/list.ts)_
_See code: [src/commands/dev/list.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/dev/list.ts)_

## `architect dev:restart [SERVICES]`

@@ -460,7 +459,7 @@ EXAMPLES
$ architect dev:restart hello-world.services.api hello-world.services.app
```

_See code: [src/commands/dev/restart.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/dev/restart.ts)_
_See code: [src/commands/dev/restart.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/dev/restart.ts)_

## `architect dev:stop [NAME]`

@@ -480,7 +479,7 @@ EXAMPLES
$ architect dev:stop <local-environment-name>
```

_See code: [src/commands/dev/stop.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/dev/stop.ts)_
_See code: [src/commands/dev/stop.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/dev/stop.ts)_

## `architect doctor`

@@ -502,7 +501,7 @@ EXAMPLES
$ architect doctor -o ./myoutput.yml
```

_See code: [src/commands/doctor.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/doctor.ts)_
_See code: [src/commands/doctor.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/doctor.ts)_

## `architect environments:create [ENVIRONMENT]`

@@ -511,7 +510,7 @@ Register a new environment with Architect Cloud
```
USAGE
$ architect environments:create [ENVIRONMENT] [-a <value>] [--cluster <value> | --platform <value>] [--description
<value>] [--ttl <value>]
<value>] [--ttl <value>] [--flag zero-trust]
ARGUMENTS
ENVIRONMENT Name to give the environment
@@ -520,6 +519,8 @@ FLAGS
-a, --account=<value> Architect account
--cluster=<value> Architect cluster
--description=<value> Environment Description
--flag=<option>... zero-trust: Create the environment with zero-trust network policies.
<options: zero-trust>
--platform=<value> Architect cluster
--ttl=<value> The TTL of the environment in a duration of time, ex. 30d, 12h, or 30m
@@ -537,7 +538,7 @@ EXAMPLES
environment:create --account=myaccount --ttl=5days --description="My new temporary Architect environment" myenvironment
```

_See code: [src/commands/environments/create.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/environments/create.ts)_
_See code: [src/commands/environments/create.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/environments/create.ts)_

## `architect environments:destroy [ENVIRONMENT]`

@@ -571,7 +572,7 @@ EXAMPLES
$ architect environment:deregister --account=myaccount --auto-approve --force myenvironment
```

_See code: [src/commands/environments/destroy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/environments/destroy.ts)_
_See code: [src/commands/environments/destroy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/environments/destroy.ts)_

## `architect environments:ingresses [ENVIRONMENT]`

@@ -596,7 +597,7 @@ ALIASES
$ architect env:ingresses
```

_See code: [src/commands/environments/ingresses.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/environments/ingresses.ts)_
_See code: [src/commands/environments/ingresses.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/environments/ingresses.ts)_

## `architect exec [RESOURCE] [FLAGS] -- [COMMAND]`

@@ -629,7 +630,7 @@ EXAMPLES
$ architect exec --account myaccount --environment myenvironment mycomponent.services.app --replica 0 -- /bin/sh
```

_See code: [src/commands/exec.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/exec.ts)_
_See code: [src/commands/exec.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/exec.ts)_

## `architect help [COMMAND]`

@@ -679,7 +680,7 @@ EXAMPLES
$ architect init --from-compose=mycompose.yml --component-file=architect.yml
```

_See code: [src/commands/init.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/init.ts)_
_See code: [src/commands/init.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/init.ts)_

## `architect link [COMPONENTPATH]`

@@ -701,7 +702,7 @@ EXAMPLES
$ architect link -p ./mycomponent/architect.yml
```

_See code: [src/commands/link/index.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/link/index.ts)_
_See code: [src/commands/link/index.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/link/index.ts)_

## `architect link:list`

@@ -718,7 +719,7 @@ EXAMPLES
$ architect link:list
```

_See code: [src/commands/link/list.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/link/list.ts)_
_See code: [src/commands/link/list.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/link/list.ts)_

## `architect login`

@@ -741,7 +742,7 @@ EXAMPLES
$ architect login -e my-email-address@my-email-domain.com
```

_See code: [src/commands/login.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/login.ts)_
_See code: [src/commands/login.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/login.ts)_

## `architect logout`

@@ -758,7 +759,7 @@ EXAMPLES
$ architect logout
```

_See code: [src/commands/logout.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/logout.ts)_
_See code: [src/commands/logout.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/logout.ts)_

## `architect logs [RESOURCE]`

@@ -793,7 +794,7 @@ EXAMPLES
$ architect logs --follow --raw --timestamps
```

_See code: [src/commands/logs.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/logs.ts)_
_See code: [src/commands/logs.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/logs.ts)_

## `architect port-forward [RESOURCE] [FLAGS]`

@@ -828,7 +829,7 @@ EXAMPLES
$ architect port-forward --address 0.0.0.0 --port 8080
```

_See code: [src/commands/port-forward.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/port-forward.ts)_
_See code: [src/commands/port-forward.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/port-forward.ts)_

## `architect register [COMPONENT]`

@@ -870,7 +871,7 @@ EXAMPLES
$ architect register -a myaccount -t latest --arg NODE_ENV=dev ./architect.yml
```

_See code: [src/commands/register.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/register.ts)_
_See code: [src/commands/register.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/register.ts)_

## `architect scale [SERVICE]`

@@ -901,7 +902,7 @@ EXAMPLES
$ architect scale api --component my-component --clear
```

_See code: [src/commands/scale.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/scale.ts)_
_See code: [src/commands/scale.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/scale.ts)_

## `architect secrets:download SECRETS_FILE`

@@ -934,7 +935,7 @@ EXAMPLES
$ architect secrets --account=myaccount --environment=myenvironment ./mysecrets.yml
```

_See code: [src/commands/secrets/download.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/secrets/download.ts)_
_See code: [src/commands/secrets/download.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/secrets/download.ts)_

## `architect secrets:upload SECRETS_FILE`

@@ -973,7 +974,7 @@ EXAMPLES
$ architect secrets:set --account=myaccount --environment=myenvironment --override ./mysecrets.yml
```

_See code: [src/commands/secrets/upload.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/secrets/upload.ts)_
_See code: [src/commands/secrets/upload.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/secrets/upload.ts)_

## `architect task COMPONENT TASK`

@@ -1003,7 +1004,7 @@ EXAMPLES
$ architect task --account=myaccount --environment=myenvironment mycomponent:latest mytask
```

_See code: [src/commands/task.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/task.ts)_
_See code: [src/commands/task.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/task.ts)_

## `architect unlink [COMPONENTPATHORNAME]`

@@ -1027,5 +1028,5 @@ EXAMPLES
$ architect unlink -p mycomponent
```

_See code: [src/commands/unlink.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.5/src/commands/unlink.ts)_
_See code: [src/commands/unlink.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.9/src/commands/unlink.ts)_
<!-- commandsstop -->
11 changes: 10 additions & 1 deletion architect-yml.md
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ The top level object of the `architect.yml`; defines a deployable Architect Comp
| `databases` | Dict&lt;string&gt; | A database represents a stateful service powered by one of several supported database engines. | <a target="_blank" href="https://regexr.com/?expression=%5E(%3F!-)(%3F!.%7B0%2C32%7D--)%5Ba-z0-9-%5D%7B1%2C32%7D(%3F%3C!-)%24">KeyRegex</a>, <a target="_blank" href="https://regexr.com/?expression=undefined">ValueRegex</a>, |
| `services` | Dict&lt;string&gt; | A Service represents a non-exiting runtime (e.g. daemons, servers, etc.). Each service is independently deployable and scalable. Services are 1:1 with a docker image. | <a target="_blank" href="https://regexr.com/?expression=%5E(%3F!-)(%3F!.%7B0%2C32%7D--)%5Ba-z0-9-%5D%7B1%2C32%7D(%3F%3C!-)%24">KeyRegex</a>, <a target="_blank" href="https://regexr.com/?expression=undefined">ValueRegex</a>, |
| `tasks` | Dict&lt;string&gt; | A set of named recurring and/or exiting runtimes (e.g. crons, schedulers, triggered jobs) included with the component. Each task will run on its specified schedule and/or be triggerable via the Architect CLI. Tasks are 1:1 with a docker image. | <a target="_blank" href="https://regexr.com/?expression=%5E(%3F!-)(%3F!.%7B0%2C32%7D--)%5Ba-z0-9-%5D%7B1%2C32%7D(%3F%3C!-)%24">KeyRegex</a>, <a target="_blank" href="https://regexr.com/?expression=undefined">ValueRegex</a>, |
| `dependencies` | Dict&lt;string&gt; | A key-value set of dependencies and their respective tags. Reference each dependency by component name (e.g. `cloud: latest`) | <a target="_blank" href="https://regexr.com/?expression=%5E(%3F%3A(%3F!-)(%3F!.%7B0%2C32%7D--)%5Ba-z0-9-%5D%7B1%2C32%7D(%3F%3C!-)%5C%2F)%3F(%3F%3Ccomponent_name%3E(%3F!-)(%3F!.%7B0%2C32%7D--)%5Ba-z0-9-%5D%7B1%2C32%7D(%3F%3C!-))(%3F%3A%40(%3F%3Cinstance_name%3E%5B%5Cw%5D%5B%5Cw%5C.-%5D%7B0%2C127%7D))%3F%24">KeyRegex</a>, <a target="_blank" href="https://regexr.com/?expression=%5E%5B%5Cw%5D%5B%5Cw%5C.-%5D%7B0%2C127%7D%24">ValueRegex</a>, |
| `dependencies` | Dict&lt;string&gt; | A key-value set of dependencies with an empty value. Reference each dependency by component name (e.g. `cloud: {}`) | <a target="_blank" href="https://regexr.com/?expression=%5E(%3F%3A(%3F!-)(%3F!.%7B0%2C32%7D--)%5Ba-z0-9-%5D%7B1%2C32%7D(%3F%3C!-)%5C%2F)%3F(%3F%3Ccomponent_name%3E(%3F!-)(%3F!.%7B0%2C32%7D--)%5Ba-z0-9-%5D%7B1%2C32%7D(%3F%3C!-))(%3F%3A%40(%3F%3Cinstance_name%3E%5B%5Cw%5D%5B%5Cw%5C.-%5D%7B0%2C127%7D))%3F%24">KeyRegex</a>, <a target="_blank" href="https://regexr.com/?expression=undefined">ValueRegex</a>, |
| ~~`interfaces`~~ | Dict&lt;string&gt; | A set of named gateways that broker access to the services inside the component. All network traffic within a component is locked down to the component itself, unless included in this interfaces block. An interface represents a front-door to your component, granting access to upstream callers. | <a target="_blank" href="https://regexr.com/?expression=%5E(%3F!-)(%3F!.%7B0%2C32%7D--)%5Ba-z0-9-%5D%7B1%2C32%7D(%3F%3C!-)%24">KeyRegex</a>, <a target="_blank" href="https://regexr.com/?expression=undefined">ValueRegex</a>, Deprecated |
| ~~`artifact_image`~~ | string | - | Deprecated |

@@ -240,6 +240,15 @@ A service interface exposes service functionality over the network to other serv
| `ingress` | [IngressSpec](#ingressspec) | | |


## DependencySpec

An empty object that optionally supports specifying a tag for backwards compatibility.

| Field (*=required) | Type | Description | Misc |
| -------------------- | ---------- | -------------- | -------------- |
| ~~`tag`~~ | string | | Must match: <a target="_blank" href="https://regexr.com/?expression=%5E%5B%5Cw%5D%5B%5Cw%5C.-%5D%7B0%2C127%7D%24">Regex</a>Deprecated |


## OutputDefinitionSpec

Components can define output fields that can be used to share configuration with consuming components.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@architect-io/cli",
"description": "Command-line interface for Architect.io",
"version": "1.40.0",
"version": "1.41.0-rc.1",
"author": "Architect.io",
"bin": {
"architect": "./bin/run"
2 changes: 1 addition & 1 deletion src/architect/deployment/deployment.entity.ts
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ export default interface Deployment {
metadata: {
instance_name?: string;
}
component_version: {
component_version?: {
name: string;
tag: string;
component: {
Loading

0 comments on commit 33fc4d1

Please sign in to comment.