Skip to content

Commit ac8ca32

Browse files
committed
Docs: Update new stemcell line instructions
1 parent 7e075fd commit ac8ca32

1 file changed

Lines changed: 24 additions & 17 deletions

File tree

docs/new_stemcell_line.md

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,37 @@
11
# Creating a new stemcell line
22

3-
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-jammy/1.x`).
3+
1. Create a new branch from the passing commit you want to release from. Use `ubuntu-${short_name}` format for branch name.
44

5-
`git checkout -b <<BRANCH_NAME>> {commit}`
5+
```shell
6+
export short_name="jammy"
7+
8+
git switch -c ubuntu-${short_name} {commit}`
9+
```
610

7-
1. Add, commit, and push the new branch.
11+
2. Add, commit, and push the new branch.
812

13+
```shell
14+
git push --set-upstream origin HEAD
915
```
10-
git push origin <<BRANCH_NAME>>
11-
```
12-
13-
1. Switch back to master branch
16+
3. Update `ci/pipelines/vars.yml` with the appropriate values
1417

18+
```yaml
19+
#@data/values
20+
oss:
21+
- os: ubuntu-jammy
22+
# ...
1523
```
16-
git checkout master
17-
```
18-
19-
1. 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`).
2024

25+
4. Update `STEMCELL_LINE` in `ci/configure.sh`:
26+
27+
```shell
28+
STEMCELL_LINE="ubuntu-${short_name}"
2129
```
22-
./ci/{os_name}-{os_version}/configure-aggregated-pipeline.sh
23-
```
24-
25-
1. Once configured, the stemcell should automatically trigger and create the next minor version of the stemcell (e.g. `2.1.0`).
2630

31+
5. Configure the new pipeline:
2732

28-
# References
33+
```shell
34+
./ci/configure.sh
35+
```
2936

30-
* [Stemcell Support Matrix](https://docs.google.com/spreadsheets/d/11LgvmuR-XxXpKB-UVi91FL0nkITGhoB-G1NHPwfnweo/edit) (internal only)
37+
6. Once configured, the stemcell pipeline should automatically trigger.

0 commit comments

Comments
 (0)