harbor run -t openthoughts/tasktrove-exp-rpt-stack-dockerfile-gpt5mini-v3-stack-dockerfile-gpt4o-8248harbor download openthoughts/tasktrove-exp-rpt-stack-dockerfile-gpt5mini-v3-stack-dockerfile-gpt4o-8248Create a small Ruby command-line utility project (placed in /app/) that parses a GitLab CI configuration file (.gitlab-ci.yml) and produces a concise, human- and machine-readable summary of the pipeline.
Requirements
Example expected behavior (plain text) Given samples/simple.yml: stages: - build - test - deploy
build-job: stage: build script: - echo "building"
unit-tests: stage: test script: echo "running tests" tags: - docker
deploy-job: stage: deploy script: - echo "deploying" image: ruby:2.6
Running: cd /app bundle install bundle exec ruby bin/gitlab_ci_summary --file samples/simple.yml
Should print something like: Total jobs: 3 Stages (3): build, test, deploy
Stage: build - build-job: echo "building" Stage: test - unit-tests: echo "running tests" (tags: docker) Stage: deploy - deploy-job: echo "deploying" (image: ruby:2.6)
Running: bundle exec ruby bin/gitlab_ci_summary --file samples/simple.yml --json Should print a compact JSON object with the total_jobs, stages array and jobs array (ordered arbitrarily or grouped by stage).
Place your completed project files in /app/.