Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-2339

Update vanagon PR testing CI to use platform-ci-utils to find agents/runtimes


    • Template:
    • Acceptance Criteria:
      • Ruby functionality for finding agent/server/runtime branches exists in platform-ci-utils rather than CJC
    • Team:
      Night's Watch
    • QA Risk Assessment:
      Needs Assessment


      Currently, the PR testing functionality leverages bash and a ruby script to do things like find which project a runtime corresponds to or which master/agent combo a component PR test will need.

      Some examples:

      • Runtime PR testing CI runs the runtime-targets.rb script here to find what project should be running with the targeted
      • Agent component PR testing CI uses a function from vanagon-helpers.sh on this line to run the vanagon-find-agent.sh script to identify which branches of the agent/server to use based on the branch of the component.

      Instead of trying to use ruby scripts and bash, we should move all of this functionality to platform-ci-utils and leverage that rubygem to perform these tasks.

      For the most part the scope of this ticket should remain in moving the ruby scripts out of ci-job-configs and in to platform-ci-utils.

      If we find issues with those scripts we should also fix them.




            • Assignee:
              sean.mcdonald Sean McDonald
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created:

                Zendesk Support