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

Allow steps/services to have same name #3109

Closed
qwerty287 opened this issue Jan 3, 2024 · 3 comments · Fixed by #3143
Closed

Allow steps/services to have same name #3109

qwerty287 opened this issue Jan 3, 2024 · 3 comments · Fixed by #3143
Labels
bug Something isn't working
Milestone

Comments

@qwerty287
Copy link
Contributor

See #3079

Services can't have names that steps have, also adding another step clone does not work.

I think we can also disallow this but then we should add a linter for it.

@qwerty287 qwerty287 added the enhancement improve existing features label Jan 3, 2024
@6543
Copy link
Member

6543 commented Jan 4, 2024

No woodpecker should just handle it!

We use uuid's for all steps internaly so equal names should not have any impact

@6543
Copy link
Member

6543 commented Jan 4, 2024

(So i considder it a bug)

@6543 6543 added the bug Something isn't working label Jan 4, 2024
@qwerty287 qwerty287 removed the enhancement improve existing features label Jan 4, 2024
@qwerty287 qwerty287 added this to the 2.2.0 milestone Jan 4, 2024
@6543
Copy link
Member

6543 commented Jan 9, 2024

found it finally: #3143

tested with docker backend and config:

steps:
    wait:
        image: "bash"
        commands:
            - "echo type: step"
            - "sleep 10s"
            - "echo hihi step"
            - "sleep 30s"

services:
    wait:
        image: "bash"
        commands:
            - "echo type: service"
            - "sleep 10s"
            - "echo hihi service"
            - "sleep 30s"

6543 added a commit that referenced this issue Jan 9, 2024
@6543 6543 closed this as completed in #3143 Jan 9, 2024
6543 added a commit that referenced this issue Jan 9, 2024
close #3109

~~also fix start time of steps to be set correctly~~ edgecase do not hit
anymore as we have a clear sepperation between workflows and steps now
:)

---------

Co-authored-by: Anbraten <anton@ju60.de>
fernandrone pushed a commit to quintoandar/woodpecker that referenced this issue Feb 1, 2024
fernandrone pushed a commit to quintoandar/woodpecker that referenced this issue Feb 1, 2024
close woodpecker-ci#3109

~~also fix start time of steps to be set correctly~~ edgecase do not hit
anymore as we have a clear sepperation between workflows and steps now
:)

---------

Co-authored-by: Anbraten <anton@ju60.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants