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

Implement needs[].parallel.matrix #843

Open
firecow opened this issue May 3, 2023 · 1 comment · May be fixed by #845
Open

Implement needs[].parallel.matrix #843

firecow opened this issue May 3, 2023 · 1 comment · May be fixed by #845
Labels
feature Feature missing according to gitlab ci standard

Comments

@firecow
Copy link
Owner

firecow commented May 3, 2023

https://gitlab.com/gitlab-org/gitlab/-/issues/254821 Is in release candidate.
This is looking like, what gitlab.com wants to implement.

test:
  needs:
    - job: build
      parallel:
        matrix:
          - PLATFORM: ubuntu
            STACK: [ruby, python]

# depends on build[ubuntu, ruby] and build[ubuntu, python]
test:
  needs:
    - job: build
      parallel:
        matrix:
          - PLATFORM: ubuntu

# depends on build[ubuntu, *]
test:
  needs:
    - job: build
      parallel:
        matrix:
          - PLATFORM: ubuntu
            STACK: []

# depends on build[ubuntu]
@firecow firecow added the feature Feature missing according to gitlab ci standard label May 3, 2023
@firecow firecow changed the title Allow needs to use the parallel keyword Implement needs[].parallel.matrix May 4, 2023
@firecow firecow linked a pull request May 6, 2023 that will close this issue
4 tasks
@firecow
Copy link
Owner Author

firecow commented Sep 14, 2023

https://docs.gitlab.com/ee/ci/yaml/#needsparallelmatrix Here's the syntax that needs to be supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature missing according to gitlab ci standard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant