Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.11 KB

new_stemcell_line.md

File metadata and controls

30 lines (18 loc) · 1.11 KB

Creating a new stemcell line

  1. Create a new branch from the passing commit you want to release from. Use {os_name}-{os_version}/{major}.x format for branch name (e.g. ubuntu-xenial/1.x).

    git checkout -b <<BRANCH_NAME>> {commit}

  2. Add, commit, and push the new branch.

    git push origin <<BRANCH_NAME>>
    
  3. Switch back to master branch

    git checkout master
    
  4. On master, update ci/{os_name}-{os_version}/configure-aggregated-pipeline.sh with the new branch details using the previous release branch as an example. Specifically, be sure to update the interpolated variables for the correct branch. For initial_version, use the same value of the stemcell produced by the commit in the master pipeline (e.g. 2.0.0).

    ./ci/{os_name}-{os_version}/configure-aggregated-pipeline.sh
    
  5. Once configured, the stemcell should automatically trigger and create the next minor version of the stemcell (e.g. 2.1.0).

References