You can set up and view repository configurations in the SourceCraft interface under Repository settings in the Configurations section. For more information, see Setting up repository configurations as code.
Add the .sourcecraft/.gitlab-ci.yaml file with your GitLab pipeline contents to the repository main branch.
Example of a GitLab pipeilne, .gilab-ci.yaml
build-job:stage:buildscript:-echo"Hello, GitLab CI/CD!"test-job1:stage:testscript:-echo"This job tests something"test-job2:stage:testscript:-echo"This job tests something, but takes more time than test-job1."-echo"After the echo commands complete, it runs the sleep command for 20 seconds"-echo"which simulates a test that runs 20 seconds longer than test-job1"-sleep20deploy-prod:stage:deployscript:-echo"This job deploys something."