edgexfoundry / edgexfoundry/ci-management

Add new Ubuntu based Jenkins build node for x86_64 builds

Open
#619 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1-low enhancement hanoi phase 3
Dominant language
Shell
Stars
11
Forks
34
PR merge metrics
No merged PRs in 30d

Description

So in jjb/ci-management/packer.yaml, you'd just need to add ubuntu-18.04 to the platforms list for packer-docker-jobs.

That will cause the image to build. Once the image is built, in jenkins-config/clouds/openstack/Primary you'd add a new cfg file that points to this newly-built image, and specifies the hardware_id to run on.

That's pretty much it. The label is automatically created based on the cfg file's name. So if you added ubuntu18.04-docker-4c-2g.cfg, you'd just switch your jobs from running on centos7-docker-4c-2g nodes to ubuntu18.04-docker-4c-2g, and that'd be it. It's a three step process, but each step is pretty straightforward.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in jjb/ci-management/packer.yaml and add ubuntu-18.04 to the platforms list for packer-docker-jobs, then verify that the image builds. Next inspect jenkins-config/clouds/openstack/Primary, add a cfg file for the image with its hardware_id, and confirm jobs can use the generated label instead of the CentOS node label.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, linux, ubuntu
Domain
ci-cd, devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.