Skip to content

Commit

Permalink
chore(release): 1.38.0-rc.2 [skip ci]
Browse files Browse the repository at this point in the history
# [1.38.0-rc.2](v1.38.0-rc.1...v1.38.0-rc.2) (2023-04-10)

### Bug Fixes

* **tests:** fix test conflicts ([#889](#889)) ([e79e845](e79e845))
* **tests:** Test deduplication refactor ([de1f1e2](de1f1e2))

### Features

* **spec:** Add support for making an ingress private in spec ([#880](#880)) ([f3dc92a](f3dc92a))
  • Loading branch information
semantic-release-bot committed Apr 10, 2023
1 parent f3dc92a commit 6eb973e
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 49 deletions.
87 changes: 43 additions & 44 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.37.1-rc.1 linux-x64 node-v16.20.0
@architect-io/cli/1.38.0-rc.1 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.37.1-rc.1/src/commands/clusters/index.ts)_
_See code: [src/commands/clusters/index.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/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.37.1-rc.1/src/commands/clusters/create.ts)_
_See code: [src/commands/clusters/create.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/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.37.1-rc.1/src/commands/clusters/destroy.ts)_
_See code: [src/commands/clusters/destroy.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/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.37.1-rc.1/src/commands/components/versions.ts)_
_See code: [src/commands/components/versions.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/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.37.1-rc.1/src/commands/config/get.ts)_
_See code: [src/commands/config/get.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/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.37.1-rc.1/src/commands/config/set.ts)_
_See code: [src/commands/config/set.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/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.37.1-rc.1/src/commands/config/view.ts)_
_See code: [src/commands/config/view.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/src/commands/config/view.ts)_

## `architect deploy [CONFIGS_OR_COMPONENTS]`

Expand All @@ -317,17 +317,16 @@ FLAGS
-d, --detached=<value> Run in detached mode
-e, --environment=<value> Architect environment
-o, --compose-file=<value> Path where the compose file should be written to
-r, --recursive=<value> [default: true] [default: true] Toggle to automatically deploy all dependencies
-r, --recursive=<value> [default: true] Toggle to automatically deploy all dependencies
-s, --secret=<value>... [default: ] An individual secret key and value in the form SECRET_KEY=SECRET_VALUE
--architecture=<value>... [default: amd64] Architecture(s) to target for Docker image builds
--arg=<value>... Build arg(s) to pass to docker build
--auto-approve=<value> Automatically approve the deployment without a review step. Used for debugging and CI
flows.
--browser=<value> [default: true] [default: true] Automatically open urls in the browser for local
deployments
--browser=<value> [default: true] Automatically open urls in the browser for local deployments
--cache-directory=<value> Directory to write build cache to. Do not use in Github Actions:
https://docs.architect.io/deployments/automated-previews/#caching-between-workflow-runs
--deletion-protection=<value> [default: true] [default: true] Toggle for deletion protection on deployments
--deletion-protection=<value> [default: true] Toggle for deletion protection on deployments
--production=<value> Please use --environment.
--secret-file=<value>... [default: ] Path of secrets file
Expand All @@ -340,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.37.1-rc.1/src/commands/deploy.ts)_
_See code: [src/commands/deploy.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/src/commands/deploy.ts)_

## `architect destroy`

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

## `architect dev [CONFIGS_OR_COMPONENTS]`

Expand All @@ -375,8 +374,8 @@ Run your stack locally
```
USAGE
$ architect dev [CONFIGS_OR_COMPONENTS] [-a <value>] [-o <value> | -e <value>] [--secret-file <value>]
[-s <value>] [-r <value>] [--browser <value>] [--port <value>] [-d <value>] [--debug <value>] [--arg <value>] [--ssl
<value>]
[-s <value>] [-r <value>] [--browser <value>] [--port <value>] [-d <value>] [--wait-timeout <value>] [--debug
<value>] [--arg <value>] [--ssl <value>]
ARGUMENTS
CONFIGS_OR_COMPONENTS Path to an architect.yml file or component `component:latest`. Multiple components are
Expand All @@ -388,15 +387,15 @@ FLAGS
-e, --environment=<value> Name of environment created locally during dev. This is only local and will not reflect in
your architect account
-o, --compose-file=<value> Path where the compose file should be written to
-r, --recursive=<value> [default: true] [default: true] Toggle to automatically deploy all dependencies
-r, --recursive=<value> [default: true] Toggle to automatically deploy all dependencies
-s, --secret=<value>... [default: ] An individual secret key and value in the form SECRET_KEY=SECRET_VALUE
--arg=<value>... Build arg(s) to pass to docker build
--browser=<value> [default: true] [default: true] Automatically open urls in the browser for local
deployments
--debug=<value> [default: true] [default: true] Turn debug mode on (true) or off (false)
--browser=<value> [default: true] Automatically open urls in the browser for local deployments
--debug=<value> [default: true] Turn debug mode on (true) or off (false)
--port=<value> [default: 443] Port for the gateway
--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.
DESCRIPTION
Run your stack locally
Expand All @@ -409,7 +408,7 @@ EXAMPLES
$ architect dev --port=81 --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.37.1-rc.1/src/commands/dev/index.ts)_
_See code: [src/commands/dev/index.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/src/commands/dev/index.ts)_

## `architect dev:list`

Expand All @@ -430,7 +429,7 @@ EXAMPLES
$ architect dev:list
```

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

## `architect dev:restart [SERVICES]`

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

## `architect dev:stop [NAME]`

Expand All @@ -478,7 +477,7 @@ EXAMPLES
$ architect dev:stop <local-environment-name>
```

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

## `architect doctor`

Expand All @@ -500,7 +499,7 @@ EXAMPLES
$ architect doctor -o ./myoutput.yml
```

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

## `architect environments:create [ENVIRONMENT]`

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

## `architect environments:destroy [ENVIRONMENT]`

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

## `architect environments:ingresses [ENVIRONMENT]`

Expand All @@ -594,7 +593,7 @@ ALIASES
$ architect env:ingresses
```

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

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

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

## `architect help [COMMAND]`

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

## `architect link [COMPONENTPATH]`

Expand All @@ -699,7 +698,7 @@ EXAMPLES
$ architect link -p ./mycomponent/architect.yml
```

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

## `architect link:list`

Expand All @@ -716,7 +715,7 @@ EXAMPLES
$ architect link:list
```

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

## `architect login`

Expand All @@ -739,7 +738,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.37.1-rc.1/src/commands/login.ts)_
_See code: [src/commands/login.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/src/commands/login.ts)_

## `architect logout`

Expand All @@ -756,7 +755,7 @@ EXAMPLES
$ architect logout
```

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

## `architect logs [RESOURCE]`

Expand Down Expand Up @@ -791,7 +790,7 @@ EXAMPLES
$ architect logs --follow --raw --timestamps
```

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

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

Expand All @@ -808,8 +807,8 @@ FLAGS
-a, --account=<value> Architect account
-e, --environment=<value> Architect environment
-r, --replica=<value> Replica index for service. Only works on remote deploys.
--address=<value> [default: localhost] [default: localhost] Addresses to listen on. Only accepts IP addresses
or localhost as a value.
--address=<value> [default: localhost] Addresses to listen on. Only accepts IP addresses or localhost as a
value.
--port=<value> The port to listen on for the address provided.
--target-port=<value> The target port for the service.
Expand All @@ -826,7 +825,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.37.1-rc.1/src/commands/port-forward.ts)_
_See code: [src/commands/port-forward.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/src/commands/port-forward.ts)_

## `architect register [COMPONENT]`

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

## `architect scale [SERVICE]`

Expand Down Expand Up @@ -899,7 +898,7 @@ EXAMPLES
$ architect scale api --component my-component --clear
```

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

## `architect secrets:download SECRETS_FILE`

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

## `architect secrets:upload SECRETS_FILE`

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

## `architect task COMPONENT TASK`

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

## `architect unlink [COMPONENTPATHORNAME]`

Expand All @@ -1025,5 +1024,5 @@ EXAMPLES
$ architect unlink -p mycomponent
```

_See code: [src/commands/unlink.ts](https://github.com/architect-team/architect-cli/blob/v1.37.1-rc.1/src/commands/unlink.ts)_
_See code: [src/commands/unlink.ts](https://github.com/architect-team/architect-cli/blob/v1.38.0-rc.1/src/commands/unlink.ts)_
<!-- commandsstop -->
1 change: 1 addition & 0 deletions architect-yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ An ingress exposes an interface to external network traffic through an architect
| `subdomain` | string \| [Expression](https://docs.architect.io/reference/contexts) | The subdomain that will be used if the interface is exposed externally. Use `subdomain: @` to target the base domain. | |
| `path` | string \| [Expression](https://docs.architect.io/reference/contexts) | The path of the interface used for path based routing | |
| `ip_whitelist` | Array&lt;string \| string&gt; \| [Expression](https://docs.architect.io/reference/contexts) | IP addresses that are allowed to access the interface | |
| `private` | boolean \| [Expression](https://docs.architect.io/reference/contexts) | Marks the ingress as private behind Architect authentication | |


## ScalingMetricsSpec
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.38.0-rc.1",
"version": "1.38.0-rc.2",
"author": "Architect.io",
"bin": {
"architect": "./bin/run"
Expand Down
Loading

0 comments on commit 6eb973e

Please sign in to comment.