Skip to content

feat: Run job using system exec#39

Open
Ashish-devtron wants to merge 15 commits into
mainfrom
run-job-using-system-exec
Open

feat: Run job using system exec#39
Ashish-devtron wants to merge 15 commits into
mainfrom
run-job-using-system-exec

Conversation

@Ashish-devtron

Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +171 to +172
clusterCfg := &ClusterConfig{}
err = env.Parse(clusterCfg)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

let's do this once for both ci and cd informer

clusterCfg := &ClusterConfig{}
err = env.Parse(clusterCfg)
if clusterCfg.ClusterType == ClusterTypeAll && !externalCD.External {
startSystemWorkflowInformer(logger)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is being called two times and why externalCD.External

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