Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

chaining Steps together #4

Closed
frantjc opened this issue Dec 11, 2021 · 0 comments
Closed

chaining Steps together #4

frantjc opened this issue Dec 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@frantjc
Copy link
Owner

frantjc commented Dec 11, 2021

some sequence steps such as concourse resources and the action-git-cloning portion of a uses step need to relay information back to sequence.

the uses step specifically will need to do this to dynamically run containers depending on what it finds. to achieve this, the step will emit json on stdout that looks something like

{
  "step": {
    "image": "alpine",
    "entrypoint": [...],
    "cmd": [...]
  }
}

sequence's runtime.Run functions should anticipate which containers it runs will do this and parse stdout from such containers, returning the parsed response. sequence should then check the response for a step and, if its present, run that step immediately

@frantjc frantjc added the enhancement New feature or request label Dec 11, 2021
@frantjc frantjc mentioned this issue Dec 11, 2021
@frantjc frantjc closed this as completed Jan 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant