Skip to content

Commit

Permalink
Update embedded_workflows.md
Browse files Browse the repository at this point in the history
I'm not sure on the spacing issues as I personally didn't add any of the rest of the content, only the updates to step 2 as requested for this particular issue. However, I've fixed the spacing regardless in both cases. Thanks!
  • Loading branch information
aileenjackson authored Nov 7, 2023
1 parent 9e293fe commit 4e7c20c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions managing_providers/_topics/embedded_workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,16 @@ Workflows must be authored in Amazon State Languages (ASL) format. As part of au

1. Define the code for the workflow. If your workflow requires the use of any credentials or parameters to be specified, ensure that they are passed in the code.

Within the workflow code, you need to specify the states that your workflow requires, including any next steps. For `Task` type steps in the workflow, a docker container is called. The container defines what happens for that Task state. For example, a docker container can run to clone a template. If your states require parameters or credentials, you can specify them in your state definitions.
Within the workflow code, you need to specify the states that your workflow requires, including any next steps. For `Task` type steps in the workflow, a docker container is called. The container defines what happens for that Task state. For example, a docker container can run to clone a template. If your states require parameters or credentials, you can specify them in your state definitions.

The workflow code must be in the Amazon States Language (ASL) format and follow its supported specifications. For more information about Amazon States Language and its specification, see [Amazon States Language Guide](https://states-language.net/).

2. Build the docker containers that are required for the workflow.

When you have the code for your task resource written, you need to bundle it into a docker image. You can bundle the code by creating a standard [Dockerfile](https://docs.docker.com/engine/reference/builder/) and building the image (https://docs.docker.com/engine/reference/commandline/build/). Then, you can push the image to a [registry](https://docs.docker.com/engine/reference/commandline/push/), which makes the image available to be used by {{ site.data.product.title_short }}. When you have pushed your images to an image registry, you can add the registry to {{ site.data.product.title_short }}.
When you have the code for your task resource written, you need to bundle it into a docker image. You can bundle the code by creating a standard [Dockerfile](https://docs.docker.com/engine/reference/builder/) and building the image (https://docs.docker.com/engine/reference/commandline/build/). Then, you can push the image to a [registry](https://docs.docker.com/engine/reference/commandline/push/), which makes the image available to be used by {{ site.data.product.title_short }}. When you have pushed your images to an image registry, you can add the registry to {{ site.data.product.title_short }}.

a) On appliances, `podman` is used to execute the container, so use [podman login](https://docs.podman.io/en/stable/markdown/podman-login.1.html) as the `manageiq` user.
a) On appliances, `podman` is used to execute the container
On appliances, `podman` is used to execute the container so use [podman login](https://docs.podman.io/en/stable/markdown/podman-login.1.html) as the `manageiq` user.

```
# su manageiq
Expand Down

0 comments on commit 4e7c20c

Please sign in to comment.