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

feature: targetable runners #2866

Closed
xiaolin-ninja opened this issue Dec 23, 2021 · 2 comments · Fixed by #2862, #3132, #3133 or #3145
Closed

feature: targetable runners #2866

xiaolin-ninja opened this issue Dec 23, 2021 · 2 comments · Fixed by #2862, #3132, #3133 or #3145
Labels
enhancement New feature or request
Milestone

Comments

@xiaolin-ninja
Copy link
Contributor

RFC

The user should be able to target runner profiles to specific remote runners, then configure projects and applications to use specific runner profiles.

This is useful for multi-environment workflows.

app "example-nodejs" {
  runner {
         profile = "dev"
  }

  build, deploy, release stanzas
}
@xiaolin-ninja xiaolin-ninja added this to the 0.7.0 milestone Dec 23, 2021
@xiaolin-ninja xiaolin-ninja added enhancement New feature or request and removed new labels Dec 23, 2021
@xiaolin-ninja xiaolin-ninja linked a pull request Dec 23, 2021 that will close this issue
2 tasks
@paladin-devops
Copy link
Contributor

@xiaolin-ninja really looking forward to this! Will it also be possible to configure env vars to be applied in the targetable runner? I use Nomad, but also have ACLs enabled, and I use Vault to create a Nomad ACL token with a short TTL to run my jobs and then expire. Passing a short-lived ACL token to the Nomad runner in the NOMAD_TOKEN env var would be great for keeping Nomad API access secure while also allowing Waypoint to do its job.

@xiaolin-ninja
Copy link
Contributor Author

@xiaolin-ninja really looking forward to this! Will it also be possible to configure env vars to be applied in the targetable runner? I use Nomad, but also have ACLs enabled, and I use Vault to create a Nomad ACL token with a short TTL to run my jobs and then expire. Passing a short-lived ACL token to the Nomad runner in the NOMAD_TOKEN env var would be great for keeping Nomad API access secure while also allowing Waypoint to do its job.

Hi @paladin-devops, this is an interesting idea! Currently there's env var configuration for runners, but sounds like you're describing dynamic configurations, like we have for applications, but for runners? We definitely want to explore this further, could you please open a feature request with more details and examples?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.