Orchestrator pattern @francispotter
I have a main project that has dependencies from other projects say project A and project B. I want to trigger those dependencies to build in their respective repos and then fetch those artifacts in the main repo and build the main project.
What are you seeing, and how does that differ from what you expect to see?
I get an error saying: The job could not start because it could not retrieve the needed artifacts.
What version are you on? Are you using self-managed or GitLab.com?
Gitlab self managed version 15.3 Ultimate Tier
*Add the CI configuration from
.gitlab-ci.ymland other configuration if relevant
main .gitlab-ci.yml file:
stages: - bridge - build bridge-to-projectA: stage: bridge trigger: project: project/A branch: main strategy: depend get-artifacts: stage: build needs: - project: project/A job: build-A artifacts: true tags: - myrunnertag
project A .gitlab-ci.yml file
stages: - build build-A: stage: build script: - echo "This is my artifact" >> tmp.txt artifacts: paths: - tmp.txt
- What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
Thanks for taking the time to be thorough in your request, it really helps!