Skip to content

Commit

Permalink
does adding deploymentid make it work?
Browse files Browse the repository at this point in the history
  • Loading branch information
smonero committed Apr 19, 2024
1 parent 6973870 commit e472942
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/neptune/adhoc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,13 @@ func NewServer(config *adhocconfig.Config) (*Server, error) {
// when a request is made to the server, but we are manually executing it here,
// since we don't care about requests in adhoc mode.
func (s Server) manuallyExecuteTerraformWorkflow(repo ghClient.Repo, revision string, root terraform.Root) (interface{}, error) {
deploymentIDStr := revision + "-" + root.Name + "-" + repo.Name
request := workflows.TerraformRequest{
Revision: revision,
WorkflowMode: terraform.Adhoc,
Root: root,
Repo: repo,
DeploymentID: deploymentIDStr,
}
options := client.StartWorkflowOptions{
TaskQueue: s.TerraformTaskQueue,
Expand Down

0 comments on commit e472942

Please sign in to comment.