Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dag suggestions #5

Merged
merged 10 commits into from
Dec 24, 2023
Merged

Dag suggestions #5

merged 10 commits into from
Dec 24, 2023

Conversation

6543
Copy link

@6543 6543 commented Dec 22, 2023

suggestions for woodpecker-ci#2771

curGroup = s.group

curStage = new(backend_types.Stage)
curStage.Name = fmt.Sprintf("%s_stage_%v", c.prefix, s.position)
Copy link
Owner

Choose a reason for hiding this comment

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

Actually pretty interesting that it uses the container position and not the for example len(stages) for the index.

Copy link
Author

Choose a reason for hiding this comment

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

Yes i keept it as is and did not refactor the alg. we can do that later once we released 2.1.0

pipeline/frontend/yaml/compiler/dag.go Outdated Show resolved Hide resolved
pipeline/frontend/yaml/compiler/dag.go Outdated Show resolved Hide resolved
@6543
Copy link
Author

6543 commented Dec 24, 2023

@anbraten you have to merge it :)

oh no right I can push to the pull branch :)

@6543 6543 merged commit 05f2b1b into anbraten:dag Dec 24, 2023
@6543 6543 deleted the dag_suggestions branch December 24, 2023 10:12
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