doc: Update README for upgrade and rebase commands
This commit is contained in:
parent
e2608b93ed
commit
0573cc1d9b
1 changed files with 16 additions and 2 deletions
18
README.md
18
README.md
|
|
@ -53,12 +53,26 @@ This will template out the file and build with `buildah` or `podman`.
|
|||
|
||||
#### Local Builds
|
||||
|
||||
If you want to test your changes, you can do so by using the `--rebase` argument. This will create an image as a `.tar.gz` file, store it in `/etc/blue-build`, an run `rpm-ostree rebase` on that newly built file.
|
||||
##### Rebase
|
||||
|
||||
If you want to test your changes, you can do so by using the `rebase` command. This will create an image as a `.tar.gz` file, store it in `/etc/blue-build`, an run `rpm-ostree rebase` on that newly built file.
|
||||
|
||||
```bash
|
||||
sudo bb build --rebase config/recipe.yml
|
||||
sudo bb rebase config/recipe.yml
|
||||
```
|
||||
|
||||
You can initiate an immediate restart by adding the `--reboot/-r` option.
|
||||
|
||||
##### Upgrade
|
||||
|
||||
When you've rebased onto a local image archive, you can update your image for your recipe by running:
|
||||
|
||||
```bash
|
||||
sudo bb upgrade config/recipe.yml
|
||||
```
|
||||
|
||||
The `--reboot` argument can be used with this command as well.
|
||||
|
||||
#### CI Builds
|
||||
|
||||
If you're running in Gitlab CI, it will automatically sign your image using Gitlab's own OIDC service. Here's an example of a `.gitlab-ci.yaml`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue