2024 Sep 28 4:31 AM - edited 2024 Sep 28 4:34 AM
I have a full stack multi-tenant project. This repository has two MTA's. One is for the CAP related artifacts which is in the root directory. The other is inside the app folder which holds the artifacts related to the frontend(UI5).
Now I need to setup my pipeline in BTP CICD. I added the github repository and tried to create a job.
Herein I understood, if I select buildtool as mta, it searches for mta.yaml file in the root directory of repository.
The thing is I need to setup two jobs one should pick mta in root directory and deploy in provider subaccount and other should pick mta from app folder and deploy it in subscriber subaccount.
Is there any other option which we can set in config.yaml file inside .pipeline folder which will override the default mta.yaml filepath or atleast set the mta file name like mta-ui.yaml ??
@Nikitha09
or is there any other way to achieve this?
Request clarification before answering.
@Nikitha09 @gregorw Do you have a sample where I can have multiple jobs defined in single config.yml file ?
idea is to generate 2 mtars in one pipeline and deploy them to different cf spaces . I tried few options and none worked,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, that does not work. In the CICD UI, instead, you could define 2 jobs, each pointing to their respective .pipeline/config.yaml configuration.
Thanks and Regards,
Nikitha
Unfortunately, that usecase is not yet supported by the cicd service. Sorry for the inconvenience.
Thanks and Regards,
Nikitha
User | Count |
---|---|
74 | |
30 | |
9 | |
7 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.