Skip to content

feat: Add Env Vars to Runners#4789

Merged
shiroyasha merged 2 commits into
mainfrom
feat/add-env-vars-to-runners
May 15, 2026
Merged

feat: Add Env Vars to Runners#4789
shiroyasha merged 2 commits into
mainfrom
feat/add-env-vars-to-runners

Conversation

@andrecalil
Copy link
Copy Markdown
Collaborator

WIP

@superplanehq-integration
Copy link
Copy Markdown

👋 Commands for maintainers:

  • /sp start - Start an ephemeral machine (takes ~30s)
  • /sp stop - Stop a running machine (auto-executed on pr close)

Comment on lines +101 to +109
value, err := secrets.GetKey(variable.Secret.Secret, variable.Secret.Key)
if err != nil {
return nil, fmt.Errorf("failed to resolve environment variable %s secret %s/%s: %w", name, variable.Secret.Secret, variable.Secret.Key, err)
}

resolved = append(resolved, BrokerEnvironmentVariable{
Name: name,
Value: string(value),
})
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ok a temporary solution, but we will need to figure out a way to make this encrypted e2e down to the runner.

Lets create an issue for this to track progress.

Signed-off-by: André Calil <andre@calil.com.br>
@andrecalil andrecalil force-pushed the feat/add-env-vars-to-runners branch from 343a74f to 47561d8 Compare May 15, 2026 12:48
@shiroyasha shiroyasha marked this pull request as ready for review May 15, 2026 15:01
@shiroyasha shiroyasha merged commit 5ed1aea into main May 15, 2026
4 checks passed
@shiroyasha shiroyasha deleted the feat/add-env-vars-to-runners branch May 15, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants