Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RELEASE.md integration and release testing doc #78

Merged
merged 2 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/bin/
/pkg/
solbuild
72 changes: 72 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Solbuild Release Engineering Checklist

Perform the following steps after tagging the Solbuild release in order to verify that it introduces no major regressions:

- Build and install a local update of the solbuild package corresponding to the newly tagged release:
```
gotosoluspkgs
gotopkg solbuild
yupdate X.Y.Z https://github.com/getsolus/solbuild/archive/refs/tags/vX.Y.Z.tar.gz
go-task
sudo eopkg it *.eopkg
```

- Ensure the version number is correct:
```
solbuild version
```
Verify that this shows the correct version number.

- Delete cache and existing solbuild images:
```
sudo solbuild dc -dai
```

- Initialise unstable profile:
```
sudo solbuild init -du
```
Verify that this uses the unstable profile and shows debug output.

- Initialise Shannon profile:
```
sudo solbuild init -nup main-x86_64
```
Verify that this shows non-colored output.

- Delete local repo:
```
sudo rm -rvf /var/lib/solbuild/local/*
```
- Build `zlib` against stable without colored output:
```
gotosoluspkgs
gotopkg zlib
sudo solbuild build -n -p main-x86_64 > zlib-stable.log
```
Verify that this shows non-colored output.

- Chroot into the build environment:
```
sudo solbuild -d -n chroot -p main-x86_64
```
- Build zlib against unstable and copy to local repo:
```
sudo solbuild build -d
sudo cp -v zlib*.eopkg /var/lib/solbuild/local/
```

- Index the local repo:
```
sudo solbuild index -d /var/lib/solbuild/local/
```

- Build the recommended test set of packages, which exercises problematic SourceForget URIs and git submodule functionality:
```
for p in android-tools giflib glew zsh
do
sudo solbuild build >> /tmp/builds.log
done
```

If all of the above completes successfully, proceed to `go-task publish` the Solbuild update.