Skip to content

Commit

Permalink
chore(release): 1.40.0-rc.8 [skip ci]
Browse files Browse the repository at this point in the history
# [1.40.0-rc.8](v1.40.0-rc.7...v1.40.0-rc.8) (2023-05-15)

### Bug Fixes

* **ports:** Use a list of restricted ports instead of allowing ports ([121d0b8](121d0b8))

### Features

* **spec:** Dependencies without tags ([#893](#893)) ([015a3a9](015a3a9))
  • Loading branch information
semantic-release-bot committed May 15, 2023
1 parent 121d0b8 commit 8dbe2ee
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 56 deletions.
67 changes: 33 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $ npm install -g @architect-io/cli
$ architect COMMAND
running command...
$ architect (--version)
@architect-io/cli/1.40.0-rc.6 linux-x64 node-v16.20.0
@architect-io/cli/1.40.0-rc.7 linux-x64 node-v16.20.0
$ architect --help [COMMAND]
USAGE
$ architect COMMAND
Expand Down Expand Up @@ -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.6/src/commands/clusters/index.ts)_
_See code: [src/commands/clusters/index.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/clusters/index.ts)_

## `architect clusters:create [CLUSTER]`

Expand Down Expand Up @@ -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.6/src/commands/clusters/create.ts)_
_See code: [src/commands/clusters/create.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/clusters/create.ts)_

## `architect clusters:destroy [CLUSTER]`

Expand Down Expand Up @@ -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.6/src/commands/clusters/destroy.ts)_
_See code: [src/commands/clusters/destroy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/clusters/destroy.ts)_

## `architect components:versions [COMPONENT_NAME]`

Expand All @@ -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.6/src/commands/components/versions.ts)_
_See code: [src/commands/components/versions.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/components/versions.ts)_

## `architect config:get OPTION`

Expand All @@ -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.6/src/commands/config/get.ts)_
_See code: [src/commands/config/get.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/config/get.ts)_

## `architect config:set OPTION VALUE`

Expand All @@ -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.6/src/commands/config/set.ts)_
_See code: [src/commands/config/set.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/config/set.ts)_

## `architect config:view`

Expand All @@ -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.6/src/commands/config/view.ts)_
_See code: [src/commands/config/view.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/config/view.ts)_

## `architect deploy [CONFIGS_OR_COMPONENTS]`

Expand Down Expand Up @@ -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.6/src/commands/deploy.ts)_
_See code: [src/commands/deploy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/deploy.ts)_

## `architect destroy`

Expand All @@ -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.6/src/commands/destroy.ts)_
_See code: [src/commands/destroy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/destroy.ts)_

## `architect dev [CONFIGS_OR_COMPONENTS]`

Expand Down Expand Up @@ -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.
Expand All @@ -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.6/src/commands/dev/index.ts)_
_See code: [src/commands/dev/index.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/dev/index.ts)_

## `architect dev:list`

Expand All @@ -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.6/src/commands/dev/list.ts)_
_See code: [src/commands/dev/list.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/dev/list.ts)_

## `architect dev:restart [SERVICES]`

Expand Down Expand Up @@ -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.6/src/commands/dev/restart.ts)_
_See code: [src/commands/dev/restart.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/dev/restart.ts)_

## `architect dev:stop [NAME]`

Expand All @@ -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.6/src/commands/dev/stop.ts)_
_See code: [src/commands/dev/stop.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/dev/stop.ts)_

## `architect doctor`

Expand All @@ -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.6/src/commands/doctor.ts)_
_See code: [src/commands/doctor.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/doctor.ts)_

## `architect environments:create [ENVIRONMENT]`

Expand Down Expand Up @@ -539,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.6/src/commands/environments/create.ts)_
_See code: [src/commands/environments/create.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/environments/create.ts)_

## `architect environments:destroy [ENVIRONMENT]`

Expand Down Expand Up @@ -573,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.6/src/commands/environments/destroy.ts)_
_See code: [src/commands/environments/destroy.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/environments/destroy.ts)_

## `architect environments:ingresses [ENVIRONMENT]`

Expand All @@ -598,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.6/src/commands/environments/ingresses.ts)_
_See code: [src/commands/environments/ingresses.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/environments/ingresses.ts)_

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

Expand Down Expand Up @@ -631,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.6/src/commands/exec.ts)_
_See code: [src/commands/exec.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/exec.ts)_

## `architect help [COMMAND]`

Expand Down Expand Up @@ -681,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.6/src/commands/init.ts)_
_See code: [src/commands/init.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/init.ts)_

## `architect link [COMPONENTPATH]`

Expand All @@ -703,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.6/src/commands/link/index.ts)_
_See code: [src/commands/link/index.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/link/index.ts)_

## `architect link:list`

Expand All @@ -720,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.6/src/commands/link/list.ts)_
_See code: [src/commands/link/list.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/link/list.ts)_

## `architect login`

Expand All @@ -743,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.6/src/commands/login.ts)_
_See code: [src/commands/login.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/login.ts)_

## `architect logout`

Expand All @@ -760,7 +759,7 @@ EXAMPLES
$ architect logout
```

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

## `architect logs [RESOURCE]`

Expand Down Expand Up @@ -795,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.6/src/commands/logs.ts)_
_See code: [src/commands/logs.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/logs.ts)_

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

Expand Down Expand Up @@ -830,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.6/src/commands/port-forward.ts)_
_See code: [src/commands/port-forward.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/port-forward.ts)_

## `architect register [COMPONENT]`

Expand Down Expand Up @@ -872,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.6/src/commands/register.ts)_
_See code: [src/commands/register.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/register.ts)_

## `architect scale [SERVICE]`

Expand Down Expand Up @@ -903,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.6/src/commands/scale.ts)_
_See code: [src/commands/scale.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/scale.ts)_

## `architect secrets:download SECRETS_FILE`

Expand Down Expand Up @@ -936,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.6/src/commands/secrets/download.ts)_
_See code: [src/commands/secrets/download.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/secrets/download.ts)_

## `architect secrets:upload SECRETS_FILE`

Expand Down Expand Up @@ -975,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.6/src/commands/secrets/upload.ts)_
_See code: [src/commands/secrets/upload.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/secrets/upload.ts)_

## `architect task COMPONENT TASK`

Expand Down Expand Up @@ -1005,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.6/src/commands/task.ts)_
_See code: [src/commands/task.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/task.ts)_

## `architect unlink [COMPONENTPATHORNAME]`

Expand All @@ -1029,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.6/src/commands/unlink.ts)_
_See code: [src/commands/unlink.ts](https://github.com/architect-team/architect-cli/blob/v1.40.0-rc.7/src/commands/unlink.ts)_
<!-- commandsstop -->
11 changes: 10 additions & 1 deletion architect-yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand Down Expand Up @@ -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.
Expand Down
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-rc.7",
"version": "1.40.0-rc.8",
"author": "Architect.io",
"bin": {
"architect": "./bin/run"
Expand Down
Loading

0 comments on commit 8dbe2ee

Please sign in to comment.