Skip to content

Commit

Permalink
Add RELEASE.md integration and release testing doc
Browse files Browse the repository at this point in the history
The intent is for us to have a uniform and rigorous release testing
process to minimise the chances of bad releases sneaking into production.

Also add `solbuild` to .gitignore

Signed-off-by: Rune Morling <[email protected]>

Co-authored-by: Silke Hofstra <[email protected]>
  • Loading branch information
ermo and silkeh committed Feb 29, 2024
1 parent 9d53d40 commit 931ebf4
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/bin/
/pkg/
solbuild
70 changes: 70 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
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:
```
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.

- 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 zlib*.eopkg /var/lib/solbuild/local/
```

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

- Build the test set of packages:
```
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.

0 comments on commit 931ebf4

Please sign in to comment.