Stages : - build - test build-code-job : stage : build script : - echo "Check the ruby version, then build some Ruby project files:" - ruby -v - rake test-code-job1 : stage : test script : - echo "If the files are built successfully, test some files with one command:" - rake test1 test-code-job2 : stage : test script : - echo "If the files are built successfully, test other files with a different command:" - rake test2 Repository, GitLab detects it and an application called GitLab Runner The scripts you add to jobs are the same as CLI commands you run on your computer. You should organize your jobs in a sequence that suits your application and is in accordance with The CI/CD configuration needs at least one job that is not hidden. You can group multiple independent jobs into stages that run in a defined order. The scripts are grouped into jobs, and jobs run as part of a larger Whether you want to run the scripts automatically or trigger any of them manually.The location to deploy your application to. The commands you want to run in sequence and those you want to run in parallel.Other configuration files and templates you want to include.gitlab-ci.yml in the root of your repository, which Application code hosted in a Git repository.
0 Comments
Leave a Reply. |