Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
chore: removing task to use session term
Browse files Browse the repository at this point in the history
Signed-off-by: carolina valencia <krol3@users.noreply.github.com>
  • Loading branch information
krol3 committed May 29, 2023
1 parent a979e53 commit 3c8b5f4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/connections/ecs-exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ slug: /connections/ecs-exec

# AWS ECS

Interact with Elastic Container Service executing one off tasks or an interactive session into ECS tasks/containers.
Interact with Elastic Container Service executing one off sessions into ECS tasks/containers.

:::info note
It's important to configure the ECS tasks before trying this feature, please refer to the [AWS documentation first](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html)
Expand Down Expand Up @@ -45,7 +45,7 @@ hoop connect my-ecs -- --pipe 'rails console'
hoop connect my-ecs -- --pipe clojure
```

## AWS ECS - Execute one task off
## AWS ECS - Execute one session off

### Connection Command

Expand Down
2 changes: 1 addition & 1 deletion docs/connections/heroku-oneoff.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ slug: /connections/heroku-oneoff

import ConnectOnHoopButton from './../../src/components/ConnectOnHoopButton';

# Heroku execute task one-off
# Heroku execute session one-off

<ConnectOnHoopButton url='https://app.hoop.dev/connections/command-line/new?data=ewogICAgIm5hbWUiOiJteS1oZXJva3Utb25lLW9mZiIsCiAgICAidHlwZSI6ImNvbW1hbmQtbGluZSIsCiAgICAiaWNvbl9uYW1lIjogImhlcm9rdSIsCiAgICAic2VjcmV0IjogewogICAgICAgICJlbnZ2YXI6SEVST0tVX0FQSV9LRVkiOiIiCiAgICB9LAogICAgImNvbW1hbmQiOiBbIi9hcHAvYmluL2hlcm9rdSIsICJydW4iLCAiLS1leGl0LWNvZGUiXQp9' />

Expand Down
2 changes: 1 addition & 1 deletion docs/connections/ssh-bastion.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ slug: /connections/bastion

# Bastion Server | ssh cli

Hoop could act as a bastion server and connect into ssh hosts to allow execution of one-off tasks or opening interactive sessions.
Hoop could act as a bastion server and connect into ssh hosts to allow execution of one-off sessions.

## Connection Configuration

Expand Down
4 changes: 2 additions & 2 deletions docs/plugins/review.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The command below asks for a 10 minutes access to the connection `bash`

```shell
$ hoop connect bash --duration 10m
⣷ waiting task to be approved at https://app.hoop.dev/plugins/reviews/73a28154-58...
⣷ waiting session to be approved at https://app.hoop.dev/plugins/reviews/73a28154-58...
```

After approved, the user could connect again without prompting for review during 10 minutes.
Expand All @@ -34,7 +34,7 @@ It will ask for a review every time a command is issued.

```shell
$ hoop exec bash -i 'ls -l'
⣷ waiting task to be approved at https://app.hoop.dev/plugins/reviews/73a28154-58...
⣷ waiting session to be approved at https://app.hoop.dev/plugins/reviews/73a28154-58...
```

## Configuring
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/runbooks/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ myvar = {{ .color
### asenv function

The `asenv` function allows defining inputs and mapping then as environment variables in the connection runtime.
Instead of injecting the value as an input directly to the template, it will gather the value and inject as an environment variable when executing the task.
Instead of injecting the value as an input directly to the template, it will gather the value and inject as an environment variable when executing the session.

The inputs could be just defined in a comment in the template, examples:

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/heroku-exec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ EOF

## Conclusion

The auditing sessions and tasks could be viewed at **https://app.hoop.dev/plugins/audit**
The auditing sessions and connections could be viewed at **https://app.hoop.dev/plugins/audit**

Hoop can wrap any heroku command giving more control, auditing features, redact sensitive content without losing local developer experience.

0 comments on commit 3c8b5f4

Please sign in to comment.